[知乎助手] 正式停止维护并删除
@ -1,236 +0,0 @@
|
|||||||
# 知乎助手
|
|
||||||
|
|
||||||
## 介绍
|
|
||||||
|
|
||||||
去除知乎广告,提供付费内容提醒、黑名单增强等优化阅读体验的功能。
|
|
||||||
|
|
||||||
分为Plus和Lite两个版本,Lite只提供最纯粹的去广告功能,Plus带有一些优化阅读体验的功能。
|
|
||||||
|
|
||||||
目前已实现 (✨的为Plus版本的功能,❓为过时或即将删除的功能):
|
|
||||||
|
|
||||||
1. 去除知乎的启动广告
|
|
||||||
2. 去除关注页的广告
|
|
||||||
3. 去除推荐页的广告
|
|
||||||
4. 去除回答列表的广告
|
|
||||||
5. 去除回答列表的圆桌
|
|
||||||
6. 去除回答页面的广告
|
|
||||||
7. 去除知乎直播红点
|
|
||||||
8. 去除知乎指南提示
|
|
||||||
9. 去除未读消息的红点
|
|
||||||
11. 拦截知乎内测邀请
|
|
||||||
12. 去除预置关键字广告
|
|
||||||
14. 去除热榜内的广告
|
|
||||||
15. 去除评论区内的广告
|
|
||||||
14. 去除关注页顶部的最新视频
|
|
||||||
15. 客户端中显示自己是盐选会员
|
|
||||||
16. 直接运行脚本可清理客户端内持久化的数据
|
|
||||||
17. 部分功能支持BoxJS配置
|
|
||||||
18. 推广/付费内容文首提醒✨
|
|
||||||
20. 拦截部分回答预加载以节约流量✨
|
|
||||||
21. 去除官方账号的推广消息✨
|
|
||||||
22. 去除推荐页和回答列表中黑名单用户的回答✨
|
|
||||||
24. 去除关注页顶部的最常访问✨
|
|
||||||
26. 屏蔽消息页面的知乎活动助手✨
|
|
||||||
27. 新旧版评论区黑名单用户过滤✨
|
|
||||||
28. 屏蔽转发的黑名单用户的想法✨
|
|
||||||
29. 推荐页屏蔽关键词解锁(支持正则)✨
|
|
||||||
27. 精简知乎8.3.0版本推荐页顶部项 [#465](https://github.com/blackmatrix7/ios_rule_script/issues/465)✨
|
|
||||||
28. 精简知乎6.x版本首页顶部的标签页✨
|
|
||||||
30. ~~知乎网页版去广告~~ [#21](https://github.com/blackmatrix7/ios_rule_script/issues/21)❓
|
|
||||||
31. ~~去除热搜内的广告~~❓
|
|
||||||
33. ~~拦截知乎下发的配置,如皮肤(alpha)~~✨❓
|
|
||||||
34. ~~减少推荐页内的视频(alpha)~~✨❓
|
|
||||||
35. ~~去除推荐页的付费推荐内容~~✨❓
|
|
||||||
|
|
||||||
## 最近更新
|
|
||||||
|
|
||||||
1. 适配至8.33.0 (11018)
|
|
||||||
|
|
||||||
## 版本切换
|
|
||||||
|
|
||||||
**在Lite版本和Plus版本切换时,务必手动运行一次脚本,清理持久化数据,以免影响切换效果。**
|
|
||||||
|
|
||||||
清理持久化数据后,如果使用Plus版本,请重新获取黑名单。
|
|
||||||
|
|
||||||
## 异常处理
|
|
||||||
|
|
||||||
**所有版本**
|
|
||||||
|
|
||||||
脚本的执行依赖于规则对`118.89.204.198`、`2402:4e00:1200:ed00:0:9089:6dac:96b6`两个IP地址的屏蔽。出现异常请先抓包确认上述两个地址的请求已经全部被正确拦截,无法屏蔽上述两个地址将导致所有功能失效!
|
|
||||||
|
|
||||||
**知乎 8.3版本**
|
|
||||||
|
|
||||||
适配情况请访问:https://github.com/blackmatrix7/ios_rule_script/issues/465
|
|
||||||
|
|
||||||
## 部分功能说明
|
|
||||||
|
|
||||||
### BoxJS可选配置
|
|
||||||
|
|
||||||
部分功能支持BoxJS配置,配置项可能有所增减。
|
|
||||||
|
|
||||||
如果有问题请将日志等级设置到DEBUG后提交反馈。
|
|
||||||
|
|
||||||
Lite版本请确保所有Plus版本的选项都为关闭状态,以减少不必要的代码执行。
|
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/images/07.jpg" style="zoom:50%;" />
|
|
||||||
|
|
||||||
### 屏蔽关键词解锁
|
|
||||||
|
|
||||||
现在非会员和会员都可以在“设置-屏蔽设置-屏蔽关键词”中使用此功能。
|
|
||||||
|
|
||||||
**真正的盐选会员,使用此脚本后,会覆盖掉盐选会员的的配置功能,但已配置好的关键词不会失效。如果不需要此功能,可以在BoxJS中永久关闭。**
|
|
||||||
|
|
||||||
此功能并非真正解锁会员特权,只是借用知乎APP的操作界面,通过脚本实现的关键词屏蔽。如果你已经是尊贵的盐选会员,建议关闭此功能,使用盐选会员自带的关键词屏蔽。
|
|
||||||
|
|
||||||
**知乎助手的关键词解锁额外提供了正则表达式的屏蔽功能,可以实现一些较复杂的判断逻辑,及提高屏蔽效率。**比如关键词设置`男士.*(沐浴露|香水)+`,表示只有“男士”和“沐浴露”或“香水”共同出现时才进行屏蔽。而`(羊毛|优惠|红包)+`,表示“羊毛”、“优惠”、“红包”出现任意一个关键词就进行屏蔽,可以替代原先的羊毛”、“优惠”、“红包”三个关键词,减少关键词数量,提高屏蔽效率。
|
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/images/06.jpg" style="zoom:50%;" />
|
|
||||||
|
|
||||||
#### 小技巧
|
|
||||||
|
|
||||||
通过抓包获取推荐页的数据,可以通过正则屏蔽任意内容。
|
|
||||||
|
|
||||||
### 付费内容提醒
|
|
||||||
|
|
||||||
遇到需要付费阅读的回答时,会**将付费内容的提醒置顶**。避免阅读中途发现内容需要付费的情况,提高阅读体验。
|
|
||||||
|
|
||||||
浅色/深色效果如下图:
|
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/images/04.jpg" style="zoom:50%;" />
|
|
||||||
|
|
||||||
### 推广内容提醒
|
|
||||||
|
|
||||||
遇到含有营销推广/购物推广内容的回答时,会将含有推广内容的提醒置顶,自行判断是否继续阅读。
|
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/images/05.png" style="zoom:50%;" />
|
|
||||||
|
|
||||||
### 黑名单增强
|
|
||||||
|
|
||||||
知乎的黑名单设计,无法屏蔽黑名单用户的公开信息。将某人拉黑后,他的回答依旧会出现在推荐页和回答列表中。
|
|
||||||
|
|
||||||
黑名单增强就是对黑名单用户的回答进行屏蔽,让他的回答从推荐页和回答列表、评论和想法中消失。(如果只为在推荐页屏蔽某人,建议用知乎提供的屏蔽用户的方法,这是在服务器端进行的更加高效的屏蔽。)
|
|
||||||
|
|
||||||
黑名单匹配方式为用户名,同名用户都会被屏蔽,“[已重置]”除外。
|
|
||||||
|
|
||||||
屏蔽后,如果需要定向查看某个黑名单的用户,请搜索他的名称,然后点进去看他的回答。
|
|
||||||
|
|
||||||
#### 自定义黑名单
|
|
||||||
|
|
||||||
**首次使用时,需要获取一次完整的黑名单**。请从“我的”-“设置”-“屏蔽设置”-“管理黑名单”,进入黑名单列表。不断往下滑动,直到滑动到列表底部。滑动到底部后,会弹出通知“获取脚本黑名单结束”,表示黑名单获取完成。
|
|
||||||
|
|
||||||
**每次重新进入“管理黑名单”功能时,历史黑名单会被清空,必须滑动到底部,保证黑名单获取完成,否则可能会丢失之前的脚本黑名单数据。**
|
|
||||||
|
|
||||||
脚本黑名单可以跟随知乎登录账户切换,每次切换知乎不同的账户时,请重新获取一次黑名单。
|
|
||||||
|
|
||||||
每次添加或移除黑名单用户,脚本内置的黑名单也会同步更新。
|
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/images/01.jpg" style="zoom:50%;" />
|
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/images/03.jpg" style="zoom:50%;" />
|
|
||||||
|
|
||||||
<img src="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/images/02.jpg" style="zoom:50%;" />
|
|
||||||
|
|
||||||
## 配置说明(Plus)
|
|
||||||
|
|
||||||
### Surge
|
|
||||||
|
|
||||||
使用模块
|
|
||||||
|
|
||||||
```ini
|
|
||||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.sgmodule
|
|
||||||
```
|
|
||||||
|
|
||||||
### Loon
|
|
||||||
|
|
||||||
使用插件
|
|
||||||
|
|
||||||
```ini
|
|
||||||
[Plugin]
|
|
||||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.lnplugin, tag=知乎助手_去广告及体验增强, enabled=true
|
|
||||||
```
|
|
||||||
|
|
||||||
### Quantumult X
|
|
||||||
|
|
||||||
配置文件
|
|
||||||
|
|
||||||
```ini
|
|
||||||
[filter_local]
|
|
||||||
# 知乎去广告,以下规则请放置在filter_local最顶部
|
|
||||||
IP-CIDR,118.89.204.198/32,REJECT
|
|
||||||
IP6-CIDR,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT
|
|
||||||
# 知乎去广告,以下规则的位置越前方越好
|
|
||||||
HOST,appcloud2.in.zhihu.com,REJECT
|
|
||||||
HOST,mqtt.zhihu.com,reject
|
|
||||||
HOST,sugar.zhihu.com,reject
|
|
||||||
USER-AGENT,AVOS*,REJECT
|
|
||||||
|
|
||||||
[rewrite_remote]
|
|
||||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_plus.qxrewrite, tag=知乎助手_去广告及体验增强, update-interval=86400, opt-parser=false, enabled=true
|
|
||||||
```
|
|
||||||
|
|
||||||
## 配置说明(Lite)
|
|
||||||
|
|
||||||
Plus版本功能较多,需要消耗较多的系统资源。如果出现VPN自动关闭或VPN频繁重启的情况,请使用下面的Lite版本的配置。Lite版本专注于去广告功能,资源开销较小,稳定性更佳。
|
|
||||||
|
|
||||||
### Surge
|
|
||||||
|
|
||||||
使用模块
|
|
||||||
|
|
||||||
```ini
|
|
||||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_lite.sgmodule
|
|
||||||
```
|
|
||||||
|
|
||||||
### Loon
|
|
||||||
|
|
||||||
```ini
|
|
||||||
[Plugin]
|
|
||||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_lite.lnplugin, tag=知乎助手_去广告, enabled=true
|
|
||||||
```
|
|
||||||
|
|
||||||
#### Quantumult X
|
|
||||||
|
|
||||||
配置文件
|
|
||||||
|
|
||||||
```ini
|
|
||||||
[filter_local]
|
|
||||||
# 知乎去广告,以下规则请放置在filter_local最顶部
|
|
||||||
IP-CIDR,118.89.204.198/32,REJECT
|
|
||||||
IP6-CIDR,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT
|
|
||||||
HOST,118.89.204.198,REJECT
|
|
||||||
# 知乎去广告,以下规则的位置越前方越好
|
|
||||||
HOST,appcloud2.in.zhihu.com,REJECT
|
|
||||||
HOST,mqtt.zhihu.com,reject
|
|
||||||
HOST,sugar.zhihu.com,reject
|
|
||||||
USER-AGENT,AVOS*,REJECT
|
|
||||||
|
|
||||||
[rewrite_remote]
|
|
||||||
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_lite.qxrewrite, tag=知乎助手_去广告, update-interval=86400, opt-parser=false, enabled=true
|
|
||||||
```
|
|
||||||
|
|
||||||
## 其他问题
|
|
||||||
|
|
||||||
### 脚本内置黑名单
|
|
||||||
|
|
||||||
对于脚本内置的黑名单,**保持谨慎和克制的原则**,只加入无法通过加入黑名单进行屏蔽的账号。如需要屏蔽更多的账户,可以由使用者手动将其加入黑名单来实现。
|
|
||||||
|
|
||||||
推荐页中脚本内置的黑名单基本上都已去除,只保留”会员推荐“等几个,因为这些都不是账号,不能通过加入黑名单来屏蔽。并且, 会员推荐的屏蔽功能,只有在你获取过一次黑名单后才会生效。如果你用的是Lite版本,完全不用担心屏蔽问题。
|
|
||||||
|
|
||||||
官方消息中脚本内置的黑名单也仅保留无法加入黑名单的营销账号,其他的如果需要屏蔽,手动把它们加入黑名单就好。
|
|
||||||
|
|
||||||
### Quantumult X 偶尔加载失败
|
|
||||||
|
|
||||||
参考 https://github.com/blackmatrix7/ios_rule_script/issues/268 。
|
|
||||||
|
|
||||||
## 最后
|
|
||||||
|
|
||||||
如果能帮上你,麻烦给个Star⭐。如果没能帮上你,麻烦[点击这里反馈给我](https://github.com/codetracer/horus/issues/new),个人测试覆盖场景有限,你的及时反馈可以让我尽快排查和解决问题。
|
|
||||||
|
|
||||||
特别感谢:
|
|
||||||
|
|
||||||
[@onewayticket255](https://github.com/onewayticket255/Surge-Script)
|
|
||||||
|
|
||||||
[@fiiir](https://github.com/fiiir)
|
|
||||||
|
|
||||||
[@LuzMasonj](https://github.com/LuzMasonj)
|
|
||||||
|
|
||||||
[@dcty](https://github.com/dcty)
|
|
Before Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 112 KiB |
Before Width: | Height: | Size: 217 KiB |
Before Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 93 KiB |
@ -1,22 +0,0 @@
|
|||||||
# 知乎纯净版
|
|
||||||
|
|
||||||
## 前言
|
|
||||||
|
|
||||||
新坑,尽量在不影响使用的前提下,屏蔽知乎APP更多的请求。
|
|
||||||
|
|
||||||
起因是打算屏蔽知乎APP内的角标的等内容,这些基本都不是广告,不方便加入到知乎助手中强加给所有人,所以有了这个知乎纯净版。
|
|
||||||
|
|
||||||
## 说明
|
|
||||||
|
|
||||||
仅实现请求的拦截,不涉及脚本对请求的处理,不带MITM,需要配合知乎助手使用。
|
|
||||||
|
|
||||||
很多请求,目前不清楚作用,经过简单测试拦截后并不影响知乎使用,所以把它们添加进来。但现阶段不影响使用不代表将来不影响使用,当前版本不影响使用不代表后续版本不影响使用,个人不影响使用不代表他人不影响使用。
|
|
||||||
|
|
||||||
非必要不要使用这个模块,它未经严谨测试,可能会带来功能异常、卡顿、发热、请求风暴等等。
|
|
||||||
|
|
||||||
## 链接
|
|
||||||
|
|
||||||
比较懒就不写了吧。
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,35 +0,0 @@
|
|||||||
# 知乎纯净版,屏蔽更多请求,需搭配知乎助手使用
|
|
||||||
|
|
||||||
[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
|
|
@ -1,30 +0,0 @@
|
|||||||
# 知乎纯净版,屏蔽更多请求,需搭配知乎助手使用
|
|
||||||
|
|
||||||
# 屏蔽知乎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
|
|
@ -1,33 +0,0 @@
|
|||||||
#!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
|
|
Before Width: | Height: | Size: 5.3 KiB |
@ -1,45 +0,0 @@
|
|||||||
#!name= 知乎助手Lite
|
|
||||||
#!desc= 知乎助手Lite,只提供最纯粹的去广告功能。
|
|
||||||
#!openUrl=https://github.com/blackmatrix7/ios_rule_script/tree/master/script/zhihu
|
|
||||||
#!author= blackmatrix7
|
|
||||||
#!homepage= https://github.com/blackmatrix7/ios_rule_script
|
|
||||||
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png
|
|
||||||
|
|
||||||
[Rule]
|
|
||||||
# 知乎去广告
|
|
||||||
DOMAIN,118.89.204.198,REJECT
|
|
||||||
IP-CIDR,118.89.204.198/32,REJECT,no-resolve
|
|
||||||
IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT-DROP,no-resolve
|
|
||||||
DOMAIN,appcloud2.in.zhihu.com,REJECT
|
|
||||||
DOMAIN,mqtt.zhihu.com,REJECT
|
|
||||||
DOMAIN,sugar.zhihu.com,REJECT
|
|
||||||
USER-AGENT,AVOS*,REJECT
|
|
||||||
# 拦截知乎回答下的广告
|
|
||||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations,REJECT
|
|
||||||
# 拦截知乎品牌提问广告
|
|
||||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
|
||||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
|
|
||||||
|
|
||||||
[URL Rewrite]
|
|
||||||
# 知乎拦截其他广告
|
|
||||||
^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) - reject-dict
|
|
||||||
# 知乎网页版去广告
|
|
||||||
^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings - reject-dict
|
|
||||||
^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation - reject-dict
|
|
||||||
^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner - reject-dict
|
|
||||||
^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation - reject-dict
|
|
||||||
# 知乎品牌提问广告
|
|
||||||
^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject-dict
|
|
||||||
^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\? - reject-dict
|
|
||||||
|
|
||||||
[Script]
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/people requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_处理用户信息
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=) requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_信息流去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/(v4\/)?questions\/\d+ requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_回答列表去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/preset_words\? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_预置关键词去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_热搜去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_热榜去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_评论去广告
|
|
||||||
|
|
||||||
[MITM]
|
|
||||||
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
|
|
@ -1,32 +0,0 @@
|
|||||||
# 知乎处理用户信息
|
|
||||||
^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\/search\/preset_words\? 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?:\/\/appcloud2\.zhihu\.com\/v\d+\/config 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?:\/\/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\/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
|
|
||||||
|
|
||||||
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
|
|
@ -1,23 +0,0 @@
|
|||||||
#!name=知乎
|
|
||||||
#!desc=知乎助手Lite版,仅含去广告
|
|
||||||
|
|
||||||
[Rule]
|
|
||||||
# 知乎广告拦截
|
|
||||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_remove_ads.list,REJECT-NO-DROP
|
|
||||||
|
|
||||||
[Map Local]
|
|
||||||
# 知乎其他广告拦截
|
|
||||||
^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/(notifications\/v\d\/count|v\d\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|.*featured-comment-ad|ad-style-service) data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
|
||||||
|
|
||||||
[Script]
|
|
||||||
知乎_处理用户信息 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/people\/,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_信息流去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_回答列表去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/(v4\/)?questions\/\d+,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_预置关键词去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/search\/preset_words\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_热搜去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/search\/top_search\/tabs\/hot\/items,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_热榜去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/topstory\/hot-lists?(\?|\/),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_评论去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/(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
|
|
||||||
知乎_优化软件配置 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
|
|
||||||
[MITM]
|
|
||||||
hostname = %APPEND% www.zhihu.com,api.zhihu.com,zhuanlan.zhihu.com
|
|
@ -1,69 +0,0 @@
|
|||||||
#!name= 知乎助手Plus
|
|
||||||
#!desc= 知乎助手Plus,去广告及功能增强。
|
|
||||||
#!openUrl=https://github.com/blackmatrix7/ios_rule_script/tree/master/script/zhihu
|
|
||||||
#!author= blackmatrix7
|
|
||||||
#!homepage= https://github.com/blackmatrix7/ios_rule_script
|
|
||||||
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.png
|
|
||||||
|
|
||||||
[Rule]
|
|
||||||
# 知乎去广告
|
|
||||||
DOMAIN,118.89.204.198,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
|
|
||||||
DOMAIN,appcloud2.in.zhihu.com,REJECT
|
|
||||||
DOMAIN,mqtt.zhihu.com,REJECT
|
|
||||||
DOMAIN,sugar.zhihu.com,REJECT
|
|
||||||
USER-AGENT,AVOS*,REJECT
|
|
||||||
# 拦截知乎回答下的广告
|
|
||||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations,REJECT
|
|
||||||
# 知乎拦截部分预加载
|
|
||||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription),REJECT
|
|
||||||
# 拦截知乎品牌提问广告
|
|
||||||
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
|
||||||
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
|
|
||||||
|
|
||||||
[URL Rewrite]
|
|
||||||
# 知乎去除最常访问
|
|
||||||
^https?:\/\/api\.zhihu\.com\/moments\/recent - reject-dict
|
|
||||||
# 知乎去除回答下的广告
|
|
||||||
^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations - reject-dict
|
|
||||||
# 知乎拦截部分预加载
|
|
||||||
^https?:\/\/www\.zhihu\.com\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription) - reject
|
|
||||||
# 知乎拦截其他广告
|
|
||||||
^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) - reject-dict
|
|
||||||
# 知乎网页版去广告
|
|
||||||
^https?:\/\/www\.zhihu\.com\/api\/v4/(questions|anwsers)\/\d+/related-readings - reject-dict
|
|
||||||
^https?:\/\/www\.zhihu\.com\/api\/v4\/hot_recommendation - reject-dict
|
|
||||||
^https?:\/\/www\.zhihu\.com\/commercial_api\/banners_v3\/mobile_banner - reject-dict
|
|
||||||
^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation - reject-dict
|
|
||||||
# 知乎品牌提问广告
|
|
||||||
^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject-dict
|
|
||||||
^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\? - reject-dict
|
|
||||||
# 屏蔽消息页面上拉的用户精选
|
|
||||||
^https?:\/\/api\.zhihu\.com/moments/hybrid\? - reject-dict
|
|
||||||
# 知乎下发的配置
|
|
||||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject-200
|
|
||||||
# 屏蔽知乎“我的”页面推荐开通会员的卡片
|
|
||||||
^https?:\/\/api\.zhihu\.com\/people\/self\/new_user_card - reject-200
|
|
||||||
# 知乎去除Tab页关注人头像
|
|
||||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject-dict
|
|
||||||
# 屏蔽知乎8.3.0版本首页顶部的视频角标
|
|
||||||
^https?:\/\/api\.zhihu\.com\/explore\/entry\/tips - reject
|
|
||||||
|
|
||||||
[Script]
|
|
||||||
http-request ^https?:\/\/api\.zhihu\.com\/feed-root\/block requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_屏蔽关键字解锁
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/people requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_处理用户信息
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people) requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_信息流去广告及黑名单增强
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_获取黑名单
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/(v4\/)?questions\/\d+ requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_回答列表去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message|timeline\/entry\/system_message) requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_官方消息去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/preset_words\? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_预置关键词去广告
|
|
||||||
http-response ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_回答内容优化
|
|
||||||
http-response ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_优化软件配置
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/top_search\/tabs\/hot\/items requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_热搜去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_热榜去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_评论去广告
|
|
||||||
http-response ^https?:\/\/api\.zhihu\.com\/feed-root\/sections\/query\/v2 requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js,tag=知乎_移除推荐页顶部项
|
|
||||||
|
|
||||||
[MITM]
|
|
||||||
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
|
|
@ -1,56 +0,0 @@
|
|||||||
# 知乎处理用户信息
|
|
||||||
^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
|
|
@ -1,47 +0,0 @@
|
|||||||
#!name=知乎助手Plus
|
|
||||||
#!desc=知乎助手Plus版,去广告及阅读体验增强
|
|
||||||
|
|
||||||
[Rule]
|
|
||||||
# 屏蔽知乎8.3.0版本首页顶部的视频角标
|
|
||||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/explore\/entry\/tips,REJECT-TINYGIF
|
|
||||||
# 知乎广告拦截
|
|
||||||
RULE-SET,https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu_remove_ads.list,REJECT-NO-DROP
|
|
||||||
|
|
||||||
|
|
||||||
[URL Rewrite]
|
|
||||||
# 屏蔽知乎“我的”页面推荐开通会员的卡片
|
|
||||||
^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/people\/self\/new_user_card - reject
|
|
||||||
|
|
||||||
[Map Local]
|
|
||||||
# 屏蔽知乎下发的配置,如皮肤等
|
|
||||||
^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json" header="Content-Type: application/x-protobuf"
|
|
||||||
# 知乎去除Tab页关注人头像
|
|
||||||
^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/moments\/tab_v2 data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
|
||||||
# 知乎去除最常访问
|
|
||||||
^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/moments\/recent data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
|
||||||
# 知乎其他广告拦截
|
|
||||||
^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/(notifications\/v\d\/count|v\d\/package|me\/guides|drama\/living-info|ad|fringe|commercial|market\/popovers|.*featured-comment-ad|ad-style-service) data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
|
||||||
# 屏蔽消息页面上拉的用户精选
|
|
||||||
^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/moments/hybrid\? data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
|
||||||
# 新人必看之类的入口
|
|
||||||
^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/flow\/show_entrance data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
|
||||||
# 疑似通知角标
|
|
||||||
^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/settings\/new\/notification data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
|
||||||
|
|
||||||
[Script]
|
|
||||||
知乎_处理用户信息 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/people\/,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_信息流去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/(moments|topstory)(\/|\?)?(recommend|action=|feed_type=)(?!\/people),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_获取黑名单 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/settings\/blocked_users,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_官方消息去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/notifications\/v3\/(message|timeline\/entry\/system_message),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_预置关键词去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/search\/preset_words\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_回答列表去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/(v4\/)?questions\/\d+,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_回答内容优化 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/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
|
|
||||||
知乎_优化软件配置 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_热搜去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/search\/top_search\/tabs\/hot\/items,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_热榜去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/topstory\/hot-lists?(\?|\/),script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_评论去广告 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/(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
|
|
||||||
知乎_解锁关键词屏蔽 = type=http-request,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/feed-root\/block,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
知乎_移除推荐页顶部项 = type=http-request,requires-body=1,max-size=0,pattern=^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/feed-root\/sections\/query\/v2,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zhihu/zhihu.js
|
|
||||||
|
|
||||||
[MITM]
|
|
||||||
hostname = %APPEND% 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
|
|
@ -1,23 +0,0 @@
|
|||||||
# 知乎去广告
|
|
||||||
IP-CIDR,118.89.204.198/32,REJECT-DROP,no-resolve
|
|
||||||
IP-CIDR6,2402:4e00:1200:ed00:0:9089:6dac:96b6/128,REJECT-DROP,no-resolve
|
|
||||||
DOMAIN,appcloud2.in.zhihu.com,REJECT
|
|
||||||
DOMAIN,mqtt.zhihu.com,REJECT
|
|
||||||
DOMAIN,sugar.zhihu.com,REJECT
|
|
||||||
USER-AGENT,AVOS*,REJECT
|
|
||||||
# 屏蔽知乎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)))\/commercial_api\/launch_v2\?,REJECT
|
|
||||||
# 拦截知乎品牌提问广告
|
|
||||||
URL-REGEX,^https?:\/\/(api\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/brand\/question\/\d+/card\?,REJECT
|
|
||||||
URL-REGEX,^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
|
|
||||||
# 拦截知乎回答下的广告
|
|
||||||
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)))\/appview\/(p|v2\/answer|zvideo)\/.*entry=(preload-topstory|preload-search|preload-subscription),REJECT
|
|
||||||
# 知乎网页版去广告
|
|
||||||
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\/hot_recommendation,REJECT-TINYGIF
|
|
||||||
URL-REGEX,^https?:\/\/(www\.zhihu\.com|(103\.41\.167\.(226|234|235|236)))\/commercial_api\/banners_v3\/mobile_banner,REJECT-TINYGIF
|
|
||||||
URL-REGEX,^https?:\/\/zhuanlan\.zhihu\.com\/api\/articles\/\d+\/recommendation,REJECT-TINYGIF
|
|