DavroN : BloG

[CLOSED] now at: blog.akilbaev.com

FireFox: How to block ads

You can get rid of almost all annoying ads in Firefox using the AdBlock addon. You can block all types of ads (iFrames, Flash, etc.) All you need to do is

Once you install Adblock and restart firefox, you will have new drop-down menu options:
adblockmenu1.jpg
You can right click on any ad and select “Adblock Image…” or “Adblock iFrame” and you will see the following window:

adblock2.jpg
You can see that the ad is located at “http://ad.doubleclick.net/adi/gm.lifehacker/security;ptile=4;sz=300×250;ord=12961295?” which is hosted at ad.doubleclick.net. Now by looking at the URL – you know that “ad.doubleclick.net” is an advertising website and you will never need to use it unless you are an advertiser yourself. You can block all ads from that domain by adding the following filter:

http://ad.doubleclick.net/*

Where asterisk (“*”) means “anything that’s hosted there…”

This is what I have in my filters:
adblock-list.jpg

You can also add filters like:
*ads*
*banner*
*advert*

To block everything that contains “ad” or “banner” in the URL.

August 8, 2007 - Posted by Davron | HowTo's | , , , , , , , , , , , | 2 Comments

2 Comments »

  1. An even better way to fight ads is by filling /etc/hosts with the domain names of ad servers and running kwak daemon (http://code.google.com/p/kwakd/) which is a really tiny little web server that does nothing else than serving blank pages. Really cool :)

    Comment by Phil | January 1, 2008 | Reply

  2. Good

    Comment by rahul | January 22, 2009 | Reply


Leave a comment