From 4e55addc300728af9daf6afe65ee53e976ecf651 Mon Sep 17 00:00:00 2001 From: "humingxNobyDaconfig --global user.email 53217160+NobyDa@users.noreply.github.comssh-keygen -t rsa -C humingx@yeah.nethumingx@yeah.net" <53217160+NobyDa@users.noreply.github.com> Date: Mon, 9 Dec 2019 22:24:54 +0800 Subject: [PATCH] Add Splice app unlock pro script. --- Surge/JS/Splice.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 Surge/JS/Splice.js diff --git a/Surge/JS/Splice.js b/Surge/JS/Splice.js new file mode 100644 index 0000000..6490b54 --- /dev/null +++ b/Surge/JS/Splice.js @@ -0,0 +1,16 @@ +/* +Splice app unlock pro. + +Surge4.0: +http-response https:\/\/splice\.oracle\.\w+\.com\/devices\/me requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Splice.js + +QX 1.0.0: +https:\/\/splice\.oracle\.\w+\.com\/devices\/me url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/Splice.js + +Surge & QX Mitm = splice.oracle.*.com +*/ + +var obj = JSON.parse($response.body); +obj['will_renew_subscription'] = true; +obj['is_subscribed'] = true; +$done({body: JSON.stringify(obj)}); \ No newline at end of file