2023-04-13 02:15:54

This commit is contained in:
blackmatrix7
2023-04-14 00:17:15 +08:00
parent 061e0be594
commit ac168609a3
7046 changed files with 987403 additions and 253131 deletions

File diff suppressed because one or more lines are too long

View File

@ -16,14 +16,14 @@
## 规则统计
最后更新时间2023-02-18 02:13:00
最后更新时间2023-04-07 14:53:02
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| REJECT | 543 |
| MITM | 500 |
| TOTAL | 1043 |
| REJECT | 550 |
| MITM | 507 |
| TOTAL | 1057 |
## Shadowrocket
@ -70,6 +70,7 @@ https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_scri
- https://raw.githubusercontent.com/GFBG-IT/QuantumultX/main/Advertising.conf
- https://raw.githubusercontent.com/Tartarus2014/Loon-Script/master/Plugin/Block/Advertising.plugin
- https://raw.githubusercontent.com/ddgksf2013/Rewrite/master/AdBlock/StartUp.conf
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/YouTubeAds.sgmodule
感谢以上规则作者的辛勤付出(排名不分先后)。

File diff suppressed because one or more lines are too long

View File

@ -20,14 +20,14 @@ AdvertisingLite 不直接抽取数据源中MITM的hostname仅用正则推导
## 规则统计
最后更新时间2023-02-18 02:13:13
最后更新时间2023-04-07 14:53:15
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| REJECT | 496 |
| MITM | 409 |
| TOTAL | 905 |
| REJECT | 503 |
| MITM | 415 |
| TOTAL | 918 |
## Shadowrocket

View File

@ -1,14 +1,14 @@
#!name=AdvertisingScript
#!desc=最后更新时间 2023-02-15 23:48:05
#!desc=最后更新时间 2023-04-07 14:53:12
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!domain=5
#!url-regex=4
#!http-request-script=1
#!http-response-script=32
#!reject=14
#!mitm=28
#!total=84
#!http-response-script=24
#!reject=11
#!mitm=21
#!total=66
[Rule]
DOMAIN,appcloud.zhihu.com,REJECT
@ -34,9 +34,6 @@ URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJ
^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?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/other_modul - reject
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/user_related_modul - reject
^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/wiki_related_modul - reject
[Script]
@ -44,14 +41,6 @@ URL-REGEX,^https?:\/\/www\.zhihu\.com\/api\/v\d+\/brand\/question/\d+/card\?,REJ
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
什么值得买_值会员权益中心banner广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/zhiyou\.m\.smzdm\.com\/user\/vip\/ajax_get_banner,requires-body=1,timeout=10
什么值得买_好价去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/haojia-api\.smzdm\.com\/home\/list\?,requires-body=1,timeout=10
什么值得买_好价详情页去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/haojia\.m\.smzdm\.com\/detail_modul\/article_releated_modul,requires-body=1,timeout=10
什么值得买_开屏去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/app-api\.smzdm\.com\/util\/loading,requires-body=1,timeout=10
什么值得买_搜索标签去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/filter\/tags\/hot_tags,requires-body=1,timeout=10
什么值得买_搜索结果去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/s-api\.smzdm\.com\/sou\/list_v10,requires-body=1,timeout=10
什么值得买_百科去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/baike-api\.smzdm\.com\/home_v3\/list,requires-body=1,timeout=10
什么值得买_首页去广告 = type=http-response,script-path=https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.js,pattern=^https?:\/\/homepage-api\.smzdm\.com\/v3\/home,requires-body=1,timeout=10
哲也_优化软件配置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
@ -74,4 +63,4 @@ Fa米家_开屏去广告 = type=http-response,script-path=https://raw.githubuser
美团外卖_开屏去广告 = 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-api.smzdm.com,app.bilibili.com,appcloud2.zhihu.com,baike-api.smzdm.com,capis*.didapinche.com,cmsapi.dmall.com,fmapp.chinafamilymart.com.cn,haojia-api.smzdm.com,haojia.m.smzdm.com,hd.mina.mi.com,homepage-api.smzdm.com,m-cloud.zhihu.com,mi.gdt.qq.com,s-api.smzdm.com,wmapi.meituan.com,www.zhihu.com,zhiyou.m.smzdm.com,zhuanlan.zhihu.com
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

