![]() |
Hosts File
I have a really good hosts file so that I don't see ads. What I'd like to know though, does that stop the websites whose ads I'm blocking in this way still get revenue for those ads? Or do they still count as impressions even though I never see them?
|
They do not count as impressions because your browser never requests the file.
|
Excellent! Thank you, 7! Sometimes you want to look at a website, but you really, really don't want them to make money from you, even in an indirect way, you know?
|
I have a huge (450 KB?) Hosts file. Does that slow down the computer? Or use up resources?
|
I don't know how the OS processes the host file. I don't know if it is all cached or read for each request. I assume cached somehow. But 450kb is manageable.
You might see a slowdown when you hit 450MB though :D How many lines is 450kb of entries? |
Quote:
There are a bunch of websites which use GoogleAds. There are very strict rules on where GoogleAds are to be displayed. Quote:
Google will shut down their account. Many other banner ad companies are the same. You just need to find out who they are using and what the policy is. |
Quote:
That said, that file would have to get "pretty darn big" for parsing it to take longer (real-time-wise) than a dns request...but if the host ISN'T in your hosts file, it has to walk the whole file before it sends out the dns request, so that may be a noticeable delay, especially if you've got something running that tends to spam a lot of dns lookups. Also, the CPU isn't busy while waiting for a dns response, but is busy while parsing the hosts file. |
Quote:
Come to think about it I have not updated it in ages. I forget where I downloaded it from. |
My reasons for not wanting them to make money from my views are more spiteful than anything. I'm just happy to know I can keep browsing and they can keep on not getting any ad views from me.
|
Why would you use a hosts file as an ad blocker? AdBlock Plus not only works better, but is updated every week or so.
|
Thank-YOU for your recreational complaints 7.
Useless fucker. ;) |
Quote:
|
Quote:
|
OK, I know that that's how AdBlock worked at first, and also that they were working on a "don't let ads download" approach, but I must have never noticed when they put that in.
|
Quote:
|
You would have to run something like wireshark to know for sure which elements are coming in.
|
Quote:
Quote:
|
Quote:
|
Quote:
You can find an updated version at http://www.mvps.org/winhelp2002/hosts.htm . I see it has grown to about 600 KB. |
Many thanks, sailor.
|
And thanks to your question I have updated the Hosts file which was years old. :)
I vaguely remember adding a few hosts myself so I may have lost a few with the update. Maybe the server for ads to the SDMB was there added by me. Also, I vaguely remember removing one or two hosts because I wanted to download something from there. I think blocking known malicious sites using the hosts file is a good strategy and I install this file on all computers I maintain for friends and family. |
I have never seen an ad on the SDMB. I notice the ads at the SDMB are served by l1.zedo.com which is blocked by this hosts file.
|
All times are GMT -8. The time now is 12:02 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
User Alert System provided by
Advanced User Tagging v3.0.7 (Lite) -
vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Management has discontinued messages until further notice.