Last updated 2021-06-16 09:45:53
This commit is contained in:
11
external/Surge/DouyinNoAd/DouyinNoAd.sgmodule
vendored
11
external/Surge/DouyinNoAd/DouyinNoAd.sgmodule
vendored
@ -1,5 +1,5 @@
|
||||
#!name=抖音去广告
|
||||
#!desc=最后更新时间 2021-04-17 00:16:07
|
||||
#!desc=最后更新时间 2021-06-15 15:07:45
|
||||
#!author=Choler
|
||||
#!repo=https://github.com/Choler/Surge
|
||||
#!rewrite=1
|
||||
@ -7,11 +7,14 @@
|
||||
#!force_http_engine_hosts=0
|
||||
#!mitm=1
|
||||
|
||||
[Rule]
|
||||
URL-REGEX,^https?:\/\/api.*\.amemv\.com\/api\/ad\/,REJECT
|
||||
|
||||
[URL Rewrite]
|
||||
^https?:\/\/(.*)\.amemv\.com\/aweme\/v2\/(follow\/)?feed\/ https://$1.amemv.com/aweme/v1/$2feed/ header
|
||||
^https?:\/\/api.*\.amemv\.com\/aweme\/v\d\/ https://aweme.snssdk.com/aweme/v1/ header
|
||||
|
||||
[Script]
|
||||
抖音_去广告 = type=http-response,requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/script/7f3c8323580b2d79dfe42a315656355a.js,pattern=^https?:\/\/.*\.amemv\.com\/aweme\/v1\/(feed|mix\/aweme|aweme\/post|(multi\/)?aweme\/detail|follow\/feed|nearby\/feed|search\/item|general\/search\/single|hot\/search\/video\/list)\/
|
||||
抖音_去广告 = 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)\/\?
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% *.amemv.com
|
||||
hostname = %APPEND% api?-*-*-*.amemv.com
|
||||
3
external/Surge/DouyinNoAd/README.md
vendored
3
external/Surge/DouyinNoAd/README.md
vendored
@ -7,6 +7,8 @@
|
||||
复写规则所有数据均收集自开源项目,仅为解决引用过多外部资源引起的规则重复问题,不代表我们支持或使用这些服务。
|
||||
|
||||
请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规。
|
||||
## 规则说明
|
||||
最高支持版本号为16.2.0
|
||||
|
||||
## 复写统计
|
||||
|
||||
@ -14,6 +16,7 @@
|
||||
| ---- | ---- |
|
||||
| mitm | 1 |
|
||||
| force_http_engine_hosts | 0 |
|
||||
| URL-REGEX | 1 |
|
||||
| http-response | 1 |
|
||||
| redirect | 1 |
|
||||
## 配置说明
|
||||
|
||||
Reference in New Issue
Block a user