Blocking Google ads

Date October 27, 2006

I’m still wondering what have I done, accidentally, to my Firefox browser such that no Google ads are displayed. I know that at one point I’ve installed the CustomizeGoogle extension to my Firefox. But it does not seem that it is the one that is blocking the Google ads. It should not be the firewall installed on my machine, as the ads are displayed correctly on my Internet Explorer browser.

Anyway, should you find that Google ads are getting a bit too annoying, here’s a pretty neat way of blocking them out of your sight:
Linux users, edit your /etc/hosts file and add

127.0.0.1 pagead2.googlesyndication.com

Windows XP users, edit c:\WINDOWS\system32\drivers\etc\hosts

OR you can install Adblock extension to your Firefox browser, and follow the instructions detailed on Jotsheet.

Related blog entries:

3 Responses to “Blocking Google ads”

  1. tatami said:

    Here are additional lines that you can add to your hosts file to make sure that google ads are blocked.

    127.0.0.1 partner.googleadservices.com
    127.0.0.1 pagead.googleadservices.com
    127.0.0.1 pagead2.googleadservices.com
    127.0.0.1 adwords.google.com #[Gmail ads]
    127.0.0.1 pagead.googlesyndication.com
    127.0.0.1 pagead2.googlesyndication.com #[Google AdWords]
    127.0.0.1 syndicate.googlesyndication.com
    127.0.0.1 syndicate2.googlesyndication.com
    127.0.0.1 googlesyndication.com
    127.0.0.1 adservices.google.com
    127.0.0.1 syndicate.google.com
    127.0.0.1 syndicate2.google.com
    127.0.0.1 ssl.google-analytics.com
    127.0.0.1 http://www.google-analytics.com #[Google Analytics]
    127.0.0.1 google-analytics.com
    127.0.0.1 imageads.googleadservices.com
    127.0.0.1 imageads1.googleadservices.com
    127.0.0.1 imageads2.googleadservices.com
    127.0.0.1 imageads3.googleadservices.com
    127.0.0.1 imageads4.googleadservices.com
    127.0.0.1 imageads5.googleadservices.com
    127.0.0.1 imageads6.googleadservices.com
    127.0.0.1 imageads7.googleadservices.com
    127.0.0.1 imageads8.googleadservices.com
    127.0.0.1 imageads9.googleadservices.com
    127.0.0.1 http://www.googleadservices.com

  2. ato said:

    Adblock Plus with EasyList Filter can remove ads on most of the websites. Enjoy the surfing experience again.

  3. Wahoo said:

    Thank you for sharing!

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>