2022-06-30 10:11:38

This commit is contained in:
github-actions[bot]
2022-06-30 02:11:41 +00:00
parent 5139417553
commit d229629589
237 changed files with 11445 additions and 10365 deletions

View File

@ -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

View File

@ -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