2023-02-11 10:37:46

This commit is contained in:
blackmatrix7
2023-02-11 10:42:29 +08:00
parent 3bc776aa28
commit 89163d9640
260 changed files with 26157 additions and 22597 deletions

View File

@@ -1,13 +1,13 @@
name: 脚本去广告
desc: 最后更新时间 2023-02-02 14:54:06
desc: 最后更新时间 2023-02-11 02:13:12
# author: blackmatrix7
# repo: https://github.com/blackmatrix7/ios_rule_script
# domain: 5
# http-request-script: 1
# http-response-script: 31
# reject: 13
# reject: 14
# mitm: 27
# total: 77
# total: 78
@@ -26,6 +26,7 @@ http:
- ^https?:\/\/2402:4e00:1200:ed00:0:9089:6dac:96b6 - reject
- ^https?:\/\/api\.zhihu\.com\/(notifications\/v\d\/count) - reject
- ^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject
- ^https?:\/\/api\.zhihu\.com\/ad-style-service\/request - reject
- ^https?:\/\/api\.zhihu\.com\/api\/v4\/ecom_data\/config - reject
- ^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner - reject
- ^https?:\/\/api\.zhihu\.com\/content-distribution-core\/bubble\/common\/settings - reject
@@ -39,7 +40,7 @@ http:
script:
# 哲也_解锁关键词屏蔽
- match: ^https?:\/\/api\.zhihu\.com\/feed-root\/block
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: request
require-body: false
timeout: 30
@@ -123,112 +124,112 @@ http:
argument:
# 哲也_优化软件配置1
- match: ^https?:\/\/m-cloud\.zhihu\.com\/api\/cloud\/config\/all\?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_优化软件配置2
- match: ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_修改用户盐值
- match: ^https?:\/\/api\.zhihu\.com\/user-credit\/basis
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_关注列表优化
- match: ^https?:\/\/api\.zhihu\.com\/moments\/tab_v2
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_同步黑名单
- match: ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_回答内容优化
- match: ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_回答列表优化
- match: ^https?:\/\/api\.zhihu\.com\/(v4\/)?questions\/\d+
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_回答翻页优化
- match: ^https?:\/\/api\.zhihu\.com\/next\?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_处理用户信息
- match: ^https?:\/\/api\.zhihu\.com\/people
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_推荐页优化
- match: ^https?:\/\/api\.zhihu\.com\/moments\/recent
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_文章优化
- match: ^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_消息优化
- match: ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_热榜优化
- match: ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_评论优化
- match: ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_评论摘要优化
- match: ^https?:\/\/www\.zhihu\.com\/api\/v4\/comment_v5\/answers\/\d+\/abstract_comment\?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_预置关键词优化
- match: ^https?:\/\/api\.zhihu\.com\/search\/preset_words\?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
@@ -304,7 +305,7 @@ script-providers:
startup.js_5686edbb:
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
interval: 86400
zheye.js_0b4fe8e4:
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
zheye.min.js_8a3926f1:
url: https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js
interval: 86400

View File

@@ -14,7 +14,7 @@
## 规则统计
最后更新时间2023-02-02 14:54:06
最后更新时间2023-02-11 02:13:12
各类型规则统计:
| 类型 | 数量(条) |
@@ -22,9 +22,9 @@
| DOMAIN | 5 |
| HTTP-REQUEST-SCRIPT | 1 |
| HTTP-RESPONSE-SCRIPT | 31 |
| REJECT | 13 |
| REJECT | 14 |
| MITM | 27 |
| TOTAL | 77 |
| TOTAL | 78 |
## Stash

View File

@@ -1,15 +1,15 @@
name: AllInOne
desc: 最后更新时间 2023-02-09 02:14:49
desc: 最后更新时间 2023-02-11 02:13:06
# author: blackmatrix7
# repo: https://github.com/blackmatrix7/ios_rule_script
# domain: 5
# http-request-script: 1
# http-response-script: 31
# redirect: 8
# reject: 505
# reject: 506
# mitm: 560
# force-http-engine-hosts: 6
# total: 1116
# total: 1117
@@ -149,6 +149,7 @@ http:
- ^https?:\/\/api\.yonghuivip\.com\/web\/shensuan\/ad\/getAd - reject
- ^https?:\/\/api\.zhihu\.com\/(notifications\/v\d\/count) - reject
- ^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject
- ^https?:\/\/api\.zhihu\.com\/ad-style-service\/request - reject
- ^https?:\/\/api\.zhihu\.com\/api\/v4\/ecom_data\/config - reject
- ^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner - reject
- ^https?:\/\/api\.zhihu\.com\/content-distribution-core\/bubble\/common\/settings - reject
@@ -541,7 +542,7 @@ http:
script:
# 哲也_解锁关键词屏蔽
- match: ^https?:\/\/api\.zhihu\.com\/feed-root\/block
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: request
require-body: false
timeout: 30
@@ -625,112 +626,112 @@ http:
argument:
# 哲也_优化软件配置1
- match: ^https?:\/\/m-cloud\.zhihu\.com\/api\/cloud\/config\/all\?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_优化软件配置2
- match: ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_修改用户盐值
- match: ^https?:\/\/api\.zhihu\.com\/user-credit\/basis
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_关注列表优化
- match: ^https?:\/\/api\.zhihu\.com\/moments\/tab_v2
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_同步黑名单
- match: ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_回答内容优化
- match: ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_回答列表优化
- match: ^https?:\/\/api\.zhihu\.com\/(v4\/)?questions\/\d+
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_回答翻页优化
- match: ^https?:\/\/api\.zhihu\.com\/next\?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_处理用户信息
- match: ^https?:\/\/api\.zhihu\.com\/people
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_推荐页优化
- match: ^https?:\/\/api\.zhihu\.com\/moments\/recent
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_文章优化
- match: ^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_消息优化
- match: ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_热榜优化
- match: ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_评论优化
- match: ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_评论摘要优化
- match: ^https?:\/\/www\.zhihu\.com\/api\/v4\/comment_v5\/answers\/\d+\/abstract_comment\?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
argument:
# 哲也_预置关键词优化
- match: ^https?:\/\/api\.zhihu\.com\/search\/preset_words\?
name: zheye.js_0b4fe8e4
name: zheye.min.js_8a3926f1
type: response
require-body: true
timeout: 30
@@ -1347,7 +1348,7 @@ script-providers:
startup.js_5686edbb:
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
interval: 86400
zheye.js_0b4fe8e4:
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
zheye.min.js_8a3926f1:
url: https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js
interval: 86400

View File

@@ -18,7 +18,7 @@ QuantumultX需要添加部分分流规则才能生效具体配置请参照数
## 规则统计
最后更新时间2023-02-09 02:14:49
最后更新时间2023-02-11 02:13:06
各类型规则统计:
| 类型 | 数量(条) |
@@ -27,10 +27,10 @@ QuantumultX需要添加部分分流规则才能生效具体配置请参照数
| HTTP-REQUEST-SCRIPT | 1 |
| HTTP-RESPONSE-SCRIPT | 31 |
| REDIRECT | 8 |
| REJECT | 505 |
| REJECT | 506 |
| MITM | 560 |
| FORCE-HTTP-ENGINE-HOSTS | 6 |
| TOTAL | 1116 |
| TOTAL | 1117 |
## Stash