mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-25 01:48:24 +08:00
56 lines
4.6 KiB
Plaintext
56 lines
4.6 KiB
Plaintext
# 知乎处理用户信息
|
|
^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\/(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?:\/\/api\.zhihu\.com\/(v4\/)?questions\/\d+ 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://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://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/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?:\/\/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\/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://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://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://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
# 知乎屏蔽关键词解锁
|
|
^https?:\/\/api\.zhihu\.com\/feed-root\/block url script-analyze-echo-response https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
# 知乎8.3.0移除推荐页顶部项
|
|
^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
|
|
# 拦截知乎开屏广告
|
|
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\? url reject-dict
|
|
# 知乎去除最常访问
|
|
^https?:\/\/api\.zhihu\.com\/moments\/recent url reject-dict
|
|
# 知乎去除回答下的广告
|
|
^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations url reject-dict
|
|
# 知乎其他广告拦截
|
|
^https?:\/\/api\.zhihu\.com\/(notifications\/v\d\/count|v\d\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|.*featured-comment-ad|ad-style-service) url reject-dict
|
|
# 知乎拦截部分预加载
|
|
# ^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription) url reject-dict
|
|
# 知乎网页版去广告
|
|
^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings url reject-dict
|
|
^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation url reject-dict
|
|
^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner url reject-dict
|
|
^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation url reject-dict
|
|
# 知乎品牌提问广告
|
|
^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? url reject-dict
|
|
^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\? url reject-dict
|
|
# 屏蔽消息页面上拉的用户精选
|
|
^https?:\/\/api\.zhihu\.com/moments/hybrid\? url reject-dict
|
|
# 知乎下发的配置,如皮肤等
|
|
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config url reject-200
|
|
# 屏蔽知乎“我的”页面推荐开通会员的卡片
|
|
^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card url reject-200
|
|
# 知乎去除Tab页关注人头像
|
|
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 url reject-dict
|
|
# 屏蔽知乎8.3.0版本首页顶部的视频角标
|
|
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips url reject
|
|
|
|
hostname = www.zhihu.com,api.zhihu.com,zhuanlan.zhihu.com,appcloud2.zhihu.com,103.41.167.236,103.41.167.234,103.41.167.235,103.41.167.226 |