Script/QuantumultX/File/wnyd.js

19 lines
590 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
Netease snail reading unlock vip
By yxiaocai & JO2EY
QX:
^https?:\/\/p\.du\.163\.com\/gain\/readtime\/info\.json url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/wnyd.js
Surge4
http-response ^https?:\/\/p\.du\.163\.com\/gain\/readtime\/info\.json requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/wnyd.js
Surge & QX MITM = p.du.163.com
*/
var body = $response.body;
var obj = JSON.parse(body);
obj.tradeEndTime = 1679685290000;
body = JSON.stringify(obj);
$done({body});