classilla icon indicating copy to clipboard operation
classilla copied to clipboard

Implement adblocker

Open GoogleCodeExporter opened this issue 10 years ago • 2 comments

Besides being a nice feature, adblock allows us to repel a lot of crap and 
speed the browser up.

Original issue reported on code.google.com by [email protected] on 25 Feb 2012 at 3:36

GoogleCodeExporter avatar Jun 02 '15 16:06 GoogleCodeExporter

I´d suggest to not waste much time on such an adblock, as this "function" is 
already implemented inside the Mac OS (better go for better JavaScript with 
your time *g*). Simply use the control panel TCP/IP, there is the possibility 
to load a hostfile. This means a simple textfile with the URLs redirected to 
0.0.0.0 For example:

adsmart.com CNAME 0.0.0.0
adsmart.net CNAME 0.0.0.0

We coudl together write such an hostfile, get all the adfarms at this textfile, 
and include such improved hostfiles with every new Classilla. For me personally 
that "hostfile feature" makes it possible to include as well FB, google and 
others that crawl for data everywhere. ;)

Original comment by [email protected] on 27 Feb 2012 at 6:31

GoogleCodeExporter avatar Jun 02 '15 16:06 GoogleCodeExporter

I use the host file linked from this site: http://pgl.yoyo.org/as/news.php#macinfo Although it doesn't catch every single ad or tracker, it does a great job at most, AND is updated frequently. Just copy the text into BBEdit, remove the header, save it as hosts, drop it in the system folder, activate it in the TCP/IP control panel, and voila.

bdeuel avatar Feb 21 '16 18:02 bdeuel