[知乎助手] 适配 8.22.0(9926)
This commit is contained in:
22
script/zhihu/pure/README.md
Normal file
22
script/zhihu/pure/README.md
Normal file
@ -0,0 +1,22 @@
|
||||
# 知乎纯净版
|
||||
|
||||
## 前言
|
||||
|
||||
新坑,尽量在不影响使用的前提下,屏蔽知乎APP更多的请求。
|
||||
|
||||
起因是打算屏蔽知乎APP内的角标的等内容,这些基本都不是广告,不方便加入到知乎助手中强加给所有人,所以有了这个知乎纯净版。
|
||||
|
||||
## 说明
|
||||
|
||||
仅实现请求的拦截,不涉及脚本对请求的处理,不带MITM,需要配合知乎助手使用。
|
||||
|
||||
很多请求,目前不清楚作用,经过简单测试拦截后并不影响知乎使用,所以把它们添加进来。但现阶段不影响使用不代表将来不影响使用,当前版本不影响使用不代表后续版本不影响使用,个人不影响使用不代表他人不影响使用。
|
||||
|
||||
非必要不要使用这个模块,它未经严谨测试,可能会带来功能异常、卡顿、发热、请求风暴等等。
|
||||
|
||||
## 链接
|
||||
|
||||
比较懒就不写了吧。
|
||||
|
||||
|
||||
|
||||
35
script/zhihu/pure/zhihu_pure.lnplugin
Normal file
35
script/zhihu/pure/zhihu_pure.lnplugin
Normal file
@ -0,0 +1,35 @@
|
||||
# 知乎纯净版,屏蔽更多请求,需搭配知乎助手使用
|
||||
|
||||
[Rule]
|
||||
DOMAIN,zhihu-web-analytics.zhihu.com,REJECT
|
||||
|
||||
|
||||
[URL Rewrite]
|
||||
# 屏蔽知乎8.3.0版本首页顶部的视频角标
|
||||
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
||||
# 屏蔽正在发生
|
||||
^https:\/\/api\.zhihu\.com\/feed-root\/happening - reject
|
||||
# 可能是内购之类的
|
||||
^https:\/\/api\.zhihu\.com\/order\/v1\/records\/iap - reject
|
||||
# 可能是某些通知相关的配置
|
||||
^https?:\/\/api\.zhihu\.com\/settings\/new\/notification - reject
|
||||
# 不清楚作用,屏蔽暂时不影响正常运行
|
||||
^https:\/\/api\.zhihu\.com\/zst\/events\/s - reject
|
||||
^https:\/\/api\.zhihu\.com\/account\/attach_info - reject
|
||||
^https:\/\/api\.zhihu\.com\/slytherin\/plus_panel_v2 - reject
|
||||
^https:\/\/api\.zhihu\.com\/creator_board - reject
|
||||
^https:\/\/api\.zhihu\.com\/account\/toggle - reject
|
||||
^https:\/\/api\.zhihu\.com\/market\/popovers_v2 - reject
|
||||
^https:\/\/api\.zhihu\.com\/api\/v4\/member\/login\/record - reject
|
||||
^https:\/\/api\.zhihu\.com\/versioning\/ironman\/latest\? - reject
|
||||
^https:\/\/appcloud2\.zhihu\.com\/v3\/resource - reject
|
||||
^https:\/\/api\.zhihu\.com\/usertask-core\/action\/read_content - reject
|
||||
^https:\/\/www\.zhihu\.com\/api\/v4\/mcn\/goods\/incontent - reject
|
||||
^https:\/\/zhuanlan\.zhihu\.com\/check_health - reject
|
||||
^https:\/\/api\.zhihu\.com\/check_health - reject
|
||||
^https:\/\/www\.zhihu\.com\/check_health - reject
|
||||
^https:\/\/api\.zhihu\.com\/pluton_v2\/qa_recommend\/card - reject
|
||||
^https:\/\/www\.zhihu\.com\/sc-profiler - reject
|
||||
^https:\/\/api\.zhihu\.com\/zst\/events\/p - reject
|
||||
# ^https:\/\/api\.zhihu\.com\/pluton\/ab\? - reject
|
||||
# ^https:\/\/api\.zhihu\.com\/poisson\/flow\/free - reject
|
||||
30
script/zhihu/pure/zhihu_pure.qxrewrite
Normal file
30
script/zhihu/pure/zhihu_pure.qxrewrite
Normal file
@ -0,0 +1,30 @@
|
||||
# 知乎纯净版,屏蔽更多请求,需搭配知乎助手使用
|
||||
|
||||
# 屏蔽知乎8.3.0版本首页顶部的视频角标
|
||||
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips url reject
|
||||
# 屏蔽正在发生
|
||||
^https:\/\/api\.zhihu\.com\/feed-root\/happening url reject
|
||||
# 可能是内购之类的
|
||||
^https:\/\/api\.zhihu\.com\/order\/v1\/records\/iap url reject
|
||||
# 可能是某些通知相关的配置
|
||||
^https?:\/\/api\.zhihu\.com\/settings\/new\/notification url reject
|
||||
# 不清楚作用,屏蔽暂时不影响正常运行
|
||||
^https:\/\/api\.zhihu\.com\/zst\/events\/s url reject
|
||||
^https:\/\/api\.zhihu\.com\/account\/attach_info url reject
|
||||
^https:\/\/api\.zhihu\.com\/slytherin\/plus_panel_v2 url reject
|
||||
^https:\/\/api\.zhihu\.com\/creator_board url reject
|
||||
^https:\/\/api\.zhihu\.com\/account\/toggle url reject
|
||||
^https:\/\/api\.zhihu\.com\/market\/popovers_v2 url reject
|
||||
^https:\/\/api\.zhihu\.com\/api\/v4\/member\/login\/record url reject
|
||||
^https:\/\/api\.zhihu\.com\/versioning\/ironman\/latest\? url reject
|
||||
^https:\/\/appcloud2\.zhihu\.com\/v3\/resource url reject
|
||||
^https:\/\/api\.zhihu\.com\/usertask-core\/action\/read_content url reject
|
||||
^https:\/\/www\.zhihu\.com\/api\/v4\/mcn\/goods\/incontent url reject
|
||||
^https:\/\/zhuanlan\.zhihu\.com\/check_health url reject
|
||||
^https:\/\/api\.zhihu\.com\/check_health url reject
|
||||
^https:\/\/www\.zhihu\.com\/check_health url reject
|
||||
^https:\/\/api\.zhihu\.com\/pluton_v2\/qa_recommend\/card url reject
|
||||
^https:\/\/www\.zhihu\.com\/sc-profiler url reject
|
||||
^https:\/\/api\.zhihu\.com\/zst\/events\/p url reject
|
||||
^https:\/\/api\.zhihu\.com\/pluton\/ab\? url reject
|
||||
# ^https:\/\/api\.zhihu\.com\/poisson\/flow\/free url reject
|
||||
33
script/zhihu/pure/zhihu_pure.sgmodule
Normal file
33
script/zhihu/pure/zhihu_pure.sgmodule
Normal file
@ -0,0 +1,33 @@
|
||||
#!name=知乎
|
||||
#!desc=知乎纯净版,屏蔽更多请求,需搭配知乎助手使用
|
||||
|
||||
[Rule]
|
||||
# 屏蔽知乎8.3.0版本首页顶部的视频角标
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/explore\/entry\/tips,REJECT-TINYGIF
|
||||
# 屏蔽正在发生
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/feed-root\/happening,REJECT-TINYGIF
|
||||
# 可能是内购之类的
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/order\/v1\/records\/iap,REJECT-TINYGIF
|
||||
# 可能是某些通知相关的配置
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/settings\/new\/notification,REJECT-TINYGIF
|
||||
# 不清楚作用,屏蔽暂时不影响正常运行
|
||||
DOMAIN,zhihu-web-analytics.zhihu.com,REJECT,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/zst\/events\/s,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/account\/attach_info,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/slytherin\/plus_panel_v2,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/creator_board,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/account\/toggle,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/market\/popovers_v2,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/api\/v4\/member\/login\/record,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/versioning\/ironman\/latest\?,REJECT-TINYGIF
|
||||
URL-REGEX,^https:\/\/appcloud2\.zhihu\.com\/v3\/resource,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/usertask-core\/action\/read_content,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/api\/v4\/mcn\/goods\/incontent,REJECT-TINYGIF
|
||||
URL-REGEX,^https:\/\/zhuanlan\.zhihu\.com\/check_health,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/check_health,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/check_health,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/pluton_v2\/qa_recommend\/card,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/sc-profiler,REJECT-TINYGIF
|
||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/zst\/events\/p,REJECT-TINYGIF
|
||||
# URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/pluton\/ab\?,REJECT-TINYGIF
|
||||
# URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/poisson\/flow\/free,REJECT-TINYGIF
|
||||
Reference in New Issue
Block a user