forked from ddgksf2013/Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path555Ad.js
More file actions
43 lines (17 loc) · 1.07 KB
/
555Ad.js
File metadata and controls
43 lines (17 loc) · 1.07 KB
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
40
41
42
43
/**********************************************
> 应用名称:墨鱼自用555去广告脚本
> 脚本作者:@ddgksf2013
> 微信账号:墨鱼手记
> 更新时间:2024-03-31
> 通知频道:https://t.me/ddgksf2021
> 贡献投稿:https://t.me/ddgksf2013_bot
> 问题反馈:ddgksf2013@163.com
> 特别提醒:如需转载请注明出处,谢谢合作!
> 脚本说明:去除首页轮播图广告、首页信息流广告、我的页面推广、缩短开屏广告倒计时
[rewrite_local]
^https?:\/\/[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+){1,3}(:\d+)?\/api\/v\d\/movie\/index_recommend url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/555Ad.js
^https?:\/\/[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+){1,3}(:\d+)?\/api\/v\d\/advert url reject-200
[mitm]
hostname = *.qyfxgd.cn, *.weilai555.com, *.ecoliving168.com
**********************************************/
let obj=JSON.parse($response.body);obj.data=obj.data.filter(t=>"advert_self"!==t.layout),obj.data.forEach(t=>{t.list=t.list.filter(t=>3!==t.type)}),$done({body:JSON.stringify(obj)});