mirror of
https://github.com/privacy-protection-tools/anti-AD.git
synced 2025-02-02 11:43:00 +08:00
update readme
This commit is contained in:
parent
206cb28b77
commit
608d1830d7
12
README.md
12
README.md
@ -20,14 +20,13 @@
|
|||||||
1. 进入AdGuardHome过滤器页面,选择添加过滤器
|
1. 进入AdGuardHome过滤器页面,选择添加过滤器
|
||||||
2. 输入名称 `anti-AD`,url地址:`https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-easylist.txt`([jsDelivr加速](https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/anti-ad-easylist.txt))
|
2. 输入名称 `anti-AD`,url地址:`https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-easylist.txt`([jsDelivr加速](https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/anti-ad-easylist.txt))
|
||||||
3. 点击确认后即生效
|
3. 点击确认后即生效
|
||||||
## jsDelivr镜像(测试加速效果不错)
|
|
||||||
|
|
||||||
### 3. Pi-Hole
|
### 3. Pi-Hole
|
||||||
1. 进入Pi-Hole的配置界面
|
1. 进入Pi-Hole的配置界面
|
||||||
2. 添加 `https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-easylist.txt`([jsDelivr加速](https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/anti-ad-easylist.txt)) 作为新的过滤器
|
2. 添加 `https://raw.githubusercontent.com/privacy-protection-tools/anti-AD/master/anti-ad-easylist.txt`([jsDelivr加速](https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/anti-ad-easylist.txt)) 作为新的过滤器
|
||||||
3. 保存后生效
|
3. 保存后生效
|
||||||
|
|
||||||
## jsDelivr镜像(经测试加速效果不错)
|
## jsDelivr镜像
|
||||||
|
|
||||||
感谢 [@rufengsuixing](https://github.com/rufengsuixing) 的建议
|
感谢 [@rufengsuixing](https://github.com/rufengsuixing) 的建议
|
||||||
1. `adblock-for-dnsmasq.conf`: https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/adblock-for-dnsmasq.conf
|
1. `adblock-for-dnsmasq.conf`: https://cdn.jsdelivr.net/gh/privacy-protection-tools/anti-AD/adblock-for-dnsmasq.conf
|
||||||
@ -41,14 +40,9 @@
|
|||||||
运行start.sh,会去下载easylist,yhosts,neohosts,cjxlist等其他大神维护的屏蔽列表,然后整理合并成一个文件。拿着这个文件放入到例如/etc/dnsmasq.d/的目录下,然后重启dnsmasq进程就能加载。更新依赖于其他大神的内容更新了。
|
运行start.sh,会去下载easylist,yhosts,neohosts,cjxlist等其他大神维护的屏蔽列表,然后整理合并成一个文件。拿着这个文件放入到例如/etc/dnsmasq.d/的目录下,然后重启dnsmasq进程就能加载。更新依赖于其他大神的内容更新了。
|
||||||
|
|
||||||
* `adblock-for-dnsmasq.conf` - 这个是最终生成的配置文件,大约每月更新4次,所以,如果你打算直接下载我维护的这个文件,不需要太高的pull频率
|
* `adblock-for-dnsmasq.conf` - 这个是最终生成的配置文件,大约每月更新4次,所以,如果你打算直接下载我维护的这个文件,不需要太高的pull频率
|
||||||
|
|
||||||
* `make-addr.php` - 是php脚本的主文件,执行php make-addr.php将更新配置文件
|
* `make-addr.php` - 是php脚本的主文件,执行php make-addr.php将更新配置文件
|
||||||
|
* `lib/black_domain_list.php` - 是用来配置域名黑名单,这个威力巨大,谨慎使用
|
||||||
* `black_domain_list.php` - 是用来配置域名黑名单,这个威力巨大,谨慎使用
|
* `lib/white_domain_list.php` - 白名单,优先级低于黑名单,即一个域名同时出现在黑白名单中时,将采用黑名单规则
|
||||||
|
|
||||||
* `white_domain_list.php` - 白名单,优先级低于黑名单,即一个域名同时出现在黑白名单中时,将采用黑名单规则
|
|
||||||
|
|
||||||
* `block_domains.root.conf` - 这个文件是用来配置无论别人怎么更新,你都要保留的配置的,满足个性化需求,随心所欲。
|
|
||||||
|
|
||||||
## 欢迎提意见
|
## 欢迎提意见
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user