Archives du mot-clé adblock

How to block ads with Ubuntu Touch

You can easily block ads with Ubuntu Touch with a few commands:

# mount your / file system
sudo mount -o remount,rw /
cd /etc/NetworkManager/dnsmasq.d
# get the list
sudo wget 'https://pgl.yoyo.org/as/serverlist.php?hostformat=dnsmasq&mimetype=plaintext' -O adservers.conf

sudo reboot

Thanks to this author of https://pgl.yoyo.org/adservers/ for his lists.