View File

@ -9,12 +9,10 @@
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务。
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则说明
整合知乎 什么值得买APP去广告及脚本去除开屏广告复写。
## 规则统计
最后更新时间2023-02-15 23:48:05
最后更新时间2023-04-07 14:53:12
各类型规则统计:
| 类型 | 数量(条) |
@ -22,10 +20,10 @@
| DOMAIN | 5 |
| URL-REGEX | 4 |
| HTTP-REQUEST-SCRIPT | 1 |
| HTTP-RESPONSE-SCRIPT | 32 |
| REJECT | 14 |
| MITM | 28 |
| TOTAL | 84 |
| HTTP-RESPONSE-SCRIPT | 24 |
| REJECT | 11 |
| MITM | 21 |
| TOTAL | 66 |
## Shadowrocket
@ -64,7 +62,6 @@ https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_scri
《脚本去广告》的数据来自以下链接,如与本项目的《脚本去广告》规则混合使用,可能造成部分重写重复。
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.lnplugin
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.lnplugin
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.lnplugin

File diff suppressed because one or more lines are too long

View File

@ -18,7 +18,7 @@ QuantumultX需要添加部分分流规则才能生效具体配置请参照数
## 规则统计
最后更新时间2023-02-20 02:17:46
最后更新时间2023-04-07 14:53:07
各类型规则统计:
| 类型 | 数量(条) |
@ -26,10 +26,10 @@ QuantumultX需要添加部分分流规则才能生效具体配置请参照数
| DOMAIN | 5 |
| URL-REGEX | 4 |
| HTTP-REQUEST-SCRIPT | 1 |
| HTTP-RESPONSE-SCRIPT | 32 |
| HTTP-RESPONSE-SCRIPT | 24 |
| REDIRECT | 8 |
| REJECT | 508 |
| MITM | 563 |
| REJECT | 513 |
| MITM | 566 |
| TOTAL | 1121 |
@ -75,7 +75,6 @@ https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_scri
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Advertising/advertising.qxrewrite
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rewrite/Upgrade/Upgrade.qxrewrite
- https://raw.githubusercontent.com/GeQ1an/Rules/master/QuantumultX/Rewrite/Rewrite.list
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/smzdm/smzdm_remove_ads.lnplugin
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/General.sgmodule
- https://raw.githubusercontent.com/GFBG-IT/QuantumultX/main/Advertising.conf
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Rewrite/General.conf
@ -83,6 +82,7 @@ https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_scri
- https://raw.githubusercontent.com/ddgksf2013/Rewrite/master/AdBlock/StartUp.conf
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/zheye/zheye.lnplugin
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/script/startup/startup.lnplugin
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Module/Block/YouTubeAds.sgmodule
感谢以上规则作者的辛勤付出(排名不分先后)。

View File

