Chromium and Iceweasel support adblock plus, but I find them way too memory/cpu intensive on the Pi to be usable,
and midori has an adblock option which isn't supported in our version on the Pi.
But there is a solution !
You can block all the ads in any browser on the Pi by using a hosts file from the guys at http://winhelp2002.mvps.org
– they maintain an up-to-date host file with a list of ads which we can use.
Open a terminal window and type (or copy and paste) the following:
Ads are now gone !
Code: Select all
wget http://winhelp2002.mvps.org/hosts.txt sudo mv hosts.txt /etc/hosts
You can stop there and ads are blocked – but you will quickly realise that many sites show an error where the advert used to be.
In step 2 below I'll install a tiny webserver to blank out the ad error pages: