Clone
4
Home
gently edited this page 2019-12-31 14:42:13 +08:00
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

常见问题

1. 请教下作者anti-ad都整合了哪家规则

目前(2019.12)anti-ad项目整合的上游规则是来自下列几个源

https://easylist-downloads.adblockplus.org/easylistchina+easylist.txt
https://raw.githubusercontent.com/cjx82630/cjxlist/master/cjx-annoyance.txt
https://easylist.to/easylist/fanboy-annoyance.txt
https://easylist.to/easylist/easyprivacy.txt
https://hosts.nfz.moe/full/hosts
https://raw.githubusercontent.com/vokins/yhosts/master/hosts
https://raw.githubusercontent.com/jdlingyu/ad-wars/master/hosts

anti-AD对上游规则所做的整合优化如下:

  1. 排除各个规则之间的重复部分
  2. 尽可能的修正上游规则中的误杀规则和去除非广告屏蔽、隐私保护范畴的规则
  3. 去除已经不存在解析记录、解析出错、已经注销的域名,本身已经无法连接也就不能发布广告或收集隐私了
  4. 根据suffix规则通过算法对域名向上整合子域名最大化减少规则行数但不降低效果
  5. 应用easylist模糊匹配进一步减少行数