mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-30 04:18:28 +08:00
51 lines
1.5 KiB
JavaScript
51 lines
1.5 KiB
JavaScript
/*
|
||
Banana video unlock vip
|
||
app download link : http://tinyurl.com/y57j6hjg
|
||
|
||
QX:
|
||
^https?:\/\/(ios|apple)\.fuliapps\.com\/ url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js
|
||
|
||
Surge4:
|
||
http-response ^https?:\/\/(ios|apple)\.fuliapps\.com\/ requires-body=1,max-size=0,script-path=https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js
|
||
|
||
Surge & QX MITM = *.fuliapps.com
|
||
*/
|
||
|
||
var body = $response.body;
|
||
var url = $request.url;
|
||
const path1 = "/ucp/index";
|
||
const path2 = "/getGlobalData";
|
||
const path3 = "/vod/reqplay/"
|
||
if (url.indexOf(path1) != -1){
|
||
let obj = JSON.parse(body);
|
||
obj.data.uinfo.down_daily_remainders = "666";
|
||
obj.data.uinfo.play_daily_remainders = "666";
|
||
obj.data.uinfo["next_upgrade_need"] = "0";
|
||
obj.data.user.isvip = "1";
|
||
obj.data.user.nickname = "Meeta_share";
|
||
obj.data.user.gicon = "V5";
|
||
obj.data.user.gid = "5";
|
||
obj.data.user.avatar = "https://s2.ax1x.com/2019/07/11/ZRNrbq.th.jpg";
|
||
body = JSON.stringify(obj);
|
||
}
|
||
|
||
if (url.indexOf(path2) != -1){
|
||
let obj = JSON.parse(body);
|
||
obj.data.app_launch_times_adshow = "0";
|
||
obj.data.adgroups = "";
|
||
obj.data.iOS_adgroups ="";
|
||
body = JSON.stringify(obj);
|
||
}
|
||
if (url.indexOf(path3) != -1){
|
||
let obj = JSON.parse(body);
|
||
obj.retcode = "0";
|
||
if(obj.data.hasOwnProperty("httpurl_preview")){
|
||
var playurl = obj.data["httpurl_preview"];
|
||
obj.data["httpurl"] = playurl;
|
||
};
|
||
body = JSON.stringify(obj);
|
||
}
|
||
$done({body});
|
||
|
||
//(Made by Meeta)
|