privacy-protection-tools / anti-AD

致力于成为中文区命中率最高的广告过滤列表,实现精确的广告屏蔽和隐私保护。anti-AD现已支持AdGuardHome,dnsmasq, Surge,Pi-Hole,smartdns等网络组件。完全兼容常见的广告过滤工具所支持的各种广告过滤列表格式

Home Page:https://anti-ad.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

考虑输出 Surge list 么?

xlighting2017 opened this issue · comments

目前是 surge conf, 比较难和 其他的规则共存

目前的Surge支持 list, 只需要在现有 conf基础上稍作改动, 就可以

稍作 = 去掉 [Rule] 一行 + 去掉下面每一行末尾的 ,REJECT

提供一行代码:
tail -n +4 anti-ad-surge.txt | sed "s|,REJECT||" > surge.list

Thank you for opening your first issue in this repo. It’s people like you who make anti-AD better!

必须支持!当前提供的这个格式,是我自用的,不过现在也用不上了,一直没改格式。刚刚我按照你说的改了,兄弟帮忙测试测试 https://anti-ad.win/surge.txt

测试可用, issue 关掉~

也可以增加 Quantumult X的适配,这个用户量非常庞大