mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-02-13 17:12:41 +08:00
update README.md
This commit is contained in:
parent
7df70003b0
commit
b29e19c704
19
README.md
19
README.md
@ -42,21 +42,10 @@
|
||||
|
||||
## jsDelivr镜像加速
|
||||
|
||||
_感谢 [@rufengsuixing](https://github.com/rufengsuixing) 的建议_
|
||||
1. `adblock-for-dnsmasq.conf`: https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD@master/adblock-for-dnsmasq.conf
|
||||
2. `anti-ad-easylist.txt`: https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD@master/anti-ad-easylist.txt
|
||||
3. `anti-ad-surge.txt`: https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD@master/anti-ad-surge.txt
|
||||
|
||||
|
||||
## 个性化
|
||||
|
||||
|
||||
运行start.sh,会去下载easylist,yhosts,neohosts,cjxlist等其他大神维护的屏蔽列表,然后整理合并成一个文件。拿着这个文件放入到例如/etc/dnsmasq.d/的目录下,然后重启dnsmasq进程就能加载。更新依赖于其他大神的内容更新了。
|
||||
|
||||
* `adblock-for-dnsmasq.conf` - 这个是最终生成的配置文件,大约每月更新4次,所以,如果你打算直接下载我维护的这个文件,不需要太高的pull频率
|
||||
* `make-addr.php` - 是php脚本的主文件,执行php make-addr.php将更新配置文件
|
||||
* `lib/black_domain_list.php` - 是用来配置域名黑名单,这个威力巨大,谨慎使用
|
||||
* `lib/white_domain_list.php` - 白名单,优先级低于黑名单,即一个域名同时出现在黑白名单中时,将采用黑名单规则
|
||||
_感谢 [@rufengsuixing](https://github.com/rufengsuixing) 提出的优化建议_
|
||||
1. `adblock-for-dnsmasq.conf`: [https://cdn.jsdelivr.net/.../adblock-for-dnsmasq.conf](https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD@master/adblock-for-dnsmasq.conf)
|
||||
2. `anti-ad-easylist.txt`: [https://cdn.jsdelivr.net/.../anti-ad-easylist.txt](https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD@master/anti-ad-easylist.txt)
|
||||
3. `anti-ad-surge.txt`: [https://cdn.jsdelivr.net/.../anti-ad-surge.txt](https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD@master/anti-ad-surge.txt)
|
||||
|
||||
## 欢迎提意见
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user