Script/Surge/JS/gyroscope.js

14 lines
558 B
JavaScript
Raw Normal View History

2019-09-25 12:04:39 +08:00
/*
Gyroscope unlock pro (Script author: @Maasea )
Surge:
http-response ^https:\/\/api\.gyrosco\.pe\/v1\/account\/$ requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/gyroscope.js
QuantumultX:
^https:\/\/api\.gyrosco\.pe\/v1\/account\/$ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/gyroscope.js
QX & Surge MITM = api.gyrosco.pe
*/
let obj = JSON.parse($response.body);
2019-09-27 18:31:04 +08:00
obj.user["active_until_time"] = "2099-01-01T00:00:00Z";
2019-09-25 12:04:39 +08:00
$done({body: JSON.stringify(obj)});