ios_rule_script/rewrite/Loon/AdvertisingScript/AdvertisingScript.plugin

94 lines
8.5 KiB
Plaintext
Raw Normal View History

2022-06-04 17:46:59 +08:00
#!name= AdvertisingScript
2024-07-03 16:19:25 +08:00
#!desc= 最后更新时间 2024-07-03 16:18:43
2022-06-04 17:46:59 +08:00
#!openUrl= https://github.com/blackmatrix7/ios_rule_script
#!author= blackmatrix7
#!homepage= https://github.com/blackmatrix7/ios_rule_script
#!icon= https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/avatar.jpg
2023-02-08 14:41:01 +08:00
#!domain= 5
2022-06-04 17:46:59 +08:00
#!url-regex= 4
#!http-request-script= 1
#!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= 67
2021-04-09 19:34:05 +08:00
[Rule]
2023-02-08 14:41:01 +08:00
DOMAIN,appcloud.zhihu.com,REJECT
2021-04-09 19:34:05 +08:00
DOMAIN,appcloud2.in.zhihu.com,REJECT
2023-02-08 14:41:01 +08:00
DOMAIN,crash2.zhihu.com,REJECT
2021-04-09 19:34:05 +08:00
DOMAIN,mqtt.zhihu.com,REJECT
2023-02-08 14:41:01 +08:00
DOMAIN,sugar.zhihu.com,REJECT
2021-04-09 19:34:05 +08:00
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
2023-02-08 14:41:01 +08:00
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,REJECT
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/real_time_launch_v2\?,REJECT
2021-04-09 19:34:05 +08:00
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
2022-06-04 17:46:59 +08:00
2023-07-20 23:30:12 +08:00
[Rewrite]
2023-02-08 14:41:01 +08:00
^https?:\/\/103\.41\.167\.237 - reject-dict
^https?:\/\/118\.89\.204\.198 - reject-dict
^https?:\/\/2402:4e00:1200:ed00:0:9089:6dac:96b6 - reject-dict
^https?:\/\/api\.zhihu\.com\/(notifications\/v\d\/count) - reject-dict
^https?:\/\/api\.zhihu\.com\/ab\/api\/v1\/products\/zhihu\/platforms\/ios\/config - reject-dict
2023-02-11 10:42:29 +08:00
^https?:\/\/api\.zhihu\.com\/ad-style-service\/request - reject-dict
2023-02-08 14:41:01 +08:00
^https?:\/\/api\.zhihu\.com\/api\/v4\/ecom_data\/config - reject-dict
^https?:\/\/api\.zhihu\.com\/commercial_api\/banners_v3\/app_topstory_banner - reject-dict
^https?:\/\/api\.zhihu\.com\/content-distribution-core\/bubble\/common\/settings - reject-dict
^https?:\/\/api\.zhihu\.com\/fringe\/ad - reject-dict
2023-07-20 23:30:12 +08:00
^https?:\/\/www\.zhihu\.com\/api\/v\d+\/search\/related_queries\/answer - reject-dict
2021-04-09 19:34:05 +08:00
[Script]
2023-02-08 14:41:01 +08:00
# 哲也_解锁关键词屏蔽
2023-02-11 10:42:29 +08:00
http-request ^https?:\/\/api\.zhihu\.com\/feed-root\/block script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,tag=哲也_解锁关键词屏蔽
2022-06-04 17:46:59 +08:00
# BiliBili_开屏去广告
2023-02-23 09:32:44 +08:00
http-response ^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=BiliBili_开屏去广告
2022-06-04 17:46:59 +08:00
# Fa米家_开屏去广告
2023-02-23 09:32:44 +08:00
http-response ^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=Fa米家_开屏去广告
2022-06-04 17:46:59 +08:00
# 京东_开屏去广告
2023-02-08 14:41:01 +08:00
http-response ^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=京东_开屏去广告
# 哲也_优化软件配置1
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/m-cloud\.zhihu\.com\/api\/cloud\/config\/all\? script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_优化软件配置1
2023-02-08 14:41:01 +08:00
# 哲也_优化软件配置2
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_优化软件配置2
# 哲也_优化软件配置3
http-response ^https?:\/\/api\.zhihu\.com\/feed\/render\/revisit\/current_reading script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_优化软件配置3
2023-02-08 14:41:01 +08:00
# 哲也_修改用户盐值
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/user-credit\/basis script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_修改用户盐值
2023-02-08 14:41:01 +08:00
# 哲也_关注列表优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/moments\/tab_v2 script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_关注列表优化
2023-02-08 14:41:01 +08:00
# 哲也_同步黑名单
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/settings\/blocked_users script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_同步黑名单
2023-02-08 14:41:01 +08:00
# 哲也_回答内容优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))? script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_回答内容优化
2023-02-08 14:41:01 +08:00
# 哲也_回答列表优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/(v4\/)?questions\/\d+ script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_回答列表优化
2023-02-08 14:41:01 +08:00
# 哲也_回答翻页优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/next\? script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_回答翻页优化
2023-02-08 14:41:01 +08:00
# 哲也_处理用户信息
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/people script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_处理用户信息
2023-02-08 14:41:01 +08:00
# 哲也_推荐页优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/moments\/recent script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_推荐页优化
2023-02-08 14:41:01 +08:00
# 哲也_文章优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_文章优化
2023-02-08 14:41:01 +08:00
# 哲也_消息优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message) script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_消息优化
2023-02-08 14:41:01 +08:00
# 哲也_热榜优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/) script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_热榜优化
2023-02-08 14:41:01 +08:00
# 哲也_评论优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments? script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_评论优化
2023-02-08 14:41:01 +08:00
# 哲也_评论摘要优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/www\.zhihu\.com\/api\/v4\/comment_v5\/answers\/\d+\/abstract_comment\? script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_评论摘要优化
2023-02-08 14:41:01 +08:00
# 哲也_预置关键词优化
2023-02-11 10:42:29 +08:00
http-response ^https?:\/\/api\.zhihu\.com\/search\/preset_words\? script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,requires-body=1,tag=哲也_预置关键词优化
2022-06-04 17:46:59 +08:00
# 嘀嗒出行_开屏去广告
2023-02-23 09:32:44 +08:00
http-response ^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=嘀嗒出行_开屏去广告
2022-06-04 17:46:59 +08:00
# 多点_开屏去广告
http-response ^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=多点_开屏去广告
2023-02-23 09:32:44 +08:00
# 爱奇艺_开屏去广告
http-response ^https?:\/\/(t7z|kjp)\.cupid\.iqiyi\.com\/mixer\? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=爱奇艺_开屏去广告
2022-06-04 17:46:59 +08:00
# 美团外卖_开屏去广告
http-response ^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo? script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=美团外卖_开屏去广告
# 联享家_开屏去广告
http-response ^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,requires-body=1,tag=联享家_开屏去广告
2021-04-09 19:34:05 +08:00
[MITM]
2023-04-14 00:17:15 +08:00
hostname = *.cupid.iqiyi.com,103.41.167.226,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,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,m-cloud.zhihu.com,mi.gdt.qq.com,wmapi.meituan.com,www.zhihu.com,zhuanlan.zhihu.com