ios_rule_script/external/Surge/DouyinNoAd/DouyinNoAd.sgmodule

20 lines
771 B
Plaintext
Raw Normal View History

2021-04-09 19:34:05 +08:00
#!name=抖音去广告
2021-12-16 02:10:43 +08:00
#!desc=最后更新时间 2021-12-16 17:34:29
2021-04-09 19:34:05 +08:00
#!author=Choler
#!repo=https://github.com/Choler/Surge
#!rewrite=1
#!script=1
#!force_http_engine_hosts=0
2021-06-17 02:10:58 +08:00
#!mitm=2
2021-04-09 19:34:05 +08:00
2021-06-16 09:45:45 +08:00
[Rule]
2021-06-17 02:10:58 +08:00
URL-REGEX,^https?:\/\/(api.*\.amemv|aweme\.snssdk)\.com\/api\/ad\/,REJECT
2021-06-16 09:45:45 +08:00
2021-04-09 19:34:05 +08:00
[URL Rewrite]
2021-10-13 02:09:19 +08:00
"^https?:\/\/api.*\.amemv\.com\/aweme\/v\d\/" https://aweme.snssdk.com/aweme/v1/ header
2021-04-09 19:34:05 +08:00
[Script]
2021-06-16 09:45:45 +08:00
抖音_去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/script/7f3c8323580b2d79dfe42a315656355a.js,pattern=^https?:\/\/aweme\.snssdk\.com\/aweme\/v[12]\/((|follow\/|nearby\/)feed|aweme\/post|hot\/search\/video\/list|mix\/aweme|aweme\/detail)\/\?
2021-04-09 19:34:05 +08:00
[MITM]
2021-06-17 02:10:58 +08:00
hostname = %APPEND% api*.amemv.com,aweme.snssdk.com