mirror of
https://github.com/Giu-zhao/ios_rule_script
synced 2024-11-25 01:48:24 +08:00
[哲也] 适配新版
This commit is contained in:
parent
e1c3b93329
commit
3dcc47a3d0
File diff suppressed because one or more lines are too long
@ -12,8 +12,6 @@ URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/real_time_launch_v2\?,REJ
|
||||
# 拦截品牌提问广告
|
||||
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-REGEX,^https?:\/\/api\.zhihu\.com\/unlimited\/go\/my_card,REJECT
|
||||
# 其他拦截不影响使用的域名
|
||||
DOMAIN,mqtt.zhihu.com,REJECT
|
||||
DOMAIN,sugar.zhihu.com,REJECT
|
||||
@ -24,9 +22,12 @@ DOMAIN,appcloud2.in.zhihu.com,REJECT
|
||||
[URL Rewrite]
|
||||
# 拦截DNS解析
|
||||
^https?:\/\/118\.89\.204\.198 - reject-dict
|
||||
^https?:\/\/103\.41\.167\.237 - reject-dict
|
||||
^https?:\/\/2402:4e00:1200:ed00:0:9089:6dac:96b6 - reject-dict
|
||||
# 屏蔽下发的配置,如皮肤等
|
||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject-dict
|
||||
# 屏蔽我的页面开通会员的卡片
|
||||
# ^https?:\/\/api\.zhihu\.com\/unlimited\/go\/my_card - reject-dict
|
||||
# 去除底部标签页关注人角标
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 - reject-dict
|
||||
# 去除消息通知角标
|
||||
@ -37,9 +38,19 @@ DOMAIN,appcloud2.in.zhihu.com,REJECT
|
||||
^https?:\/\/api\.zhihu\.com\/me\/guides - reject-dict
|
||||
# 去除关注页最常访问
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/recent - reject-dict
|
||||
# 拦截推荐页顶部广告
|
||||
^https?:\/\/api\.zhihu\.com\/api\/v4\/ecom_data\/config - reject-dict
|
||||
# 底栏加号的广告
|
||||
^https?:\/\/api\.zhihu\.com\/content-distribution-core\/bubble\/common\/settings - reject-dict
|
||||
# 推荐页搜索栏左侧图标
|
||||
^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading - reject-dict
|
||||
# 疑似推荐页内容更新红点
|
||||
^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/tag_config - reject-dict
|
||||
# 暂不清楚作用
|
||||
^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner - 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/zheye/zheye.js,tag=处理用户信息
|
||||
|
||||
# 解锁本地的关键词屏蔽功能,需要开启本地VIP
|
||||
@ -92,4 +103,4 @@ http-response ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) requires-
|
||||
http-response ^https?:\/\/api\.zhihu\.com\/search\/preset_words\? requires-body=1,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js,tag=预置关键词优化
|
||||
|
||||
[MITM]
|
||||
hostname = 118.89.204.198,2402:4e00:1200:ed00:0:9089:6dac:96b6,www.zhihu.com,api.zhihu.com,zhuanlan.zhihu.com,appcloud2.zhihu.com,m-cloud.zhihu.com,103.41.167.236,103.41.167.234,103.41.167.235,103.41.167.226
|
||||
hostname = 118.89.204.198,103.41.167.237,2402:4e00:1200:ed00:0:9089:6dac:96b6,www.zhihu.com,api.zhihu.com,zhuanlan.zhihu.com,appcloud2.zhihu.com,m-cloud.zhihu.com,103.41.167.236,103.41.167.234,103.41.167.235,103.41.167.226
|
||||
|
@ -8,8 +8,6 @@ URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/real_time_launch_v2\?,REJ
|
||||
# 拦截品牌提问广告
|
||||
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-REGEX,^https?:\/\/api\.zhihu\.com\/unlimited\/go\/my_card,REJECT
|
||||
# 其他拦截不影响使用的域名
|
||||
DOMAIN,mqtt.zhihu.com,REJECT
|
||||
DOMAIN,sugar.zhihu.com,REJECT
|
||||
@ -21,9 +19,12 @@ DOMAIN,appcloud2.in.zhihu.com,REJECT
|
||||
[Map Local]
|
||||
# 拦截DNS解析
|
||||
^https?:\/\/118\.89\.204\.198 data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
^https?:\/\/103\.41\.167\.237 data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
^https?:\/\/2402:4e00:1200:ed00:0:9089:6dac:96b6 data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
# 屏蔽下发的配置,如皮肤等
|
||||
^https?:\/\/api\.zhihu\.com\/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"
|
||||
# 屏蔽我的页面开通会员的卡片
|
||||
# ^https?:\/\/api\.zhihu\.com\/unlimited\/go\/my_card data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
# 去除底部标签页关注人角标
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
# 去除消息通知角标
|
||||
@ -34,9 +35,19 @@ DOMAIN,appcloud2.in.zhihu.com,REJECT
|
||||
^https?:\/\/api\.zhihu\.com\/me\/guides data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
# 去除关注页最常访问
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/recent data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
# 拦截推荐页顶部广告
|
||||
^https?:\/\/api\.zhihu\.com\/api\/v4\/ecom_data\/config data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
# 底栏加号的广告
|
||||
^https?:\/\/api\.zhihu\.com\/content-distribution-core\/bubble\/common\/settings data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
# 推荐页搜索栏左侧图标
|
||||
^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
# 疑似推荐页内容更新红点
|
||||
^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/tag_config data="https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/blank/blank_dict.json"
|
||||
# 暂不清楚作用
|
||||
^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner 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\/people\/,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
|
||||
# 解锁本地的关键词屏蔽功能,需要开启本地VIP
|
||||
@ -47,7 +58,7 @@ DOMAIN,appcloud2.in.zhihu.com,REJECT
|
||||
优化软件配置2 = 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/zheye/zheye.js
|
||||
|
||||
# 用户信息 - 修改用户盐值
|
||||
修改用户盐值 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/user-credit\/basis,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
# 修改用户盐值 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/user-credit\/basis,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
|
||||
# 关注页 - 内容优化及屏蔽转发的黑名单用户想法
|
||||
关注列表优化 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/moments_v3\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
@ -89,4 +100,4 @@ DOMAIN,appcloud2.in.zhihu.com,REJECT
|
||||
预置关键词优化 = type=http-response,requires-body=1,max-size=0,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
|
||||
[MITM]
|
||||
hostname = %APPEND% 118.89.204.198,2402:4e00:1200:ed00:0:9089:6dac:96b6,www.zhihu.com,api.zhihu.com,zhuanlan.zhihu.com,appcloud2.zhihu.com,m-cloud.zhihu.com,103.41.167.236,103.41.167.234,103.41.167.235,103.41.167.226
|
||||
hostname = %APPEND% 118.89.204.198,103.41.167.237,2402:4e00:1200:ed00:0:9089:6dac:96b6,www.zhihu.com,api.zhihu.com,zhuanlan.zhihu.com,appcloud2.zhihu.com,m-cloud.zhihu.com,103.41.167.236,103.41.167.234,103.41.167.235,103.41.167.226
|
@ -2,9 +2,16 @@
|
||||
# 哲也同学,你的阅读小助手
|
||||
|
||||
# 拦截DNS解析
|
||||
^https?:\/\/118\.89\.204\.198 url reject-200
|
||||
^https?:\/\/118\.89\.204\.198 url reject-dict
|
||||
^https?:\/\/103\.41\.167\.237 url reject-dict
|
||||
^https?:\/\/2402:4e00:1200:ed00:0:9089:6dac:96b6 url reject-200
|
||||
|
||||
# 屏蔽下发的配置,如皮肤等
|
||||
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config url reject
|
||||
|
||||
# 屏蔽我的页面开通会员的卡片
|
||||
# ^https?:\/\/api\.zhihu\.com\/unlimited\/go\/my_card url reject
|
||||
|
||||
# 拦截开屏广告
|
||||
^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\? url reject-dict
|
||||
^https?:\/\/api\.zhihu\.com\/commercial_api\/real_time_launch_v2\? url reject-dict
|
||||
@ -13,9 +20,6 @@
|
||||
^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\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config url reject
|
||||
|
||||
# 去除底部标签页关注人角标
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 url reject-dict
|
||||
|
||||
@ -31,10 +35,22 @@
|
||||
# 去除关注页最常访问
|
||||
^https?:\/\/api\.zhihu\.com\/moments\/recent url reject-dict
|
||||
|
||||
# 我的页面 - 屏蔽开通盐选会员的卡片
|
||||
^https?:\/\/api\.zhihu\.com\/unlimited\/go\/my_card url reject
|
||||
# 拦截推荐页顶部广告
|
||||
^https?:\/\/api\.zhihu\.com\/api\/v4\/ecom_data\/config url reject-dict
|
||||
|
||||
# 获取用户信息 - 隔离用户数据,开启本地盐选会员等
|
||||
# 底栏加号的广告
|
||||
^https?:\/\/api\.zhihu\.com\/content-distribution-core\/bubble\/common\/settings url reject-dict
|
||||
|
||||
# 推荐页搜索栏左侧图标
|
||||
^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading url reject-dict
|
||||
|
||||
# 疑似推荐页内容更新红点
|
||||
^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/tag_config url reject-dict
|
||||
|
||||
# 暂不清楚作用
|
||||
^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner url reject-dict
|
||||
|
||||
# 获取用户信息 - 隔离用户数据,开启本地会员等
|
||||
^https?:\/\/api\.zhihu\.com\/people\/ url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
|
||||
# 解锁本地的关键词屏蔽功能,需要开启本地VIP
|
||||
@ -51,7 +67,7 @@
|
||||
^https?:\/\/api\.zhihu\.com\/moments_v3\? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
|
||||
# 推荐页 - 移除黑名单用户发布的文章、去除广告,及自定义一些屏蔽项目
|
||||
^https:\/\/api\.zhihu\.com\/topstory\/recommend\? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
^https:\/\/api\.zhihu\.com\/topstory\/recommend url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
|
||||
# 黑名单页 - 同步黑名单数据
|
||||
^https?:\/\/api\.zhihu\.com\/settings\/blocked_users url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
@ -86,4 +102,4 @@
|
||||
# 搜索页 - 去除预置广告
|
||||
^https?:\/\/api\.zhihu\.com\/search\/preset_words\? url script-response-body https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.js
|
||||
|
||||
hostname = 118.89.204.198,2402:4e00:1200:ed00:0:9089:6dac:96b6,www.zhihu.com,api.zhihu.com,zhuanlan.zhihu.com,appcloud2.zhihu.com,m-cloud.zhihu.com,103.41.167.236,103.41.167.234,103.41.167.235,103.41.167.226
|
||||
hostname = 118.89.204.198,103.41.167.237,2402:4e00:1200:ed00:0:9089:6dac:96b6,www.zhihu.com,api.zhihu.com,zhuanlan.zhihu.com,appcloud2.zhihu.com,m-cloud.zhihu.com,103.41.167.236,103.41.167.234,103.41.167.235,103.41.167.226
|
@ -5,13 +5,14 @@ http:
|
||||
rewrite:
|
||||
# 拦截DNS解析
|
||||
- ^https?:\/\/118\.89\.204\.198 - reject-dict
|
||||
- ^https?:\/\/103\.41\.167\.237 - reject-dict
|
||||
- ^https?:\/\/2402:4e00:1200:ed00:0:9089:6dac:96b6 - reject-dict
|
||||
# 拦截开屏广告
|
||||
- ^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\? - reject-dict
|
||||
- ^https?:\/\/api\.zhihu\.com\/commercial_api\/real_time_launch_v2\? - reject-dict
|
||||
# 拦截品牌提问广告
|
||||
- ^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\? - reject-dict
|
||||
# 我的页面 - 屏蔽开通盐选会员的卡片
|
||||
# 屏蔽我的页面开通会员的卡片
|
||||
- ^https?:\/\/api\.zhihu\.com\/unlimited\/go\/my_card - reject
|
||||
# 拦截品牌提问广告
|
||||
- ^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\? - reject-dict
|
||||
@ -27,9 +28,19 @@ http:
|
||||
- ^https?:\/\/api\.zhihu\.com\/me\/guides - reject-dict
|
||||
# 去除关注页最常访问
|
||||
- ^https?:\/\/api\.zhihu\.com\/moments\/recent - reject-dict
|
||||
# 拦截推荐页顶部广告
|
||||
- ^https?:\/\/api\.zhihu\.com\/api\/v4\/ecom_data\/config - reject-dict
|
||||
# 底栏加号的广告
|
||||
- ^https?:\/\/api\.zhihu\.com\/content-distribution-core\/bubble\/common\/settings - reject-dict
|
||||
# 推荐页搜索栏左侧图标
|
||||
- ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading - reject-dict
|
||||
# 疑似推荐页内容更新红点
|
||||
- ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/tag_config url reject-dict
|
||||
# 暂不清楚作用
|
||||
- ^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner - reject-dict
|
||||
|
||||
script:
|
||||
# 获取用户信息 - 隔离用户数据,开启本地盐选会员等
|
||||
# 获取用户信息 - 隔离用户数据,开启本地会员等
|
||||
- match: ^https?:\/\/api\.zhihu\.com\/people\/
|
||||
name: zheye.js
|
||||
type: response
|
||||
@ -181,6 +192,7 @@ http:
|
||||
- "103.41.167.234"
|
||||
- "103.41.167.235"
|
||||
- "103.41.167.236"
|
||||
- "103.41.167.237"
|
||||
- "118.89.204.198"
|
||||
- "2402:4e00:1200:ed00:0:9089:6dac:96b6"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user