How to block ads on a website using any browser
Today I come up with a Wikipedia article that gave me inspiration to this post: How to Block ads (like Adsense and Adbrite) on any website using any browser (Firefox or IE or any other browser under Windows).The idea is simple : Redirecting the advertising website host name to another IP address, then you can't access it.
- How to do it?
It's general (not only for Ads), you can block any website from showing on your computer on any browser.
To do it, open the execute command, and typenotepad C:\WINDOWS\system32\drivers\etc\hosts
Then note pad will open a text file. You'll have to edit it.
You can add as my host names you want. Normally, you should find the following127.0.0.1 localhost
Leave this one in peace and add another line127.0.0.2 pagead2.googlesyndication.com
After saving your file, you'll notice that Adsense ads don't show on any website.
You can do the same for any other advertising website. - How to get the host name of the advertising website
Then you should have noticed that didn't put google.com/adsense or google.com in the host name. It's simple, because the host where Adsense gets its ads from isn't google.com but page2ad.googlesyndication.com
To know it, right click on the Adsense (or any other ad), copy the link location (you don't have even to open it) and paste it in a note pad.
Now you should see the host name page2ad.googlesyndication.com/blablabla
The blablabla don't matter, we can put page2ad.googlesyndication.com or googlesyndication.com directly and we are done. - What I really think!
It's great to disable ads on a website, especially when they are noisy and heavy one. However my blog will really sucks if all my visitors blocks ads! I must then think of other ways of advertising.
Hey this is not wrking....Have u try this....
ne said...
September 19, 2008 5:34 AM
sure this works well! you have surely missed something.
Or what platform are you using?
Omar Abid said...
September 19, 2008 6:00 AM
I almost wish you'd pull this post. Teaching people how to block ads goes against even the system you're using right now! The reason Blogger and Google keeps us living the high life on FREE are ads. No ads no money, no google, no gmail, google maps, blogger, youtube, list goes on and on from my computer to my phone i'm nearly 100% google in all my organizational and Office Suite needs. So long story short this is a horrible post!
cmisak said...
September 19, 2008 11:03 AM
wow cmisak, this is a great post, And you can just use FF addon adblock to get rid of ads too
Scott said...
September 19, 2008 2:15 PM
Shouldn't it be pagead2.googlesyndication.com?
Steve.
steverobbo said...
September 19, 2008 6:05 PM
The ad banners that you see all over the web are stored on servers. Stopping your computer communicating with another computer can be quite simple. So, if you have a list of the servers used for ad banners, it's easy to stop ad banners even getting to your browser. If ad banners aren't a problem for you, then these pages aren't really going to do much for you. But personally, I hate them. I've never got used to having flashing images in the corner of my vision when I'm trying to read.
---------
micheel
buzz marketing
peter said...
September 27, 2008 12:26 PM
Anonymous said...
September 29, 2008 2:16 AM
thanks steverobbo it's pagead2!
Omar Abid said...
October 4, 2008 4:50 AM
use ad block plus. its really simple.
chodirin said...
October 25, 2008 6:21 PM
I'll have a look on it
Omar Abid said...
November 6, 2008 7:55 AM
Thanks! Now I can block ads from your website. Good tip. :D
Aku said...
November 11, 2008 9:03 PM
nice post
website design New York City said...
June 18, 2009 4:35 AM