Blocking google ads via your hostfile

Nothing new here, just a quick way to block google ads via a simple addition to your hostfile – Not that I am against Google ads (I use them myself on this blog), but sometimes they are put in annoying places and besides I respect that some people just don’t like advertising.

Here’s how to;

Fire up your Notepad (if you are running Vista,7 you MUST launch in administrator mode – rightclick notepad and select “run as administrator”), open the file “hosts” found here; c:\windows\system32\drivers\etc.

Now add these two lines to the bottom of the hosts file (there should be a tab between the numbers and text);

127.0.0.1 pagead.googlesyndication.com
127.0.0.1 pagead2.googlesyndication.com

save and your done, no more google ads.

0 replies

Leave a Reply

Want to join the discussion?
Feel free to contribute!

Leave a Reply

Your email address will not be published. Required fields are marked *