O'Reilly Hacks
oreilly.comO'Reilly NetworkSafari BookshelfConferences Sign In/My Account | View Cart   
Book List Learning Lab PDFs O'Reilly Gear Newsletters Press Room Jobs  


Blocking ads in internet explorer
A good way to block ads and unwanted sites in Internet Explorer without a third party applic ation

Contributed by:
[11/07/04 | Discuss (0) | Link to this hack]

The hosts file contains the mapping of IP addresses to host names. So by specifying the host name of an unwanted website as the local IP address, the browser looks for the file in your own computer, thus blocking the download. PS - this is not an original hack of mine but cool nevertheless. Dunno if you have used it before.

See also: http://www.mvps.org/winhelp2002/hosts.htm

O'Reilly Home | Privacy Policy

© 2007 O'Reilly Media, Inc.
Website: | Customer Service: | Book issues:

All trademarks and registered trademarks appearing on oreilly.com are the property of their respective owners.