Blocking Google ads
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:
Posted in 
content rss

March 7th, 2007 at 2:14 pm
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
March 24th, 2007 at 5:34 pm
Adblock Plus with EasyList Filter can remove ads on most of the websites. Enjoy the surfing experience again.
October 7th, 2007 at 12:47 am
Thank you for sharing!