Jump to content
xisto Community
wutske

Surf With Less Ads windows hosts file

Recommended Posts

This is a little trick to surf with less ads.
-Step one-
Locate the hosts file:
WinXP/2K =%SYSTEMDRIVE%\%windir%\SYSTEM32\DRIVERS\ETC
Win 98\ME =%SYSTEMDRIVE%\%windir%\

There you'll see a file called 'hosts' .

-Step two-
Download the hosts file
Now you can add hosts to the hosts file or simply download a complete hosts file.
The above one is from http://www.mvps.org/ and it's a great one.

If you want to add a site url, you can do this like this:

127.0.0.1 http://www.domain.com/

-Step three-
Understanding how this works.
It fairly simple. What this file does is remapping the domains to 127.0.0.1. 127.0.0.* is used by nothing on the internet, it doesn't exist, but if you ping, you'll get an answer from your own pc.
Example:
If a site want to load an image (http://forums.xisto.com/no_longer_exists/) from http://www.domain.com/, then it will go to http://forums.xisto.com/no_longer_exists/ for the image and since it doesn't exist, it won't show.

-Step four-
Reboot. It's not always needed, but just reboot to be shure.

-Problems-
Yes, this simple hack can cause some problems, some sites wait before they get an answer from the sponsor (ie. google ads) and the site will work very slow or totaly not. You can simply rename the hosts file as long as needed and after the visit you can rename it 'hosts' again to surf with less ads.

Share this post


Link to post
Share on other sites

Changing the host file is one good approach to minimize ads on the websites you visit. And it is one of the oldest methods.

 

Remember junkbuster? It installed a proxy on your own machine and you had to exclude ad-hosting domains in a text file. Things improved with Proxomitron (Google search) which has a partly graphical userface. It also works as a local proxy. I strongly recommend it.

 

Nowadays it's easy. Even IE now comes with a pop-up blocker, and the easiest way to individually block ads is for sure the Firefox extension Adblock.

 

The differences between Proxomitron and Adblock are big though. Adblock downloads the ad and hides it, while Proxomitron replaces the ad with a small hint like [Ad]. It is also able to replace anything on any webpage. That includes frames (ads are frequently put in frames). You could read the New York Times and have a frame on top with the contents of a webcam from African wildlife. Still, the webpage you are visiting would load much quicker than with all the ads. If you overedo it though it might turn out that some other features of the webpage willl not work. I personally find it quite hard to filter out google ads without harming the site's functionality. But those bother me the least, this blinking flash s**t is an other story though. With Proxomitron you can set up different config files which you can change with a mouseclick. Comes in hany when you see nothing but ads on a site. If you've been to some chinese websites you know what I mean.

 

Give Proxomitron a try! go to proxomitron.info and do some reading. The original developer has left the program long ago, even the domain is up for sale now. *thinking of grabbing it* The program is so powerful that a developer who started using it called it "the second most powerful script after HTML/PHP". I could not judge, I just use it and see very few ads without compromizing the site's functionality.

 

curare

Share this post


Link to post
Share on other sites

Thank you for this, I have been looking for it for a long time. I am tired of surfing and getting about twenty adds. This is a big help and thank you, I really mean it. If you need anything ask me because I need to return the favor.

Share this post


Link to post
Share on other sites

Although related to stopping bad stuff from entering your machine, the following isn't an ad stopper per se. This is a black list designed solely for Intenet Explorer.

It's called IESpyAD and is available from the University Of Illinois at Urbana-Champaign

Link here

Essentially, it maintains a list of sites and domains associated with known advertisers, marketers, and crapware pushers to the Restricted sites zone of Internet Explorer. Once you merge this list of sites and domains into the Registry, the web sites for these companies will not be able to use cookies, ActiveX controls, Java applets, or scripting to compromise your privacy or your PC while you surf the Net. Nor will they be able to use your browser to push unwanted pop-ups, cookies, or auto-installing programs on your PC.

This is of course a preventive measure and not intended to lean your machine if it is infected.

Share this post


Link to post
Share on other sites

Incredible how many options to prevent yourself from staring at these friggin' ads have accumulated here in just a couple of days. It shows the effectiveness of collaboration with tools like discussion boards. Even as an internet veteran of 11+ years I am amazed. Mostly because there are millions of discussion boards out there and clearly one cannot follow them all in due time. So I concentrate my activities on only a couple of them where I read most posts. And this community is a good example how it can work. Cheers!curare

Share this post


Link to post
Share on other sites

I am using AD Muncher it is a really great application that will stop all ads from every webpage easily.It works on all browsers and programs like Yahoo! Messenger, ICQ, Windows Live Messenger etc.I am an Opera user so it do have built in ad blocking also.But with ad muncher I can't even see google adsense ads..I know this thread is little old, love to know what are your current strategy.

Share this post


Link to post
Share on other sites

Wow thanks guys, I always made sure that my host file was clean, i never new it could block certain websies. Though, wouln't this configuration slow down browsing, to verify the web address. Anyways, ill try going to one of thos esites and see what will happen.

Share this post


Link to post
Share on other sites

Well, for those who wants more control on this and don't want to do anything manually, I would like to offer to use Privoxy, which is available on a lot of operating System and it really works, I never see pop-ups I don't want I never see ads and it saves me time, because they never get loaded, but it works similar as above, just with much more configuration abilities, get it at: http://www.privoxy.org/

After you install it, you just need to use it as a proxy in your network settings as 127.0.0.1:8118, but if you already are using a proxy in the privoxy configuration you can forward to your proxy and whola. At first it can look quite hard to configure, but for more than 4 years I am satisfied with it and I don't need any other stupid programs to block something.. And if you want to see the ads for some reason, just disable proxy from the menu on Opera, on Firefox use Direct Connection option and etc. :)

Share this post


Link to post
Share on other sites

Hey sorry, this might sound ignorant but what's the difference between the programs listed above and the adblock plugin for firefox?That's what I am using, the adblock plugin.It also has a blacklist and can also be updated.It's works fine for my pc and laptop, so what is the advantage of using such programs?Am I right that those programs can blacklist whole sites (domains) where adblock is only capable of blocking certain aspects of the site (popups,pictures)And also since they are blacklisted they don't get loaded (saves bandwith)?But I think adblock restricts certain images from loading too, or will they just simply never be displayed?So the only advantage I see is, If you want to blacklist _whole_ domains you will use such tools.e.g when a popup tries to load a certain domain it redirects you to your own computer?!

Share this post


Link to post
Share on other sites

Or, do what you should do anyway, get Opera. Then do what I do, turn frames off.


Well, I wouldn't suggest to do that for anyone, even if it helps sometimes from certain ads, but sometimes you need frames or inline frames and of course javascript too if you want to turn it too to see even less ads. :D

Don't want to see ads? Don't browse the net :D don't use a computer, watch TV ads :)

Share this post


Link to post
Share on other sites

I disagree to thisQuatrux, on the above post I told you I haven't seen even a google adsense ad since I installed Ad muncher.Eventhough I am an Opera user I rarely use the adblocking feature.
If you need to block ad effectively in Opera then I will suggest you to edit the
/profile/urlfilter.ini

Don't want to see ads? Don't browse the net don't use a computer, watch TV ads

Edited by knight17 (see edit history)

Share this post


Link to post
Share on other sites

Thats a interesting hack, most likely this was used on older machines without the use of ad blocking software back in the day. But with new browsers out wouldn't this hack be kind of pointless now? Yeah This could help out the machines you need to jump start with a car battery. But with the proper protection you don't have to worry about ads. I believe firefox has a plug-in that blocks all ad's completely.

Share this post


Link to post
Share on other sites

I disagree to thisQuatrux, on the above post I told you I haven't seen even a google adsense ad since I installed Ad muncher.Eventhough I am an Opera user I rarely use the adblocking feature.If you need to block ad effectively in Opera then I will suggest you to edit the
/profile/urlfilter.ini


:) That was just my sarcasm :D That would be more understandable if my previous post in this thread would be seen in this page.. Of course the ad blocking software work, just differently. I don't see ads myself as I mentioned due to privoxy. :D

Share this post


Link to post
Share on other sites

Hey guys, i just found a really nice program that does all of this automatically. It also updates the hosts file whenever ths list is updated. It gives you a nice feature to activate adn deactivate. Its located at abelhadigital.com and is called Hostsman. Also i read somewhere online that that its good to disable DNS control on windows xp systems to speed up browsing.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.