5 ms·
It really reminds me of how you block ads on a router that allow SSH access (like any router running Tomato, DD-WRT, OpenWRT...). There are several guides onli
by Spittie 13y ago
It really reminds me of how you block ads on a router that allow SSH access (like any router running Tomato, DD-WRT, OpenWRT...).
There are several guides online, like http://www.linksysinfo.org/index.php?threads/all-u-need-ad-blocking.33191 http://www.linksysinfo.org/index.php?threads/all-u-need-ad-b...
Anyway, I have mixed feelings on blocking ads at the router level (or using the RasbPi to block them). Those methods don't allow control, so if you need to disable adblocking for any reason, it's not something you can do just pressing a button.
Also, since it doesn't work on a per-site basis like Adblock Plus, you can't disable it on sites that you want to support and use ads in a non-intrusive way.
- jwcooper 13y agoThe guide does include ways to whitelist sites [1] you'd like to support (and mentions it's a good idea!) and is on a per-site basis. It pulls in an ad list from a popular site [2]. [1] http://learn.adafruit.com/raspberry-pi-as-an-ad-blocking-access-point/install-software http://learn.adafruit.com/raspberry-pi-as-an-ad-blocking-acc... [2] http://pgl.yoyo.org/adservers http://pgl.yoyo.org/adservers
- tuananh 13y agoI think he was talking about a way to quickly toggle the ad blocker on/off.
- jwcooper 13y agoYea, I didn't write that part out, but it would be fairly easy to write a bash script to turn it on and off (and even a simple web site with a on/off button, as you are running apache in one of the solutions). You could just move the dnsmasq.adlist.conf file out of the dnsmasq.d directory, and then restart dnsmasq.d, and vice versa.
- mnutt 13y agoEven better, with a Raspberry Pi, you could build a physical switch to flip to turn ads on/off.
- GrinningFool 13y ago> Also, since it doesn't work on a per-site basis like Adblock Plus, you can't disable it on sites that you want to support and use ads in a non-intrusive way. If the ads are hosted via a third party, it is unfortunately guaranteed invasive even if it's not visually intrusive.