🧩 优化脚本存放路径
This commit is contained in:
parent
a16e9ab3bf
commit
d3cf7fb8cb
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
小影 解锁高级功能
|
||||
|
||||
***************************
|
||||
QuantumultX:
|
||||
|
||||
[rewrite_local]
|
||||
^https:\/\/(xy-viva\.kakalili|api-chn.rthdo)\.com\/api\/rest\/u\/vipVerifyReceipt url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/Surge/JS/vivavideo.js
|
||||
|
||||
[mitm]
|
||||
hostname = xy-viva.kakalili.com, api-chn.rthdo.com
|
||||
|
||||
**************************/
|
||||
|
||||
let obj;
|
||||
obj = {
|
||||
"autoRenewProductId": "premium_platinum_yearly",
|
||||
"iosDeviceProductVo": {
|
||||
"premiumVipWeekly": 3,
|
||||
"premiumGoldMonthly": 3,
|
||||
"premiumPlatinumMonthly": 3,
|
||||
"premiumGoldYearly": 3,
|
||||
"premiumPlatinumYearly": 2,
|
||||
"premiumPlatinumHalfYearly": 3,
|
||||
"premiumVipYearly": 3
|
||||
},
|
||||
"isTrialPeriod": true,
|
||||
"endTime": 4081109070000,
|
||||
"platform": 2,
|
||||
"vipType": "premium_platinum_yearly",
|
||||
"duidDgest": "DIIe86X35",
|
||||
"autoRenewStatus": 1,
|
||||
"startTime": 1556241871000,
|
||||
"systemDate": 1556965441014
|
||||
};
|
||||
|
||||
$done({body: JSON.stringify(obj)});
|
|
@ -0,0 +1,44 @@
|
|||
/*
|
||||
香蕉视频 解锁部分观看限制
|
||||
官网: https://www.aa2.app
|
||||
|
||||
***************************
|
||||
QuantumultX:
|
||||
|
||||
[rewrite_local]
|
||||
^https?:\/\/.+?\.(pipi|fuli|xiang(jiao|xiang))apps\.com\/(ucp\/index|getGlobalData|(\/|)vod\/reqplay\/) url script-response-body https://raw.githubusercontent.com/NobyDa/Script/master/QuantumultX/File/xjsp.js
|
||||
|
||||
[mitm]
|
||||
hostname = ios.fuliapps.com, apple.fuliapps.com, ios.xiangjiaoapps.com, apple.xiangjiaoapps.com, *.xiangxiangapps.com, *.pipiapps.com
|
||||
**************************/
|
||||
|
||||
let body = $response.body;
|
||||
let url = $request.url;
|
||||
|
||||
if (body) {
|
||||
let obj = JSON.parse($response.body);
|
||||
if (/\/ucp\/index/.test(url) && obj.data) {
|
||||
obj.data.uinfo.minivod_play_daily_remainders = "666";
|
||||
obj.data.uinfo.minivod_down_daily_remainders = "666";
|
||||
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.gicon = "V5";
|
||||
obj.data.user.gid = "5";
|
||||
}
|
||||
if (/\/getGlobalData/.test(url) && obj.data) {
|
||||
obj.data.app_launch_times_adshow = "0";
|
||||
obj.data.adgroups = "";
|
||||
obj.data.iOS_adgroups = "";
|
||||
}
|
||||
if (/\/reqplay\//.test(url) && obj.data) {
|
||||
obj.retcode = "0";
|
||||
if (obj.data.hasOwnProperty("httpurl_preview")) {
|
||||
obj.data["httpurl"] = obj.data["httpurl_preview"];
|
||||
}
|
||||
}
|
||||
$done({ body: JSON.stringify(obj) });
|
||||
} else {
|
||||
$done({})
|
||||
}
|
Loading…
Reference in New Issue