update README.md

pull/166/head
gently 5 years ago
parent 7df70003b0
commit b29e19c704

@ -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…
Cancel
Save