mirror of
https://github.com/blackmatrix7/ios_rule_script.git
synced 2024-12-27 01:29:16 +08:00
68 lines
7.8 KiB
Plaintext
68 lines
7.8 KiB
Plaintext
#!name=AdvertisingScript
|
|
#!desc=最后更新时间 2023-07-20 23:28:55
|
|
#!author=blackmatrix7
|
|
#!repo=https://github.com/blackmatrix7/ios_rule_script
|
|
#!domain=5
|
|
#!url-regex=4
|
|
#!http-request-script=1
|
|
#!http-response-script=24
|
|
#!reject=12
|
|
#!mitm=21
|
|
#!total=67
|
|
|
|
[Rule]
|
|
DOMAIN,appcloud.zhihu.com,REJECT
|
|
DOMAIN,appcloud2.in.zhihu.com,REJECT
|
|
DOMAIN,crash2.zhihu.com,REJECT
|
|
DOMAIN,mqtt.zhihu.com,REJECT
|
|
DOMAIN,sugar.zhihu.com,REJECT
|
|
URL-REGEX,^https?:\/\/api\.zhihu\.com\/brand\/question\/\d+/card\?,REJECT
|
|
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/launch_v2\?,REJECT
|
|
URL-REGEX,^https?:\/\/api\.zhihu\.com\/commercial_api\/real_time_launch_v2\?,REJECT
|
|
URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJECT
|
|
|
|
|
|
[URL Rewrite]
|
|
^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
|
|
^https?:\/\/api\.zhihu\.com\/ad-style-service\/request - reject-dict
|
|
^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\/feed\/render\/revisit\/current_reading - reject-dict
|
|
^https?:\/\/api\.zhihu\.com\/fringe\/ad - reject-dict
|
|
^https?:\/\/www\.zhihu\.com\/api\/v\d+\/search\/related_queries\/answer - reject-dict
|
|
|
|
|
|
[Script]
|
|
哲也_解锁关键词屏蔽 = type=http-request,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/feed-root\/block
|
|
BiliBili_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/app\.bilibili\.com\/x\/v2\/splash\/list,requires-body=1
|
|
Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/fmapp\.chinafamilymart\.com\.cn\/api\/app\/market\/start\/ad,requires-body=1
|
|
京东_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/hd\.mina\.mi\.com\/splashscreen\/alert,requires-body=1
|
|
哲也_优化软件配置1 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/m-cloud\.zhihu\.com\/api\/cloud\/config\/all\?,requires-body=1
|
|
哲也_优化软件配置2 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/appcloud2\.zhihu\.com\/v\d+\/config,requires-body=1
|
|
哲也_修改用户盐值 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/user-credit\/basis,requires-body=1
|
|
哲也_关注列表优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/moments\/tab_v2,requires-body=1
|
|
哲也_同步黑名单 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/settings\/blocked_users,requires-body=1
|
|
哲也_回答内容优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/www\.zhihu\.com\/appview\/v2\/answer\/.*(entry=(?!(preload-topstory|preload-search|preload-subscription)))?,requires-body=1
|
|
哲也_回答列表优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/(v4\/)?questions\/\d+,requires-body=1
|
|
哲也_回答翻页优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/next\?,requires-body=1
|
|
哲也_处理用户信息 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/people,requires-body=1
|
|
哲也_推荐页优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/moments\/recent,requires-body=1
|
|
哲也_文章优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/www\.zhihu\.com\/api\/v4\/answers\/\d+\/recommendations,requires-body=1
|
|
哲也_消息优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/notifications\/v3\/(message\?|timeline\/entry\/system_message),requires-body=1
|
|
哲也_热榜优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/topstory\/hot-lists?(\?|\/),requires-body=1
|
|
哲也_评论优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/(comment_v5\/)?(answers|comments?|articles|pins)\/\d+\/(root_|child_)?comments?,requires-body=1
|
|
哲也_评论摘要优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/www\.zhihu\.com\/api\/v4\/comment_v5\/answers\/\d+\/abstract_comment\?,requires-body=1
|
|
哲也_预置关键词优化 = type=http-response,script-path=https://gist.githubusercontent.com/blackmatrix7/f5f780d0f56b319b6ad9848fd080bb18/raw/zheye.min.js,pattern=^https?:\/\/api\.zhihu\.com\/search\/preset_words\?,requires-body=1
|
|
嘀嗒出行_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/capis(-?\w*)?\.didapinche\.com\/ad\/cx\/startup\?,requires-body=1
|
|
多点_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/cmsapi\.dmall\.com\/app\/home\/homepageStartUpPic,requires-body=1
|
|
爱奇艺_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/(t7z|kjp)\.cupid\.iqiyi\.com\/mixer\?,requires-body=1
|
|
美团外卖_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/wmapi\.meituan\.com\/api\/v\d+\/loadInfo?,requires-body=1
|
|
联享家_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.js,pattern=^https?:\/\/mi\.gdt\.qq\.com\/gdt_mview\.fcg,requires-body=1
|
|
[MITM]
|
|
hostname = %APPEND% *.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
|