2022-06-04 17:46:59 +08:00
|
|
|
name: 脚本去广告
|
2024-02-03 01:53:59 +08:00
|
|
|
desc: 最后更新时间 2024-02-03 01:49:38
|
2022-06-04 17:46:59 +08:00
|
|
|
# author: blackmatrix7
|
|
|
|
# repo: https://github.com/blackmatrix7/ios_rule_script
|
2023-02-08 14:41:01 +08:00
|
|
|
# domain: 5
|
2022-06-04 17:46:59 +08:00
|
|
|
# http-request-script: 1
|
2023-11-18 02:20:53 +08:00
|
|
|
# http-response-script: 25
|
|
|
|
# reject: 11
|
2023-04-14 00:17:15 +08:00
|
|
|
# mitm: 21
|
2023-07-20 23:30:12 +08:00
|
|
|
# total: 63
|
2022-06-04 17:46:59 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rules:
|
2023-02-08 14:41:01 +08:00
|
|
|
- DOMAIN,appcloud.zhihu.com,REJECT
|
2022-06-04 17:46:59 +08:00
|
|
|
- DOMAIN,appcloud2.in.zhihu.com,REJECT
|
2023-02-08 14:41:01 +08:00
|
|
|
- DOMAIN,crash2.zhihu.com,REJECT
|
2022-06-04 17:46:59 +08:00
|
|
|
- DOMAIN,mqtt.zhihu.com,REJECT
|
2023-02-08 14:41:01 +08:00
|
|
|
- DOMAIN,sugar.zhihu.com,REJECT
|
2022-06-04 17:46:59 +08:00
|
|
|
|
|
|
|
|
|
|
|
http:
|
|
|
|
rewrite:
|
2023-02-08 14:41:01 +08:00
|
|
|
- ^https?:\/\/103\.41\.167\.237 - reject
|
|
|
|
- ^https?:\/\/118\.89\.204\.198 - reject
|
|
|
|
- ^https?:\/\/2402:4e00:1200:ed00:0:9089:6dac:96b6 - reject
|
|
|
|
- ^https?:\/\/api\.zhihu\.com\/(notifications\/v\d\/count) - reject
|
2022-06-04 17:46:59 +08:00
|
|
|
- ^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject
|
2023-02-11 10:42:29 +08:00
|
|
|
- ^https?:\/\/api\.zhihu\.com\/ad-style-service\/request - reject
|
2023-02-08 14:41:01 +08:00
|
|
|
- ^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
|
|
|
|
- ^https?:\/\/api\.zhihu\.com\/fringe\/ad - reject
|
2023-07-20 23:30:12 +08:00
|
|
|
- ^https?:\/\/www\.zhihu\.com\/api\/v\d+\/search\/related_queries\/answer - reject
|
2022-06-04 17:46:59 +08:00
|
|
|
|
|
|
|
|
|
|
|
script:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_解锁关键词屏蔽
|
2022-06-04 17:46:59 +08:00
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/feed-root\/block
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: request
|
2023-02-08 14:41:01 +08:00
|
|
|
require-body: false
|
2022-06-04 17:46:59 +08:00
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2022-06-04 17:46:59 +08:00
|
|
|
# BiliBili_开屏去广告
|
|
|
|
- match: ^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list
|
2023-02-23 09:32:44 +08:00
|
|
|
name: startup.js_5686edbb
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2022-06-04 17:46:59 +08:00
|
|
|
# Fa米家_开屏去广告
|
|
|
|
- match: ^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad
|
2023-02-23 09:32:44 +08:00
|
|
|
name: startup.js_5686edbb
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2022-06-04 17:46:59 +08:00
|
|
|
# 京东_开屏去广告
|
2023-02-08 14:41:01 +08:00
|
|
|
- match: ^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert
|
2022-06-04 17:46:59 +08:00
|
|
|
name: startup.js_5686edbb
|
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_优化软件配置1
|
|
|
|
- match: ^https?:\/\/m-cloud\.zhihu\.com\/api\/cloud\/config\/all\?
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_优化软件配置2
|
|
|
|
- match: ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
2023-11-18 02:20:53 +08:00
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
|
|
|
argument:
|
|
|
|
# 哲也_优化软件配置3
|
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading
|
|
|
|
name: zheye.min.js_8a3926f1
|
|
|
|
type: response
|
2022-06-04 17:46:59 +08:00
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_修改用户盐值
|
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/user-credit\/basis
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_关注列表优化
|
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/moments\/tab_v2
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_同步黑名单
|
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_回答内容优化
|
2022-06-04 17:46:59 +08:00
|
|
|
- match: ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_回答列表优化
|
2022-07-18 22:58:02 +08:00
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/(v4\/)?questions\/\d+
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_回答翻页优化
|
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/next\?
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_处理用户信息
|
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/people
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_推荐页优化
|
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/moments\/recent
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_文章优化
|
|
|
|
- match: ^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-30 10:11:41 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_消息优化
|
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message)
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_热榜优化
|
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/)
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_评论优化
|
2022-06-04 17:46:59 +08:00
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2023-02-08 14:41:01 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
|
|
|
argument:
|
|
|
|
# 哲也_评论摘要优化
|
|
|
|
- match: ^https?:\/\/www\.zhihu\.com\/api\/v4\/comment_v5\/answers\/\d+\/abstract_comment\?
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-08 14:41:01 +08:00
|
|
|
# 哲也_预置关键词优化
|
2022-06-04 17:46:59 +08:00
|
|
|
- match: ^https?:\/\/api\.zhihu\.com\/search\/preset_words\?
|
2023-02-11 10:42:29 +08:00
|
|
|
name: zheye.min.js_8a3926f1
|
2023-02-08 14:41:01 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
|
|
|
argument:
|
|
|
|
# 嘀嗒出行_开屏去广告
|
|
|
|
- match: ^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?
|
2023-02-23 09:32:44 +08:00
|
|
|
name: startup.js_5686edbb
|
2023-02-08 14:41:01 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
|
|
|
argument:
|
|
|
|
# 多点_开屏去广告
|
|
|
|
- match: ^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic
|
|
|
|
name: startup.js_5686edbb
|
2022-06-04 17:46:59 +08:00
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2023-02-23 09:32:44 +08:00
|
|
|
# 爱奇艺_开屏去广告
|
|
|
|
- match: ^https?:\/\/(t7z|kjp)\.cupid\.iqiyi\.com\/mixer\?
|
|
|
|
name: startup.js_5686edbb
|
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
|
|
|
argument:
|
2022-06-04 17:46:59 +08:00
|
|
|
# 美团外卖_开屏去广告
|
|
|
|
- match: ^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?
|
|
|
|
name: startup.js_5686edbb
|
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2022-06-04 17:46:59 +08:00
|
|
|
# 联享家_开屏去广告
|
|
|
|
- match: ^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg
|
|
|
|
name: startup.js_5686edbb
|
|
|
|
type: response
|
|
|
|
require-body: true
|
|
|
|
timeout: 30
|
2022-07-18 22:58:02 +08:00
|
|
|
argument:
|
2022-06-04 17:46:59 +08:00
|
|
|
|
|
|
|
mitm:
|
2023-02-23 09:32:44 +08:00
|
|
|
- "*.cupid.iqiyi.com"
|
2022-06-04 17:46:59 +08:00
|
|
|
- "103.41.167.226"
|
|
|
|
- "103.41.167.234"
|
|
|
|
- "103.41.167.235"
|
|
|
|
- "103.41.167.236"
|
2023-02-08 14:41:01 +08:00
|
|
|
- "103.41.167.237"
|
|
|
|
- "118.89.204.198"
|
|
|
|
- "2402:4e00:1200:ed00:0:9089:6dac:96b6"
|
2022-06-04 17:46:59 +08:00
|
|
|
- "api.m.jd.com"
|
|
|
|
- "api.zhihu.com"
|
|
|
|
- "app.bilibili.com"
|
|
|
|
- "appcloud2.zhihu.com"
|
|
|
|
- "capis*.didapinche.com"
|
|
|
|
- "cmsapi.dmall.com"
|
|
|
|
- "fmapp.chinafamilymart.com.cn"
|
|
|
|
- "hd.mina.mi.com"
|
2023-02-08 14:41:01 +08:00
|
|
|
- "m-cloud.zhihu.com"
|
2022-06-04 17:46:59 +08:00
|
|
|
- "mi.gdt.qq.com"
|
|
|
|
- "wmapi.meituan.com"
|
|
|
|
- "www.zhihu.com"
|
|
|
|
- "zhuanlan.zhihu.com"
|
|
|
|
|
|
|
|
script-providers:
|
|
|
|
startup.js_5686edbb:
|
|
|
|
url: https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js
|
|
|
|
interval: 86400
|
2023-02-11 10:42:29 +08:00
|
|
|
zheye.min.js_8a3926f1:
|
|
|
|
url: https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js
|
2022-06-04 17:46:59 +08:00
|
|
|
interval: 86400
|
|
|
|
|