-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathJavDB.js
39 lines (30 loc) · 1.07 KB
/
JavDB.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
/*************************************
项目名称:JavDB-去广告
下载地址:https://javdb008.com
脚本作者:chxm1023
电报频道:https://t.me/chxm1023
使用声明:⚠️仅供参考,🈲转载与售卖!
**************************************
[rewrite_local]
^https?:\/\/api\.((pxxgg|yijingluowangluo)\.xyz|ujvnmkx\.cn)\/api url script-response-body https://raw.githubusercontent.com/chxm1023/Advertising/main/JavDB.js
[mitm]
hostname = api.pxxgg.xyz, api.ujvnmkx.cn, api.yijingluowangluo.xyz
*************************************/
var body = $response.body;
var chxm1023 = JSON.parse(body);
const ada = '/ads';
const adb = '/startup';
//横幅广告
if ($request.url.indexOf(ada) != -1){
chxm1023.data.ads = {};
}
//公告,开屏
if ($request.url.indexOf(adb) != -1){
chxm1023.data.splash_ad.enabled = false;
chxm1023.data.splash_ad.overtime = 0;
chxm1023.data.splash_ad.ad = {};
chxm1023.data.feedback.placeholder = "";
chxm1023.data.settings.UPDATE_DESCRIPTION = "";
chxm1023.data.settings.NOTICE = "";
}
$done({body : JSON.stringify(chxm1023)});