2022-06-30 10:11:38
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#!name= AdvertisingScript
|
||||
#!desc= 最后更新时间 2022-06-23 17:37:38
|
||||
#!desc= 最后更新时间 2022-06-30 10:11:27
|
||||
#!openUrl= https://github.com/blackmatrix7/ios_rule_script
|
||||
#!author= blackmatrix7
|
||||
#!homepage= https://github.com/blackmatrix7/ios_rule_script
|
||||
@ -10,10 +10,10 @@
|
||||
#!url-regex= 4
|
||||
#!user-agent= 1
|
||||
#!http-request-script= 1
|
||||
#!http-response-script= 27
|
||||
#!reject= 17
|
||||
#!http-response-script= 28
|
||||
#!reject= 18
|
||||
#!mitm= 23
|
||||
#!total= 79
|
||||
#!total= 81
|
||||
|
||||
[Rule]
|
||||
DOMAIN,118.89.204.198,REJECT
|
||||
@ -23,9 +23,9 @@ DOMAIN,sugar.zhihu.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\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,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
|
||||
|
||||
|
||||
@ -34,6 +34,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject-200
|
||||
^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/recent - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card - reject-200
|
||||
@ -49,7 +50,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation - reject-dict
|
||||
[Script]
|
||||
# 知乎_屏蔽关键字解锁
|
||||
http-request ^https?:\/\/api\.zhihu\.com\/feed-root\/block script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_屏蔽关键字解锁
|
||||
http-request ^https?:\/\/api\.zhihu\.com\/feed-root\/block script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_屏蔽关键字解锁
|
||||
# BiliBili_开屏去广告
|
||||
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,requires-body=1,tag=BiliBili_开屏去广告
|
||||
# Fa米家_开屏去广告
|
||||
@ -79,27 +80,29 @@ http-response ^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic scri
|
||||
# 小爱音箱_开屏去广告
|
||||
http-response ^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=小爱音箱_开屏去广告
|
||||
# 知乎_优化软件配置
|
||||
http-response ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_优化软件配置
|
||||
http-response ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_优化软件配置
|
||||
# 知乎_信息流去广告及黑名单增强
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_信息流去广告及黑名单增强
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_信息流去广告及黑名单增强
|
||||
# 知乎_回答内容优化
|
||||
http-response ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))? script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_回答内容优化
|
||||
http-response ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_回答内容优化
|
||||
# 知乎_回答列表去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/v4\/questions script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_回答列表去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/v4\/questions script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_回答列表去广告
|
||||
# 知乎_处理用户信息
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/people script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_处理用户信息
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/people script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_处理用户信息
|
||||
# 知乎_官方消息去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message) script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_官方消息去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message) script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_官方消息去广告
|
||||
# 知乎_热搜去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_热搜去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_热搜去广告
|
||||
# 知乎_热榜去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_热榜去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_热榜去广告
|
||||
# 知乎_移除推荐页顶部项
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2 script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_移除推荐页顶部项
|
||||
# 知乎_获取黑名单
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_获取黑名单
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_获取黑名单
|
||||
# 知乎_评论去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_评论去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_评论去广告
|
||||
# 知乎_预置关键词去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/preset_words\? script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_预置关键词去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/preset_words\? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_预置关键词去广告
|
||||
# 美团外卖_开屏去广告
|
||||
http-response ^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=美团外卖_开屏去广告
|
||||
# 联享家_开屏去广告
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-23 17:37:38
|
||||
最后更新时间:2022-06-30 10:11:27
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -25,10 +25,10 @@
|
||||
| URL-REGEX | 4 |
|
||||
| USER-AGENT | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| REJECT | 17 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REJECT | 18 |
|
||||
| MITM | 23 |
|
||||
| TOTAL | 79 |
|
||||
| TOTAL | 81 |
|
||||
|
||||
|
||||
## Loon
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!name= AllInOne
|
||||
#!desc= 最后更新时间 2022-06-23 17:34:14
|
||||
#!desc= 最后更新时间 2022-06-30 10:11:22
|
||||
#!openUrl= https://github.com/blackmatrix7/ios_rule_script
|
||||
#!author= blackmatrix7
|
||||
#!homepage= https://github.com/blackmatrix7/ios_rule_script
|
||||
@ -10,11 +10,11 @@
|
||||
#!url-regex= 4
|
||||
#!user-agent= 1
|
||||
#!http-request-script= 1
|
||||
#!http-response-script= 27
|
||||
#!http-response-script= 28
|
||||
#!redirect= 8
|
||||
#!reject= 374
|
||||
#!reject= 375
|
||||
#!mitm= 419
|
||||
#!total= 840
|
||||
#!total= 842
|
||||
|
||||
[Rule]
|
||||
DOMAIN,118.89.204.198,REJECT
|
||||
@ -24,9 +24,9 @@ DOMAIN,sugar.zhihu.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\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,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
|
||||
|
||||
|
||||
@ -134,6 +134,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject-200
|
||||
^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/recent - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card - reject-200
|
||||
@ -415,7 +416,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
^https?:\/\/zjh5api\.189smarthome\.com:\d+\/xygj-config-api\/queryData - reject
|
||||
[Script]
|
||||
# 知乎_屏蔽关键字解锁
|
||||
http-request ^https?:\/\/api\.zhihu\.com\/feed-root\/block script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_屏蔽关键字解锁
|
||||
http-request ^https?:\/\/api\.zhihu\.com\/feed-root\/block script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_屏蔽关键字解锁
|
||||
# BiliBili_开屏去广告
|
||||
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,requires-body=1,tag=BiliBili_开屏去广告
|
||||
# Fa米家_开屏去广告
|
||||
@ -445,27 +446,29 @@ http-response ^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic scri
|
||||
# 小爱音箱_开屏去广告
|
||||
http-response ^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=小爱音箱_开屏去广告
|
||||
# 知乎_优化软件配置
|
||||
http-response ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_优化软件配置
|
||||
http-response ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_优化软件配置
|
||||
# 知乎_信息流去广告及黑名单增强
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_信息流去广告及黑名单增强
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_信息流去广告及黑名单增强
|
||||
# 知乎_回答内容优化
|
||||
http-response ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))? script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_回答内容优化
|
||||
http-response ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_回答内容优化
|
||||
# 知乎_回答列表去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/v4\/questions script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_回答列表去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/v4\/questions script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_回答列表去广告
|
||||
# 知乎_处理用户信息
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/people script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_处理用户信息
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/people script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_处理用户信息
|
||||
# 知乎_官方消息去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message) script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_官方消息去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message) script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_官方消息去广告
|
||||
# 知乎_热搜去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_热搜去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_热搜去广告
|
||||
# 知乎_热榜去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_热榜去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_热榜去广告
|
||||
# 知乎_移除推荐页顶部项
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2 script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_移除推荐页顶部项
|
||||
# 知乎_获取黑名单
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_获取黑名单
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_获取黑名单
|
||||
# 知乎_评论去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_评论去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_评论去广告
|
||||
# 知乎_预置关键词去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/preset_words\? script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,requires-body=1,tag=知乎_预置关键词去广告
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/preset_words\? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,requires-body=1,tag=知乎_预置关键词去广告
|
||||
# 美团外卖_开屏去广告
|
||||
http-response ^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=美团外卖_开屏去广告
|
||||
# 联享家_开屏去广告
|
||||
|
||||
@ -18,7 +18,7 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-24 02:32:55
|
||||
最后更新时间:2022-06-30 10:11:22
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -29,11 +29,11 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
| URL-REGEX | 4 |
|
||||
| USER-AGENT | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REDIRECT | 8 |
|
||||
| REJECT | 374 |
|
||||
| REJECT | 375 |
|
||||
| MITM | 419 |
|
||||
| TOTAL | 840 |
|
||||
| TOTAL | 842 |
|
||||
|
||||
|
||||
## Loon
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
# NAME: AdvertisingScript
|
||||
# AUTHOR: blackmatrix7
|
||||
# REPO: https://github.com/blackmatrix7/ios_rule_script
|
||||
# UPDATED: 2022-06-24 02:33:00
|
||||
# UPDATED: 2022-06-30 10:11:27
|
||||
# HOST:4
|
||||
# IP-CIDR:1
|
||||
# IP6-CIDR:1
|
||||
# USER-AGENT:1
|
||||
# HTTP-REQUEST-SCRIPT:1
|
||||
# HTTP-RESPONSE-SCRIPT:27
|
||||
# REJECT:17
|
||||
# HTTP-RESPONSE-SCRIPT:28
|
||||
# REJECT:18
|
||||
# MITM:23
|
||||
# TOTAL:75
|
||||
# TOTAL:77
|
||||
|
||||
|
||||
# REJECT
|
||||
@ -18,6 +18,7 @@
|
||||
^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) url reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config url reject-200
|
||||
^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? url reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips url reject
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/recent url reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 url reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card url reject-200
|
||||
@ -36,7 +37,7 @@
|
||||
|
||||
# SCRIPT
|
||||
# 知乎_屏蔽关键字解锁
|
||||
^https?:\/\/api\.zhihu\.com\/feed-root\/block url script-request-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/feed-root\/block url script-request-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# BiliBili_开屏去广告
|
||||
^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js
|
||||
# Fa米家_开屏去广告
|
||||
@ -66,27 +67,29 @@
|
||||
# 小爱音箱_开屏去广告
|
||||
^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
# 知乎_优化软件配置
|
||||
^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_信息流去广告及黑名单增强
|
||||
^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_回答内容优化
|
||||
^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))? url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_回答列表去广告
|
||||
^https?:\/\/api\.zhihu\.com\/v4\/questions url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/v4\/questions url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_处理用户信息
|
||||
^https?:\/\/api\.zhihu\.com\/people url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/people url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_官方消息去广告
|
||||
^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message) url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message) url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_热搜去广告
|
||||
^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_热榜去广告
|
||||
^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_移除推荐页顶部项
|
||||
^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2 url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_获取黑名单
|
||||
^https?:\/\/api\.zhihu\.com\/settings\/blocked_users url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/settings\/blocked_users url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_评论去广告
|
||||
^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 知乎_预置关键词去广告
|
||||
^https?:\/\/api\.zhihu\.com\/search\/preset_words\? url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
^https?:\/\/api\.zhihu\.com\/search\/preset_words\? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
# 美团外卖_开屏去广告
|
||||
^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
# 联享家_开屏去广告
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
# NAME: AdvertisingScript
|
||||
# AUTHOR: blackmatrix7
|
||||
# REPO: https://github.com/blackmatrix7/ios_rule_script
|
||||
# UPDATED: 2022-06-24 02:33:00
|
||||
# UPDATED: 2022-06-30 10:11:27
|
||||
# HOST: 4
|
||||
# IP-CIDR: 1
|
||||
# IP6-CIDR: 1
|
||||
# USER-AGENT: 1
|
||||
# HTTP-REQUEST-SCRIPT: 1
|
||||
# HTTP-RESPONSE-SCRIPT: 27
|
||||
# REJECT: 17
|
||||
# HTTP-RESPONSE-SCRIPT: 28
|
||||
# REJECT: 18
|
||||
# MITM: 23
|
||||
# TOTAL: 75
|
||||
# TOTAL: 77
|
||||
HOST,118.89.204.198,AdvertisingScript
|
||||
HOST,appcloud2.in.zhihu.com,AdvertisingScript
|
||||
HOST,mqtt.zhihu.com,AdvertisingScript
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-24 02:33:00
|
||||
最后更新时间:2022-06-30 10:11:27
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -24,10 +24,10 @@
|
||||
| IP6-CIDR | 1 |
|
||||
| USER-AGENT | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| REJECT | 17 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REJECT | 18 |
|
||||
| MITM | 23 |
|
||||
| TOTAL | 75 |
|
||||
| TOTAL | 77 |
|
||||
|
||||
|
||||
## QuantumultX
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,17 +1,17 @@
|
||||
# NAME: AllInOne
|
||||
# AUTHOR: blackmatrix7
|
||||
# REPO: https://github.com/blackmatrix7/ios_rule_script
|
||||
# UPDATED: 2022-06-23 17:34:16
|
||||
# UPDATED: 2022-06-30 10:11:25
|
||||
# HOST: 3
|
||||
# IP-CIDR: 1
|
||||
# IP6-CIDR: 1
|
||||
# USER-AGENT: 1
|
||||
# HTTP-REQUEST-SCRIPT: 3
|
||||
# HTTP-RESPONSE-SCRIPT: 27
|
||||
# HTTP-RESPONSE-SCRIPT: 28
|
||||
# REDIRECT: 62
|
||||
# REJECT: 467
|
||||
# REJECT: 468
|
||||
# MITM: 482
|
||||
# TOTAL: 1047
|
||||
# TOTAL: 1049
|
||||
HOST,appcloud2.in.zhihu.com,AdvertisingScript
|
||||
HOST,mqtt.zhihu.com,AdvertisingScript
|
||||
HOST,sugar.zhihu.com,AdvertisingScript
|
||||
|
||||
@ -18,7 +18,7 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-24 02:32:57
|
||||
最后更新时间:2022-06-30 10:11:25
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -28,11 +28,11 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
| IP6-CIDR | 1 |
|
||||
| USER-AGENT | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 3 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REDIRECT | 62 |
|
||||
| REJECT | 467 |
|
||||
| REJECT | 468 |
|
||||
| MITM | 482 |
|
||||
| TOTAL | 1047 |
|
||||
| TOTAL | 1049 |
|
||||
|
||||
|
||||
## QuantumultX
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!name=AdvertisingScript
|
||||
#!desc=最后更新时间 2022-06-23 17:37:38
|
||||
#!desc=最后更新时间 2022-06-30 10:11:27
|
||||
#!author=blackmatrix7
|
||||
#!repo=https://github.com/blackmatrix7/ios_rule_script
|
||||
#!domain=4
|
||||
@ -7,10 +7,10 @@
|
||||
#!url-regex=4
|
||||
#!user-agent=1
|
||||
#!http-request-script=1
|
||||
#!http-response-script=27
|
||||
#!reject=17
|
||||
#!http-response-script=28
|
||||
#!reject=18
|
||||
#!mitm=23
|
||||
#!total=79
|
||||
#!total=81
|
||||
|
||||
[Rule]
|
||||
DOMAIN,118.89.204.198,REJECT
|
||||
@ -20,9 +20,9 @@ DOMAIN,sugar.zhihu.com,REJECT
|
||||
IP-CIDR,118.89.204.198/32,REJECT,no-resolve
|
||||
IP-CIDR,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,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
|
||||
|
||||
|
||||
@ -31,6 +31,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject-200
|
||||
^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/recent - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card - reject-200
|
||||
@ -47,7 +48,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
|
||||
|
||||
[Script]
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/block,requires-body=1
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/block,requires-body=1
|
||||
BiliBili_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list,requires-body=1
|
||||
Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern=^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad,requires-body=1
|
||||
京东_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start,requires-body=1
|
||||
@ -62,17 +63,18 @@ Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubuser
|
||||
嘀嗒出行_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?,requires-body=1
|
||||
多点_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic,requires-body=1
|
||||
小爱音箱_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert,requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config,requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?,requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions,requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/people,requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message),requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items,requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/),requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/settings\/blocked_users,requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?,requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config,requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?,requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions,requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/people,requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message),requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items,requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/),requires-body=1
|
||||
知乎_移除推荐页顶部项 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2,requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/settings\/blocked_users,requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?,requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,requires-body=1
|
||||
美团外卖_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?,requires-body=1
|
||||
联享家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg,requires-body=1
|
||||
[MITM]
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-23 17:37:38
|
||||
最后更新时间:2022-06-30 10:11:27
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -24,10 +24,10 @@
|
||||
| URL-REGEX | 4 |
|
||||
| USER-AGENT | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| REJECT | 17 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REJECT | 18 |
|
||||
| MITM | 23 |
|
||||
| TOTAL | 79 |
|
||||
| TOTAL | 81 |
|
||||
|
||||
|
||||
## Shadowrocket
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!name=AllInOne
|
||||
#!desc=最后更新时间 2022-06-23 17:34:14
|
||||
#!desc=最后更新时间 2022-06-30 10:11:22
|
||||
#!author=blackmatrix7
|
||||
#!repo=https://github.com/blackmatrix7/ios_rule_script
|
||||
#!domain=4
|
||||
@ -7,11 +7,11 @@
|
||||
#!url-regex=4
|
||||
#!user-agent=1
|
||||
#!http-request-script=1
|
||||
#!http-response-script=27
|
||||
#!http-response-script=28
|
||||
#!redirect=8
|
||||
#!reject=374
|
||||
#!reject=375
|
||||
#!mitm=419
|
||||
#!total=840
|
||||
#!total=842
|
||||
|
||||
[General]
|
||||
force-http-engine-hosts = %APPEND% *.ott.cibntv.net,intl.iqiyi.com,maicai.api.ddxq.mobi,mobileapi-v6.elong.com,weibointl.api.weibo.cn,wmapi.meituan.com
|
||||
@ -24,9 +24,9 @@ DOMAIN,sugar.zhihu.com,REJECT
|
||||
IP-CIDR,118.89.204.198/32,REJECT,no-resolve
|
||||
IP-CIDR,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT,no-resolve
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,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
|
||||
|
||||
|
||||
@ -134,6 +134,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject-200
|
||||
^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/recent - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card - reject-200
|
||||
@ -416,7 +417,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
|
||||
|
||||
[Script]
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/block,requires-body=1
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/block,requires-body=1
|
||||
BiliBili_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list,requires-body=1
|
||||
Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern=^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad,requires-body=1
|
||||
京东_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start,requires-body=1
|
||||
@ -431,17 +432,18 @@ Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubuser
|
||||
嘀嗒出行_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?,requires-body=1
|
||||
多点_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic,requires-body=1
|
||||
小爱音箱_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert,requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config,requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?,requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions,requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/people,requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message),requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items,requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/),requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/settings\/blocked_users,requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?,requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config,requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?,requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions,requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/people,requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message),requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items,requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/),requires-body=1
|
||||
知乎_移除推荐页顶部项 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2,requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/settings\/blocked_users,requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?,requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,requires-body=1
|
||||
美团外卖_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?,requires-body=1
|
||||
联享家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg,requires-body=1
|
||||
[MITM]
|
||||
|
||||
@ -18,7 +18,7 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-24 02:32:55
|
||||
最后更新时间:2022-06-30 10:11:23
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -28,11 +28,11 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
| URL-REGEX | 4 |
|
||||
| USER-AGENT | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REDIRECT | 8 |
|
||||
| REJECT | 374 |
|
||||
| REJECT | 375 |
|
||||
| MITM | 419 |
|
||||
| TOTAL | 840 |
|
||||
| TOTAL | 842 |
|
||||
|
||||
|
||||
## Shadowrocket
|
||||
|
||||
@ -16,20 +16,20 @@
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-23 17:34:08
|
||||
最后更新时间:2022-06-30 10:11:17
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
| ---- | ---- |
|
||||
| DOMAIN | 4 |
|
||||
| IP-CIDR | 2 |
|
||||
| URL-REGEX | 8 |
|
||||
| URL-REGEX | 11 |
|
||||
| USER-AGENT | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 11 |
|
||||
| REJECT | 14 |
|
||||
| HTTP-RESPONSE-SCRIPT | 12 |
|
||||
| REJECT | 15 |
|
||||
| MITM | 8 |
|
||||
| TOTAL | 49 |
|
||||
| TOTAL | 54 |
|
||||
|
||||
|
||||
## Shadowrocket
|
||||
|
||||
@ -1,16 +1,16 @@
|
||||
#!name=ZhihuAssistantPlus
|
||||
#!desc=最后更新时间 2022-06-23 17:34:08
|
||||
#!desc=最后更新时间 2022-06-30 10:11:17
|
||||
#!author=blackmatrix7
|
||||
#!repo=https://github.com/blackmatrix7/ios_rule_script
|
||||
#!domain=4
|
||||
#!ip-cidr=2
|
||||
#!url-regex=8
|
||||
#!url-regex=11
|
||||
#!user-agent=1
|
||||
#!http-request-script=1
|
||||
#!http-response-script=11
|
||||
#!reject=14
|
||||
#!http-response-script=12
|
||||
#!reject=15
|
||||
#!mitm=8
|
||||
#!total=49
|
||||
#!total=54
|
||||
|
||||
[Rule]
|
||||
DOMAIN,118.89.204.198,REJECT
|
||||
@ -19,13 +19,16 @@ DOMAIN,mqtt.zhihu.com,REJECT
|
||||
DOMAIN,sugar.zhihu.com,REJECT
|
||||
IP-CIDR,118.89.204.198/32,REJECT-DROP,no-resolve
|
||||
IP-CIDR,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT-DROP,no-resolve
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/commercial_api\/launch_v2\?,REJECT
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/explore\/entry\/tips,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/api\/v4/(questions|anwsers)\/\d+/related-readings,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/api\/v4\/answers\/\d+\/recommendations,REJECT
|
||||
URL-REGEX,^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/commercial_api\/banners_v3\/mobile_banner,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,REJECT
|
||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations,REJECT
|
||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription),REJECT
|
||||
URL-REGEX,^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation,REJECT-TINYGIF
|
||||
USER-AGENT,AVOS*,REJECT
|
||||
|
||||
@ -35,6 +38,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject-200
|
||||
^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/recent - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card - reject-200
|
||||
@ -48,17 +52,18 @@ USER-AGENT,AVOS*,REJECT
|
||||
|
||||
|
||||
[Script]
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/block,requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config,requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?,requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions,requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/people,requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message),requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items,requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/),requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/settings\/blocked_users,requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?,requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,requires-body=1
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/block,requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config,requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?,requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/v4\/questions,requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/people,requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message),requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items,requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/),requires-body=1
|
||||
知乎_移除推荐页顶部项 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2,requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/settings\/blocked_users,requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?,requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,requires-body=1
|
||||
[MITM]
|
||||
hostname = %APPEND% 103.41.167.226,103.41.167.234,103.41.167.235,103.41.167.236,api.zhihu.com,appcloud2.zhihu.com,www.zhihu.com,zhuanlan.zhihu.com
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
name: 脚本去广告
|
||||
desc: 最后更新时间 2022-06-23 17:37:38
|
||||
desc: 最后更新时间 2022-06-30 10:11:27
|
||||
# author: blackmatrix7
|
||||
# repo: https://github.com/blackmatrix7/ios_rule_script
|
||||
# domain: 4
|
||||
# ip-cidr: 1
|
||||
# ip-cidr6: 1
|
||||
# http-request-script: 1
|
||||
# http-response-script: 27
|
||||
# reject: 17
|
||||
# http-response-script: 28
|
||||
# reject: 18
|
||||
# mitm: 23
|
||||
# total: 74
|
||||
# total: 76
|
||||
|
||||
|
||||
|
||||
@ -28,6 +28,7 @@ http:
|
||||
- ^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/moments\/recent - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card - reject
|
||||
@ -46,7 +47,7 @@ http:
|
||||
script:
|
||||
# 知乎_屏蔽关键字解锁
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/feed-root\/block
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: request
|
||||
require-body: true
|
||||
timeout: 30
|
||||
@ -151,77 +152,84 @@ http:
|
||||
argument:
|
||||
# 知乎_优化软件配置
|
||||
- match: ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_信息流去广告及黑名单增强
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_回答内容优化
|
||||
- match: ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_回答列表去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/v4\/questions
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_处理用户信息
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/people
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_官方消息去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_热搜去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_热榜去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_移除推荐页顶部项
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_获取黑名单
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_评论去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_预置关键词去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/search\/preset_words\?
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
@ -279,7 +287,7 @@ script-providers:
|
||||
startup.js_5686edbb:
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
interval: 86400
|
||||
zhihu.js_c61fcb13:
|
||||
url: https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
zhihu.js_fc22d04a:
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
interval: 86400
|
||||
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-23 17:37:38
|
||||
最后更新时间:2022-06-30 10:11:27
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -23,10 +23,10 @@
|
||||
| IP-CIDR | 1 |
|
||||
| IP-CIDR6 | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| REJECT | 17 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REJECT | 18 |
|
||||
| MITM | 23 |
|
||||
| TOTAL | 74 |
|
||||
| TOTAL | 76 |
|
||||
|
||||
|
||||
## Stash
|
||||
|
||||
@ -1,17 +1,17 @@
|
||||
name: AllInOne
|
||||
desc: 最后更新时间 2022-06-23 17:34:14
|
||||
desc: 最后更新时间 2022-06-30 10:11:23
|
||||
# author: blackmatrix7
|
||||
# repo: https://github.com/blackmatrix7/ios_rule_script
|
||||
# domain: 4
|
||||
# ip-cidr: 1
|
||||
# ip-cidr6: 1
|
||||
# http-request-script: 1
|
||||
# http-response-script: 27
|
||||
# http-response-script: 28
|
||||
# redirect: 8
|
||||
# reject: 374
|
||||
# reject: 375
|
||||
# mitm: 419
|
||||
# force-http-engine-hosts: 6
|
||||
# total: 841
|
||||
# total: 843
|
||||
|
||||
|
||||
|
||||
@ -129,6 +129,7 @@ http:
|
||||
- ^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/moments\/recent - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card - reject
|
||||
@ -413,7 +414,7 @@ http:
|
||||
script:
|
||||
# 知乎_屏蔽关键字解锁
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/feed-root\/block
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: request
|
||||
require-body: true
|
||||
timeout: 30
|
||||
@ -518,77 +519,84 @@ http:
|
||||
argument:
|
||||
# 知乎_优化软件配置
|
||||
- match: ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_信息流去广告及黑名单增强
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_回答内容优化
|
||||
- match: ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_回答列表去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/v4\/questions
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_处理用户信息
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/people
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_官方消息去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_热搜去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_热榜去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_移除推荐页顶部项
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_获取黑名单
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_评论去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_预置关键词去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/search\/preset_words\?
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
@ -1050,7 +1058,7 @@ script-providers:
|
||||
startup.js_5686edbb:
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
||||
interval: 86400
|
||||
zhihu.js_c61fcb13:
|
||||
url: https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
zhihu.js_fc22d04a:
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
interval: 86400
|
||||
|
||||
|
||||
@ -18,7 +18,7 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-24 02:32:55
|
||||
最后更新时间:2022-06-30 10:11:23
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -27,12 +27,12 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
| IP-CIDR | 1 |
|
||||
| IP-CIDR6 | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REDIRECT | 8 |
|
||||
| REJECT | 374 |
|
||||
| REJECT | 375 |
|
||||
| MITM | 419 |
|
||||
| FORCE-HTTP-ENGINE-HOSTS | 6 |
|
||||
| TOTAL | 841 |
|
||||
| TOTAL | 843 |
|
||||
|
||||
|
||||
## Stash
|
||||
|
||||
@ -16,7 +16,7 @@
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-23 17:34:08
|
||||
最后更新时间:2022-06-30 10:11:17
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -25,10 +25,10 @@
|
||||
| IP-CIDR | 1 |
|
||||
| IP-CIDR6 | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 11 |
|
||||
| REJECT | 15 |
|
||||
| HTTP-RESPONSE-SCRIPT | 12 |
|
||||
| REJECT | 21 |
|
||||
| MITM | 8 |
|
||||
| TOTAL | 41 |
|
||||
| TOTAL | 48 |
|
||||
|
||||
|
||||
## Stash
|
||||
|
||||
@ -1,15 +1,15 @@
|
||||
name: 知乎助手Plus
|
||||
desc: 最后更新时间 2022-06-23 17:34:08
|
||||
desc: 最后更新时间 2022-06-30 10:11:17
|
||||
# author: blackmatrix7
|
||||
# repo: https://github.com/blackmatrix7/ios_rule_script
|
||||
# domain: 4
|
||||
# ip-cidr: 1
|
||||
# ip-cidr6: 1
|
||||
# http-request-script: 1
|
||||
# http-response-script: 11
|
||||
# reject: 15
|
||||
# http-response-script: 12
|
||||
# reject: 21
|
||||
# mitm: 8
|
||||
# total: 41
|
||||
# total: 48
|
||||
|
||||
|
||||
|
||||
@ -24,11 +24,17 @@ rules:
|
||||
|
||||
http:
|
||||
rewrite:
|
||||
- ^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/brand\/question\/\d+/card\? - reject
|
||||
- ^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/commercial_api\/launch_v2\? - reject
|
||||
- ^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/explore\/entry\/tips - reject
|
||||
- ^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/api\/v4/(questions|anwsers)\/\d+/related-readings - reject
|
||||
- ^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/api\/v4\/answers\/\d+\/recommendations - reject
|
||||
- ^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/commercial_api\/banners_v3\/mobile_banner - reject
|
||||
- ^https?:\/\/api\.zhihu\.com/moments/hybrid\? - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations) - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\? - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/moments\/recent - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject
|
||||
- ^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card - reject
|
||||
@ -44,84 +50,91 @@ http:
|
||||
script:
|
||||
# 知乎_屏蔽关键字解锁
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/feed-root\/block
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: request
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_优化软件配置
|
||||
- match: ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_信息流去广告及黑名单增强
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_回答内容优化
|
||||
- match: ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_回答列表去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/v4\/questions
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_处理用户信息
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/people
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_官方消息去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_热搜去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_热榜去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_移除推荐页顶部项
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_获取黑名单
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_评论去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
argument:
|
||||
# 知乎_预置关键词去广告
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/search\/preset_words\?
|
||||
name: zhihu.js_c61fcb13
|
||||
name: zhihu.js_fc22d04a
|
||||
type: response
|
||||
require-body: true
|
||||
timeout: 30
|
||||
@ -138,7 +151,7 @@ http:
|
||||
- "zhuanlan.zhihu.com"
|
||||
|
||||
script-providers:
|
||||
zhihu.js_c61fcb13:
|
||||
url: https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
||||
zhihu.js_fc22d04a:
|
||||
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
||||
interval: 86400
|
||||
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!name=AdvertisingScript
|
||||
#!desc=最后更新时间 2022-06-23 17:37:38
|
||||
#!desc=最后更新时间 2022-06-30 10:11:27
|
||||
#!author=blackmatrix7
|
||||
#!repo=https://github.com/blackmatrix7/ios_rule_script
|
||||
#!domain=4
|
||||
@ -8,10 +8,10 @@
|
||||
#!url-regex=4
|
||||
#!user-agent=1
|
||||
#!http-request-script=1
|
||||
#!http-response-script=27
|
||||
#!reject=17
|
||||
#!http-response-script=28
|
||||
#!reject=18
|
||||
#!mitm=23
|
||||
#!total=79
|
||||
#!total=81
|
||||
|
||||
[Rule]
|
||||
DOMAIN,118.89.204.198,REJECT
|
||||
@ -21,9 +21,9 @@ DOMAIN,sugar.zhihu.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\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,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
|
||||
|
||||
|
||||
@ -32,6 +32,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
"^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations)" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/moments\/recent" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/moments\/tab_v2" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card" - reject
|
||||
@ -48,7 +49,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
|
||||
|
||||
[Script]
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
|
||||
BiliBili_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern="^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list",requires-body=1
|
||||
Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern="^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad",requires-body=1
|
||||
京东_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start",requires-body=1
|
||||
@ -63,17 +64,18 @@ Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubuser
|
||||
嘀嗒出行_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?",requires-body=1
|
||||
多点_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic",requires-body=1
|
||||
小爱音箱_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert",requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
|
||||
知乎_移除推荐页顶部项 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2",requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
|
||||
美团外卖_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?",requires-body=1
|
||||
联享家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg",requires-body=1
|
||||
[MITM]
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!name=AdvertisingScript
|
||||
#!desc=最后更新时间 2022-06-23 17:37:38
|
||||
#!desc=最后更新时间 2022-06-30 10:11:27
|
||||
#!author=blackmatrix7
|
||||
#!repo=https://github.com/blackmatrix7/ios_rule_script
|
||||
#!domain=4
|
||||
@ -8,10 +8,10 @@
|
||||
#!url-regex=4
|
||||
#!user-agent=1
|
||||
#!http-request-script=1
|
||||
#!http-response-script=27
|
||||
#!reject=17
|
||||
#!http-response-script=28
|
||||
#!reject=18
|
||||
#!mitm=23
|
||||
#!total=79
|
||||
#!total=81
|
||||
|
||||
[Rule]
|
||||
DOMAIN,118.89.204.198,REJECT
|
||||
@ -21,13 +21,14 @@ DOMAIN,sugar.zhihu.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\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,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\.zhihu\.com\/explore\/entry\/tips" - 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
|
||||
@ -49,7 +50,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
"^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
"^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
[Script]
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
|
||||
BiliBili_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern="^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list",requires-body=1
|
||||
Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern="^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad",requires-body=1
|
||||
京东_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start",requires-body=1
|
||||
@ -64,17 +65,18 @@ Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubuser
|
||||
嘀嗒出行_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?",requires-body=1
|
||||
多点_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic",requires-body=1
|
||||
小爱音箱_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert",requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
|
||||
知乎_移除推荐页顶部项 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2",requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
|
||||
美团外卖_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?",requires-body=1
|
||||
联享家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg",requires-body=1
|
||||
[MITM]
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-23 17:37:38
|
||||
最后更新时间:2022-06-30 10:11:27
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -25,10 +25,10 @@
|
||||
| URL-REGEX | 4 |
|
||||
| USER-AGENT | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| REJECT | 17 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REJECT | 18 |
|
||||
| MITM | 23 |
|
||||
| TOTAL | 79 |
|
||||
| TOTAL | 81 |
|
||||
|
||||
|
||||
## Surge
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!name=AllInOne
|
||||
#!desc=最后更新时间 2022-06-23 17:35:58
|
||||
#!desc=最后更新时间 2022-06-30 10:11:27
|
||||
#!author=blackmatrix7
|
||||
#!repo=https://github.com/blackmatrix7/ios_rule_script
|
||||
#!domain=4
|
||||
@ -8,12 +8,12 @@
|
||||
#!url-regex=4
|
||||
#!user-agent=1
|
||||
#!http-request-script=1
|
||||
#!http-response-script=27
|
||||
#!http-response-script=28
|
||||
#!redirect=62
|
||||
#!reject=433
|
||||
#!reject=434
|
||||
#!mitm=487
|
||||
#!force-http-engine-hosts=6
|
||||
#!total=1027
|
||||
#!total=1029
|
||||
|
||||
[General]
|
||||
force-http-engine-hosts = %APPEND% *.ott.cibntv.net,intl.iqiyi.com,maicai.api.ddxq.mobi,mobileapi-v6.elong.com,weibointl.api.weibo.cn,wmapi.meituan.com
|
||||
@ -29,9 +29,9 @@ DOMAIN,sugar.zhihu.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\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,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
|
||||
|
||||
|
||||
@ -245,6 +245,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
"^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|search\/(top|tab)|.*featured-comment-ad|appview\/api\/v\d\/answers\/\d+\/recommendations)" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/moments\/recent" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/moments\/tab_v2" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card" - reject
|
||||
@ -534,7 +535,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
|
||||
|
||||
[Script]
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
|
||||
BiliBili_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern="^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list",requires-body=1
|
||||
Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern="^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad",requires-body=1
|
||||
京东_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start",requires-body=1
|
||||
@ -549,17 +550,18 @@ Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubuser
|
||||
嘀嗒出行_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?",requires-body=1
|
||||
多点_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic",requires-body=1
|
||||
小爱音箱_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert",requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
|
||||
知乎_移除推荐页顶部项 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2",requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
|
||||
美团外卖_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?",requires-body=1
|
||||
联享家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg",requires-body=1
|
||||
[MITM]
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
#!name=AllInOne
|
||||
#!desc=最后更新时间 2022-06-23 17:35:58
|
||||
#!desc=最后更新时间 2022-06-30 10:11:27
|
||||
#!author=blackmatrix7
|
||||
#!repo=https://github.com/blackmatrix7/ios_rule_script
|
||||
#!domain=4
|
||||
@ -8,12 +8,12 @@
|
||||
#!url-regex=4
|
||||
#!user-agent=1
|
||||
#!http-request-script=1
|
||||
#!http-response-script=27
|
||||
#!http-response-script=28
|
||||
#!redirect=62
|
||||
#!reject=433
|
||||
#!reject=434
|
||||
#!mitm=487
|
||||
#!force-http-engine-hosts=6
|
||||
#!total=1027
|
||||
#!total=1029
|
||||
|
||||
[General]
|
||||
force-http-engine-hosts = %APPEND% *.ott.cibntv.net,intl.iqiyi.com,maicai.api.ddxq.mobi,mobileapi-v6.elong.com,weibointl.api.weibo.cn,wmapi.meituan.com
|
||||
@ -29,9 +29,9 @@ DOMAIN,sugar.zhihu.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\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,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
|
||||
|
||||
|
||||
@ -204,6 +204,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
"^https?:\/\/api\.xiachufang\.com\/v\d\/ad/" - reject
|
||||
"^https?:\/\/api\.xueqiu\.com\/brand\/search\/v1\.json" - reject
|
||||
"^https?:\/\/api\.yizhibo\.com\/common\/api\/(api_)?pz$" - reject
|
||||
"^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips" - reject
|
||||
"^https?:\/\/api\.zhuishushenqi\.com\/notification\/shelfMessage" - reject
|
||||
"^https?:\/\/api\.zhuishushenqi\.com\/splashes\/ios" - reject
|
||||
"^https?:\/\/api\.zhuishushenqi\.com\/user\/bookshelf-updated" - reject
|
||||
@ -535,7 +536,7 @@ USER-AGENT,AVOS*,REJECT
|
||||
"^https?:\/\/xyz\.cnki\.net\/resourcev7\/api\/manualpush\/SlidsList$" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank.txt"
|
||||
"^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation" data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
[Script]
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
|
||||
知乎_屏蔽关键字解锁 = type=http-request,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/block",requires-body=1
|
||||
BiliBili_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/bilibili/bilibili_plus.js,pattern="^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list",requires-body=1
|
||||
Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/famijia/famijia_checkin.js,pattern="^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad",requires-body=1
|
||||
京东_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/api\.m\.jd\.com\/client\.action\?functionId=start",requires-body=1
|
||||
@ -550,17 +551,18 @@ Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubuser
|
||||
嘀嗒出行_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?",requires-body=1
|
||||
多点_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic",requires-body=1
|
||||
小爱音箱_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert",requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
|
||||
知乎_优化软件配置 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config",requires-body=1
|
||||
知乎_信息流去广告及黑名单增强 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people)",requires-body=1
|
||||
知乎_回答内容优化 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?",requires-body=1
|
||||
知乎_回答列表去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/v4\/questions",requires-body=1
|
||||
知乎_处理用户信息 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/people",requires-body=1
|
||||
知乎_官方消息去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)",requires-body=1
|
||||
知乎_热搜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items",requires-body=1
|
||||
知乎_热榜去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)",requires-body=1
|
||||
知乎_移除推荐页顶部项 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2",requires-body=1
|
||||
知乎_获取黑名单 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/settings\/blocked_users",requires-body=1
|
||||
知乎_评论去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?",requires-body=1
|
||||
知乎_预置关键词去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,pattern="^https?:\/\/api\.zhihu\.com\/search\/preset_words\?",requires-body=1
|
||||
美团外卖_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?",requires-body=1
|
||||
联享家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern="^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg",requires-body=1
|
||||
[MITM]
|
||||
|
||||
@ -18,7 +18,7 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
|
||||
## 规则统计
|
||||
|
||||
最后更新时间:2022-06-24 02:33:00
|
||||
最后更新时间:2022-06-30 10:11:27
|
||||
|
||||
各类型规则统计:
|
||||
| 类型 | 数量(条) |
|
||||
@ -29,12 +29,12 @@ QuantumultX需要添加部分分流规则才能生效,具体配置请参照数
|
||||
| URL-REGEX | 4 |
|
||||
| USER-AGENT | 1 |
|
||||
| HTTP-REQUEST-SCRIPT | 1 |
|
||||
| HTTP-RESPONSE-SCRIPT | 27 |
|
||||
| HTTP-RESPONSE-SCRIPT | 28 |
|
||||
| REDIRECT | 62 |
|
||||
| REJECT | 433 |
|
||||
| REJECT | 434 |
|
||||
| MITM | 487 |
|
||||
| FORCE-HTTP-ENGINE-HOSTS | 6 |
|
||||
| TOTAL | 1027 |
|
||||
| TOTAL | 1029 |
|
||||
|
||||
|
||||
## Surge
|
||||
|
||||
Reference in New Issue
Block a user