mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-27 19:08:26 +08:00
24 lines
717 B
JavaScript
24 lines
717 B
JavaScript
/*
|
||
看漫画极速版 unlock vip, currently off the shelf
|
||
|
||
QX:
|
||
^https?:\/\/getuserinfo\.321mh\.com\/app_api\/v5\/getuserinfo\/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/kmh.js
|
||
|
||
Surge4:
|
||
http-response ^https?:\/\/getuserinfo\.321mh\.com\/app_api\/v5\/getuserinfo\/ requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/kmh.js
|
||
|
||
Surge & QX MITM = getuserinfo.321mh.com
|
||
*/
|
||
|
||
var body = $response.body;
|
||
var url = $request.url;
|
||
const path = "/app_api/v5/getuserinfo/";
|
||
let obj = JSON.parse(body);
|
||
if (url.indexOf(path) != -1) {
|
||
obj["isvip"] = "1";
|
||
body = JSON.stringify(obj);
|
||
}
|
||
$done({body});
|
||
|
||
// From HoGer
|