@ -0,0 +1,65 @@
#!name=BlockHTTPDNS
#!desc=最后更新时间 2023-04-07 14:53:20
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!domain=16
#!ip-cidr=13
#!reject=15
#!mitm=5
#!total=49
[General]
force-http-engine-hosts = %APPEND% 119.29.29.29:80,203.107.1.65:80,203.107.1.66:80,dns.weixin.qq.com:443,dns.weixin.qq.com:80,dns.weixin.qq.com:8080
[Rule]
DOMAIN,dns.weibo.cn,REJECT
DOMAIN,dns.weixin.qq.com,REJECT
DOMAIN,dns.weixin.qq.com.cn,REJECT
DOMAIN,httpdns-api.aliyuncs.com,REJECT
DOMAIN,httpdns-sc.aliyuncs.com,REJECT
DOMAIN,httpdns.alicdn.com,REJECT
DOMAIN,httpdns.baidu.com,REJECT
DOMAIN,httpdns.baidubce.com,REJECT
DOMAIN,httpdns.bilivideo.com,REJECT
DOMAIN,httpdns.c.cdnhwc2.com,REJECT
DOMAIN,httpdns.n.netease.com,REJECT
DOMAIN,httpdns.push.oppomobile.com,REJECT
DOMAIN,httpdns.volcengineapi.com,REJECT
DOMAIN,httpsdns.baidu.com,REJECT
DOMAIN,lofter.httpdns.c.163.com,REJECT
DOMAIN,music.httpdns.c.163.com,REJECT
IP-CIDR,123.151.54.50/32,REJECT,no-resolve
IP-CIDR,186.76.76.200/32,REJECT,no-resolve
IP-CIDR,203.107.1.0/24,REJECT,no-resolve
IP-CIDR,2402:4e00:1900:1700:0:9554:1ad9:c3a/128,REJECT,no-resolve
IP-CIDR,240e:928:1400:10::25/128,REJECT,no-resolve
IP-CIDR,39.97.128.148/32,REJECT,no-resolve
IP-CIDR,39.97.130.51/32,REJECT,no-resolve
IP-CIDR,42.187.182.106/32,REJECT,no-resolve
IP-CIDR,42.187.182.123/32,REJECT,no-resolve
IP-CIDR,42.187.184.154/32,REJECT,no-resolve
IP-CIDR,42.81.232.18/32,REJECT,no-resolve
IP-CIDR,59.111.239.61/32,REJECT,no-resolve
IP-CIDR,59.111.239.62/32,REJECT,no-resolve
[URL Rewrite]
^http:\/\/101\.35\.204\.35\/d - reject
^http:\/\/103\.37\.155\.60\/fetch - reject
^http:\/\/114\.110\.96\.26\/d - reject
^http:\/\/180\.76\.76\.112\/v4\/resolve - reject
^http:\/\/182\.256\.116\.116\/d - reject
^http:\/\/203\.107\.1\.65\/\d+\/resolve - reject
^http:\/\/api\.weibo\.cn\/2\/httpdns\/config - reject
^https?:\/\/110\.76\.8\.150\/squery - reject
^https?:\/\/119\.29\.29\.29\/d - reject
^https?:\/\/203\.209\.230\.39\/squery - reject
^https?:\/\/2400:B180:6001::18F\/squery - reject
^https?:\/\/2400:B200:1005:3000::155\/squery - reject
^https?:\/\/amdc-sibling\.alipay\.com\.cn\/s?query - reject
^https?:\/\/amdc\.alipay\.com\/s?query - reject
^https?:\/\/dns\.weixin\.qq\.com\/cgi-bin\/micromsg-bin\/newgetdns - reject
[MITM]
hostname = %APPEND% 119.29.29.29,amdc-sibling.alipay.com.cn,amdc.alipay.com,api.weibo.cn,dns.weixin.qq.com

View File

