Last updated 2022-02-17 02:11:28
Last updated 2022-03-11 10:29:49 Last updated 2022-03-12 02:13:44 Last updated 2022-03-13 02:12:42 Last updated 2022-03-14 02:11:30 Last updated 2022-03-15 02:13:26 Last updated 2022-03-16 02:12:31 Last updated 2022-03-17 02:12:30
This commit is contained in:
@ -1,33 +1,25 @@
|
||||
# NAME: 脚本去广告
|
||||
# AUTHOR: blackmatrix7
|
||||
# REPO: https://github.com/blackmatrix7/ios_rule_script
|
||||
# UPDATED: 2022-01-07 23:09:47
|
||||
# REWRITE: 22
|
||||
# SCRIPT: 34
|
||||
# MITM: 27
|
||||
# UPDATED: 2022-03-04 16:25:59
|
||||
# REWRITE: 17
|
||||
# SCRIPT: 28
|
||||
# MITM: 23
|
||||
|
||||
[Rule]
|
||||
DOMAIN,118.89.204.198,REJECT
|
||||
DOMAIN,appcloud2.in.zhihu.com,REJECT
|
||||
DOMAIN,mqtt.zhihu.com,REJECT
|
||||
DOMAIN,sugar.zhihu.com,REJECT
|
||||
DOMAIN-SUFFIX,cm.bilibili.com,REJECT
|
||||
IP-CIDR,118.89.204.198/32,REJECT,no-resolve
|
||||
IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve
|
||||
URL-REGEX,^https?:\/\/api\.bilibili\.com\/pgc\/season\/app\/related\/recommend\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.bilibili\.com\/x\/v2\/dm\/ad,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/manga\.bilibili\.com\/twirp\/comic\.v\d\.Comic\/Flash,REJECT
|
||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations,REJECT
|
||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription),REJECT
|
||||
USER-AGENT,AVOS*,REJECT
|
||||
|
||||
[URL Rewrite]
|
||||
^https?:\/\/api\.bilibili\.com\/pgc\/season\/app\/related\/recommend\? - reject
|
||||
^https?:\/\/api\.vc\.bilibili\.com\/dynamic_svr\/v1\/dynamic_svr\/mix_uplist - reject
|
||||
^https?:\/\/api\.vc\.bilibili\.com\/search_svr\/v\d\/Search\/recommend_words - reject
|
||||
^https?:\/\/api\.vc\.bilibili\.com\/topic_svr\/v1\/topic_svr - reject
|
||||
^https?:\/\/api\.zhihu\.com/moments/hybrid\? - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|.*featured-comment-ad) - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject-200
|
||||
@ -38,7 +30,6 @@ USER-AGENT,AVOS*,REJECT
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/other_modul - reject
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/user_related_modul - reject
|
||||
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/wiki_related_modul - reject
|
||||
^https?:\/\/manga\.bilibili\.com\/twirp\/comic\.v\d\.Comic\/Flash - reject
|
||||
^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings - reject-dict
|
||||
^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations - reject-dict
|
||||
^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation - reject-dict
|
||||
@ -49,10 +40,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
|
||||
[Script]
|
||||
http-request ^https?:\/\/api\.zhihu\.com\/feed-root\/block requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,tag=知乎_屏蔽关键字解锁
|
||||
http-response ^https?:\/\/api\.bilibili\.com\/pgc\/page\/bangumi requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,tag=BiliBili_追番去广告
|
||||
http-response ^https?:\/\/api\.live\.bilibili\.com\/xlive\/app-room\/v1\/index\/getInfoByRoom requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,tag=BiliBili_直播去广告
|
||||
http-response ^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,tag=京东_开屏去广告
|
||||
http-response ^https?:\/\/api\.vc\.bilibili\.com\/dynamic_svr\/v1\/dynamic_svr\/dynamic_(history|new)\? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,tag=BiliBili_动态去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,tag=知乎_评论去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,tag=知乎_信息流去广告及黑名单增强
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message) requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,tag=知乎_官方消息去广告
|
||||
@ -63,9 +51,6 @@ http-response ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users requires-body
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,tag=知乎_热榜去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/v4\/questions requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,tag=知乎_回答列表去广告
|
||||
http-response ^https?:\/\/app-api\.smzdm\.com\/util\/loading requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,tag=什么值得买_开屏去广告
|
||||
http-response ^https?:\/\/app\.bilibili\.com\/x\/resource\/show\/tab requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,tag=BiliBili_标签页处理
|
||||
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/account\/mine requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,tag=BiliBili_我的页面处理
|
||||
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/feed\/index\? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,tag=BiliBili_推荐去广告
|
||||
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,tag=BiliBili_开屏去广告
|
||||
http-response ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config requires-body=1,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,tag=知乎_优化软件配置
|
||||
http-response ^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,tag=什么值得买_百科去广告
|
||||
@ -84,4 +69,4 @@ http-response ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(pre
|
||||
http-response ^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,tag=什么值得买_值会员权益中心banner广告
|
||||
|
||||
[MITM]
|
||||
hostname = 103.41.167.226,103.41.167.234,103.41.167.235,103.41.167.236,api.bilibili.com,api.live.bilibili.com,api.m.jd.com,api.vc.bilibili.com,api.zhihu.com,app-api.smzdm.com,app.bilibili.com,appcloud2.zhihu.com,baike-api.smzdm.com,capis*.didapinche.com,cmsapi.dmall.com,fmapp.chinafamilymart.com.cn,haojia-api.smzdm.com,haojia.m.smzdm.com,hd.mina.mi.com,homepage-api.smzdm.com,manga.bilibili.com,mi.gdt.qq.com,s-api.smzdm.com,wmapi.meituan.com,www.zhihu.com,zhiyou.m.smzdm.com,zhuanlan.zhihu.com
|
||||
hostname = 103.41.167.226,103.41.167.234,103.41.167.235,103.41.167.236,api.m.jd.com,api.zhihu.com,app-api.smzdm.com,app.bilibili.com,appcloud2.zhihu.com,baike-api.smzdm.com,capis*.didapinche.com,cmsapi.dmall.com,fmapp.chinafamilymart.com.cn,haojia-api.smzdm.com,haojia.m.smzdm.com,hd.mina.mi.com,homepage-api.smzdm.com,mi.gdt.qq.com,s-api.smzdm.com,wmapi.meituan.com,www.zhihu.com,zhiyou.m.smzdm.com,zhuanlan.zhihu.com
|
||||
@ -8,21 +8,20 @@
|
||||
|
||||
请通过我国(中华人民共和国)合法的互联网出入口信道访问规则中的地址,并确保在使用过程中符合相关法律法规。
|
||||
## 规则说明
|
||||
整合知乎、BiliBili、什么值得买三个APP去广告,及脚本去除开屏广告复写。
|
||||
整合知乎、 什么值得买等APP去广告,及脚本去除开屏广告复写。
|
||||
|
||||
## 复写统计
|
||||
|
||||
| 类型 | 数量(条) |
|
||||
| ---- | ---- |
|
||||
| mitm | 27 |
|
||||
| DOMAIN | 4 |
|
||||
| URL-REGEX | 7 |
|
||||
| DOMAIN-SUFFIX | 1 |
|
||||
| mitm | 23 |
|
||||
| URL-REGEX | 4 |
|
||||
| USER-AGENT | 1 |
|
||||
| IP-CIDR6 | 1 |
|
||||
| IP-CIDR | 1 |
|
||||
| reject | 22 |
|
||||
| http-response | 33 |
|
||||
| DOMAIN | 4 |
|
||||
| IP-CIDR6 | 1 |
|
||||
| reject | 17 |
|
||||
| http-response | 27 |
|
||||
| http-request | 1 |
|
||||
## 配置说明
|
||||
|
||||
@ -54,7 +53,6 @@ https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/L
|
||||
|
||||
如果你正在使用这些复写规则,建议不要与本项目的脚本去广告复写规则混合使用,以免造成规则重复。
|
||||
|
||||
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.sgmodule
|
||||
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.lnplugin
|
||||
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.sgmodule
|
||||
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.lnplugin
|
||||
|
||||
Reference in New Issue
Block a user