2021-04-09 19:34:05 +08:00
|
|
|
# 知乎处理用户信息
|
2022-01-07 19:41:28 +08:00
|
|
|
^https?:\/\/api\.zhihu\.com\/people\/ url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
2021-04-09 19:34:05 +08:00
|
|
|
# 知乎信息流去广告
|
2022-01-07 19:41:28 +08:00
|
|
|
^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
2021-04-09 19:34:05 +08:00
|
|
|
# 知乎回答列表去广告
|
2022-01-07 19:41:28 +08:00
|
|
|
^https?:\/\/api\.zhihu\.com\/v4\/questions url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
2021-04-09 19:34:05 +08:00
|
|
|
# 知乎预置关键词去广告
|
2022-01-07 19:41:28 +08:00
|
|
|
^https?:\/\/api\.zhihu\.com\/search\/preset_words\? url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
2021-04-09 19:34:05 +08:00
|
|
|
# 知乎热搜去广告
|
2022-01-07 19:41:28 +08:00
|
|
|
^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
2021-04-09 19:34:05 +08:00
|
|
|
# 知乎热榜去广告
|
2022-01-07 19:41:28 +08:00
|
|
|
^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) url script-response-body https://gist.githubusercontent.com/blackmatrix7/2e550ebf28ca60d620654e394ec47e0b/raw/zhihu.js
|
2021-04-09 19:34:05 +08:00
|
|
|
# 知乎评论去广告
|
2022-01-07 19:41:28 +08:00
|
|
|
^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
|
|
|
|
# 拦截知乎开屏广告
|
|
|
|
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\? url reject-dict
|
2021-04-09 19:34:05 +08:00
|
|
|
# 知乎去除回答下的广告
|
|
|
|
^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations url reject-dict
|
|
|
|
# 知乎其他广告拦截
|
|
|
|
^https?:\/\/api\.zhihu\.com\/(notifications\/v3\/count|v3\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|.*featured-comment-ad) 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
|
|
|
|
|
2022-01-07 19:41:28 +08:00
|
|
|
hostname = www.zhihu.com,api.zhihu.com,zhuanlan.zhihu.com,103.41.167.236,103.41.167.234,103.41.167.235,103.41.167.226
|