@ -0,0 +1,78 @@
# BlockHTTPDNS
## 前言
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
本项目的BlockHTTPDNS规则由《RULE GENERATOR 规则生成器》自动生成。
所有数据均收集自互联网公开信息,不代表我们支持或使用这些服务。
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的相关服务并确保在使用过程中符合相关法律法规。
## 规则统计
最后更新时间2023-04-07 14:53:20
各类型规则统计:
| 类型 | 数量(条) |
| ---- | ---- |
| DOMAIN | 16 |
| IP-CIDR | 13 |
| REJECT | 15 |
| MITM | 5 |
| TOTAL | 49 |
## Shadowrocket
#### 规则链接
**MASTER分支 (每日更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Shadowrocket/BlockHTTPDNS/BlockHTTPDNS.sgmodule
**MASTER分支 CDN (每日更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rewrite/Shadowrocket/BlockHTTPDNS/BlockHTTPDNS.sgmodule
**MASTER分支 GHProxy (每日更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rewrite/Shadowrocket/BlockHTTPDNS/BlockHTTPDNS.sgmodule
**RELEASE分支 (不定时更新)**
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Shadowrocket/BlockHTTPDNS/BlockHTTPDNS.sgmodule
**RELEASE分支CDN (不定时更新)**
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rewrite/Shadowrocket/BlockHTTPDNS/BlockHTTPDNS.sgmodule
**RELEASE分支 GHProxy (不定时更新)**
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rewrite/Shadowrocket/BlockHTTPDNS/BlockHTTPDNS.sgmodule
## 子规则
当前分流规则,未包含其他子规则。
## 数据来源
《BlockHTTPDNS》的数据来自以下链接如与本项目的《BlockHTTPDNS》规则混合使用可能造成部分重写重复。
- https://raw.githubusercontent.com/VirgilClyne/GetSomeFries/main/sgmodule/HTTPDNS.Block.sgmodule
感谢以上规则作者的辛勤付出(排名不分先后)。
## 最后
### 感谢
[@Tartarus2014](https://github.com/Tartarus2014) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)**
提供规则数据源及改进建议。
### 其他
请不要对外宣传本项目。

View File

@ -1,5 +1,5 @@
#!name=GetCookie
#!desc=最后更新时间 2023-02-15 23:48:05
#!desc=最后更新时间 2023-04-07 14:53:12
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!http-request-script=8

View File

@ -14,7 +14,7 @@
## 规则统计
最后更新时间2023-02-15 23:48:05
最后更新时间2023-04-07 14:53:12
各类型规则统计:
| 类型 | 数量(条) |

View File

@ -20,7 +20,7 @@
## 规则统计
最后更新时间2023-02-15 23:47:58
最后更新时间2023-04-07 14:53:05
各类型规则统计:
| 类型 | 数量(条) |

View File

@ -1,5 +1,5 @@
#!name=Redirect
#!desc=最后更新时间 2023-02-15 23:47:58
#!desc=最后更新时间 2023-04-07 14:53:05
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!redirect=62

View File

@ -22,7 +22,7 @@
## 规则统计
最后更新时间2023-02-15 23:48:05
最后更新时间2023-04-07 14:53:12
各类型规则统计:
| 类型 | 数量(条) |

View File

@ -1,5 +1,5 @@
#!name=SafeRedirect
#!desc=最后更新时间 2023-02-15 23:48:05
#!desc=最后更新时间 2023-04-07 14:53:12
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!redirect=60

View File

@ -14,7 +14,7 @@
## 规则统计
最后更新时间2023-02-15 23:48:05
最后更新时间2023-04-07 14:53:12
各类型规则统计:
| 类型 | 数量(条) |

View File

@ -1,5 +1,5 @@
#!name=Upgrade
#!desc=最后更新时间 2023-02-15 23:48:05
#!desc=最后更新时间 2023-04-07 14:53:12
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!reject=10

View File

@ -16,7 +16,7 @@
## 规则统计
最后更新时间2023-02-15 23:48:13
最后更新时间2023-04-07 14:53:20
各类型规则统计:
| 类型 | 数量(条) |

View File

@ -1,5 +1,5 @@
#!name=ZhihuAssistantLite
#!desc=最后更新时间 2023-02-15 23:48:13
#!desc=最后更新时间 2023-04-07 14:53:20
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!domain=4

View File

@ -16,7 +16,7 @@
## 规则统计
最后更新时间2023-02-15 23:47:53
最后更新时间2023-04-07 14:52:59
各类型规则统计:
| 类型 | 数量(条) |

View File

@ -1,5 +1,5 @@
#!name=ZhihuAssistantPlus
#!desc=最后更新时间 2023-02-15 23:47:53
#!desc=最后更新时间 2023-04-07 14:52:59
#!author=blackmatrix7
#!repo=https://github.com/blackmatrix7/ios_rule_script
#!domain=4