28 June 2008

Blocking of irritating ads using host file

One of the most irritating things about online websites is the intrusive online ads. Sometimes they appear from the bottom of the page and has a button (click me to close).

When you click on it, it pops up another Ad. That is really too much.

The simplest way to deal with such ads is to add their hostname into a HOSTS flie that exists on your machines. The file resides in C:\WINDOWS\System32\driver\etc. You will need admin priveledges to edit it using a notepad. Add those ad servers hostname, leave a blank and add as shown below.

C:\Windows\System32\drivers\etc>type hosts
# Copyright (c) 1993-2006 Microsoft Corp.
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
# For example:
# rhino.acme.com # source server
# x.acme.com # x client host localhost acvs.mediaonenetwork.net doubleclick.net streamit.hardwarezone.com

Share with us your experience about the blocking of irriating ads.

No comments:

Amazon Deals