Twann's Filters are filters compatible with a lot of different ad-blockers. They focus on privacy and freedom online.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
445 B

# This script needs the package "tblock" to be installed.
# More information: https://tblock.codeberg.page/install
for x in **/abp.txt; do
tblockc "$x" -fcs dnsmasq -o $(dirname "$x")/dnsmasq.conf
tblockc "$x" -fcs list -o $(dirname "$x")/domains.txt
tblockc "$x" -fcs hosts -o $(dirname "$x")/hosts/0.0.0.0.txt -0
tblockc "$x" -fcs hosts -o $(dirname "$x")/hosts/127.0.0.1.txt
tblockc "$x" -fcs tblock -o $(dirname "$x")/tblock.tbf
done