Clash/rule/Surge/Advertising/README.md

133 lines
6.4 KiB
Markdown
Raw Normal View History

2022-06-04 17:46:59 +08:00
# 🧸 去广告
2021-04-09 19:34:05 +08:00
## 前言
2022-06-04 17:46:59 +08:00
![](https://shields.io/badge/-移除重复规则-ff69b4) ![](https://shields.io/badge/-移除无法解析的域名-important) ![](https://shields.io/badge/-DOMAIN与DOMAIN--SUFFIX合并-green) ![](https://shields.io/badge/-DOMAIN--SUFFIX间合并-critical) ![](https://shields.io/badge/-DOMAIN与DOMAIN--KEYWORD合并-9cf) ![](https://shields.io/badge/-DOMAIN--SUFFIX与DOMAIN--KEYWORD合并-blue) ![](https://shields.io/badge/-IP--CIDR(6)合并-blueviolet) ![](https://shields.io/badge/-MITM--HOSTNAME合并-brightgreen) ![](https://shields.io/badge/-正则推导HOSTNAME-033da7)
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
去广告规则由《RULE GENERATOR 规则生成器》自动生成。
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
分流规则是互联网公共服务的域名和IP地址汇总所有数据均收集自互联网公开信息不代表我们支持或使用这些服务。
请通过【中华人民共和国 People's Republic of China】合法的互联网出入口信道访问规则中的地址并确保在使用过程中符合相关法律法规。
2021-04-09 19:34:05 +08:00
## 规则说明
可能存在部分误拦截,建议搭配放行规则进行修正。
## 规则统计
2023-02-09 02:15:16 +08:00
最后更新时间2023-02-09 02:07:48
2021-04-09 19:34:05 +08:00
各类型规则统计:
2022-06-04 17:46:59 +08:00
| 类型 | 数量(条) |
| ---- | ---- |
| AND | 1 |
2023-02-08 14:41:01 +08:00
| DOMAIN | 15561 |
2023-01-29 23:22:36 +08:00
| DOMAIN-KEYWORD | 76 |
2023-02-09 02:15:16 +08:00
| DOMAIN-SUFFIX | 81321 |
2022-12-22 20:35:03 +08:00
| IP-CIDR | 238 |
2023-01-29 23:22:36 +08:00
| URL-REGEX | 285 |
2023-02-09 02:15:16 +08:00
| TOTAL | 97482 |
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
## Surge
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
#### 使用说明
- Advertising.list请使用RULE-SET。
- Advertising_Resolve.list请使用RULE-SET。
- Advertising_Domain.list请使用DOMAIN-SET。
- URL-REGEX类型的规则在HTTPS协议中需要配合MITM使用。规则生成器已尝试推导MITM的配置Advertising_MITM.sgmodule仅供参考。
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
#### 文件区别
- Advertising_Resolve.list与Advertising.list的区别仅在于后者IP-CIDR(6)类型带no-resolve。
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
#### 配置建议
- Advertising.list、Advertising_Domain.list 共同使用。
- Advertising_Resolve.list、Advertising_Domain.list 共同使用。
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
#### 规则链接
**MASTER分支 (每日更新)**
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Advertising/Advertising.list
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
**MASTER分支 CDN (每日更新)**
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@master/rule/Surge/Advertising/Advertising.list
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
**MASTER分支 GHProxy (每日更新)**
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/rule/Surge/Advertising/Advertising.list
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
**RELEASE分支 (不定时更新)**
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Surge/Advertising/Advertising.list
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
**RELEASE分支CDN (不定时更新)**
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://cdn.jsdelivr.net/gh/blackmatrix7/ios_rule_script@release/rule/Surge/Advertising/Advertising.list
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
**RELEASE分支 GHProxy (不定时更新)**
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
https://ghproxy.com/https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/release/rule/Surge/Advertising/Advertising.list
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
## 子规则/排除规则
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
当前分流规则,已包含以下子规则,除非特殊需求否则不建议重复引用:
| 子规则 | | |
| ---- | ---- | ---- |
| AdvertisingLite | Hijacking | Privacy |
2021-04-09 19:34:05 +08:00
2021-10-13 02:09:19 +08:00
当前分流规则,已排除以下规则:
2022-06-04 17:46:59 +08:00
| 排除规则 |
| ---- |
| Direct |
2021-10-13 02:09:19 +08:00
2021-04-09 19:34:05 +08:00
## 数据来源
2022-06-04 17:46:59 +08:00
《去广告》的数据来自以下链接,如与本项目的《去广告》规则混合使用,可能会造成规则大量重复。
2021-04-09 19:34:05 +08:00
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanAD.list
2022-06-04 17:46:59 +08:00
- https://raw.githubusercontent.com/NobyDa/ND-AD/master/Surge/AD_Block.txt
- https://raw.githubusercontent.com/NobyDa/Script/master/Surge/AdRule.list
2021-04-09 19:34:05 +08:00
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Advertising.list
2022-12-23 02:12:40 +08:00
- https://raw.githubusercontent.com/eHpo1/Rules/master/Surge4/Ruleset/Liby.list
- https://raw.githubusercontent.com/eHpo1/Rules/master/Surge4/Ruleset/Tide.list
- https://raw.githubusercontent.com/lhie1/Rules/master/Surge/Surge%203/Provider/Reject.list
2022-06-04 17:46:59 +08:00
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rule/Advertising/Advertising.list
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/rule/Advertising/LianXiangJia/LianXiangJia.list
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Quantumult/Filter/Guard/Advertising.list
2022-12-23 02:12:40 +08:00
- https://raw.githubusercontent.com/eHpo1/Rules/master/QuantumultX/Filter/Liby.txt
2021-04-09 19:34:05 +08:00
- https://raw.githubusercontent.com/scomper/surge-list/master/reject.list
2022-06-04 17:46:59 +08:00
- https://raw.githubusercontent.com/scomper/surge-list/master/adblock.list
2022-12-23 02:12:40 +08:00
- https://raw.githubusercontent.com/nzw9314/Surge/master/Ruleset/Tide.list
- https://raw.githubusercontent.com/blackmatrix7/ios_rule_script/master/source/connershua/Quantumult/X/Filter/Advertising.list
2022-06-04 17:46:59 +08:00
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyList.list
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyListChina.list
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanProgramAD.list
2022-12-23 02:12:40 +08:00
- https://raw.githubusercontent.com/787a68/Rules/master/Surge4/Ruleset/Tide.list
2022-06-04 17:46:59 +08:00
- https://raw.githubusercontent.com/limbopro/Adblock4limbo/main/Adblock4limbo.list
- https://raw.githubusercontent.com/Hackl0us/SS-Rule-Snippet/master/Rulesets/Surge/Custom/ad-domains.list
- https://raw.githubusercontent.com/Hackl0us/SS-Rule-Snippet/master/Rulesets/Surge/Custom/video-ad.list
- https://raw.githubusercontent.com/an0na/R/master/Filter/AdBlock.list
2021-04-09 19:34:05 +08:00
- https://raw.githubusercontent.com/sve1r/Rules-For-Quantumult-X/develop/Rules/Advertising/AdReject.list
- https://raw.githubusercontent.com/sve1r/Rules-For-Quantumult-X/develop/Rules/Advertising/Hijacking.list
2022-06-04 17:46:59 +08:00
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Hijacking.list
- https://raw.githubusercontent.com/DivineEngine/Profiles/master/Surge/Ruleset/Guard/Privacy.list
- https://raw.githubusercontent.com/ACL4SSR/ACL4SSR/master/Clash/BanEasyPrivacy.list
2021-07-16 02:07:24 +08:00
- https://raw.githubusercontent.com/yjqiang/surge_scripts/main/modules/hupu/hupu.sgmodule
2022-06-04 17:46:59 +08:00
- https://raw.githubusercontent.com/Loyalsoldier/clash-rules/release/reject.txt
2021-04-09 19:34:05 +08:00
2022-06-04 17:46:59 +08:00
感谢以上规则作者的辛勤付出(排名不分先后)。
2021-04-09 19:34:05 +08:00
## 最后
### 感谢
2022-06-04 17:46:59 +08:00
[@fiiir](https://github.com/fiiir) [@Tartarus2014](https://github.com/Tartarus2014) [@zjcfynn](https://github.com/zjcfynn) [@chenyiping1995](https://github.com/chenyiping1995) [@vhdj](https://github.com/vhdj)
2021-04-09 19:34:05 +08:00
提供规则数据源及改进建议。
### 其他
请不要对外宣传本项目。