forked from ddgksf2013/Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcaixinads.js
More file actions
43 lines (24 loc) · 966 Bytes
/
caixinads.js
File metadata and controls
43 lines (24 loc) · 966 Bytes
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
/***********************************
> 应用名称:财新
> 脚本作者:ddgksf2013
> 微信账号:墨鱼手记
> 更新时间:2024-01-14
> 通知频道:https://t.me/ddgksf2021
> 投稿助手:https://t.me/ddgksf2013_bot
> 脚本功能:去开屏广告
> 问题反馈:📮 ddgksf2013@163.com 📮
> 特别说明:⛔⛔⛔
本脚本仅供学习交流使用,禁止转载售卖
⛔⛔⛔
请在本地添加下面分流
host, gg.caixin.com, direct
[rewrite_local]
# ~ 财新(2024-01-14)@ddgksf2013
^https?:\/\/gg\.caixin\.com\/s\?z=caixin&op=1&c=3362 url script-response-body https://github.com/ddgksf2013/Scripts/raw/master/caixinads.js
[mitm]
hostname=gg.caixin.com
***********************************/
var body = $response.body.replace(/sday":"[^"]*"/g, 'sday":"2029-12-01 00:00:00"')
.replace(/eday":"[^"]*"/g, 'eday":"2029-12-30 00:00:00"')
.replace(/intval":\d/g, 'intval":0')
$done({ body });