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
- Install AdBlock
- Restart Firefox
- And add filters
Once you install Adblock and restart firefox, you will have new drop-down menu options:

You can right click on any ad and select “Adblock Image…” or “Adblock iFrame” and you will see the following window:

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:

You can also add filters like:
*ads*
*banner*
*advert*
To block everything that contains “ad” or “banner” in the URL.
2 Comments »
Leave a comment
-
Archives
- June 2009 (1)
- April 2009 (1)
- December 2008 (1)
- August 2008 (1)
- July 2008 (2)
- June 2008 (1)
- May 2008 (5)
- April 2008 (3)
- March 2008 (7)
- February 2008 (3)
- January 2008 (5)
- December 2007 (7)
-
Categories
-
RSS
Entries RSS
Comments RSS


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
Good