Add Splice app unlock pro script.

This commit is contained in:
humingxNobyDaconfig --global user.email 53217160+NobyDa@users.noreply.github.comssh-keygen -t rsa -C humingx@yeah.nethumingx@yeah.net 2019-12-09 22:24:54 +08:00
parent 0c2534db47
commit 4e55addc30
1 changed files with 16 additions and 0 deletions

16
Surge/JS/Splice.js Normal file
View File

@ -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)});