Removing Ads from Sites
Up Photos Modifications I Made Repairs My Other Vehicles Jokes Adventures Removing Ads from Sites

 

Ive decided to make a page on how to remove ads from crappy sites that dont deserve advertising in my opinion, and since this is my site and my page, guess who's opinion matters :)

 

I wrote a program that I was going to give away to people wanting to block all the ad crap that these sites threaten you with if you dont pay them to use the site without being choked on ads. The problem with that is I can hear the rumors now, "Its a virus or a trojan, dont use that !!"

So I decided on something far simpler.

All you need to do is open up a file on your computer called hosts. Its located in c:\windows\system32\drivers\etc. Simply put you open up the my computer icon and then choose c drive and then windows. Then double click on system 32 and then drivers and then the etc folder. You will see hosts. Since it doesnt have an extension when you double click on hosts it will ask you what to open it with. Just choose notepad.

The contents of this file will be something similar to this :

Copyright (c) 1993-1999 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:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

 

 

So go to the end of it and add the following for whatever sites you dont want your machine to load.

127.0.0.1 thesite.com

 

This causes your computer to not load thesite.com since the ip address is now set to 127.0.0.1 which is the address for localhost which is your machine :)

 

Heres a list of sites I like to ban. The listing is the site that has the ads and then the urls for those ads.

-------------------

ford-trucks.com

127.0.0.1 autoforumuniverse.us.intellitxt.com
127.0.0.1 campaigns.ford-trucks.net


To use the above banning as an example heres how your hosts file would look banning ads from ford-trucks.com

 

Copyright (c) 1993-1999 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:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 autoforumuniverse.us.intellitxt.com
127.0.0.1 campaigns.ford-trucks.net

 

After making the hosts file look like the above simply save it out and presto no more ads  from ford-trucks.com