Go Back   The Giraffe Boards > Main > Just the Facts
Register Blogs GB FAQ Forum Rules Community Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 29th July 2009, 03:31 PM
Mirhanda's Avatar
Mirhanda Mirhanda is offline
Stop looking at me!
 
Join Date: Mar 2009
Location: The Magic City
Posts: 941
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?
Reply With Quote
  #2  
Old 29th July 2009, 03:32 PM
Victor Frankenstein's Avatar
Victor Frankenstein Victor Frankenstein is offline
President: Shivarna Mitra Fan Chub
 
Join Date: Mar 2009
Posts: 9,171
They do not count as impressions because your browser never requests the file.
__________________
Hi.. I'm Seven *snort* and I'm in the AV club. PARP
Reply With Quote
  #3  
Old 29th July 2009, 03:39 PM
Mirhanda's Avatar
Mirhanda Mirhanda is offline
Stop looking at me!
 
Join Date: Mar 2009
Location: The Magic City
Posts: 941
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?
Reply With Quote
  #4  
Old 29th July 2009, 03:58 PM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
I have a huge (450 KB?) Hosts file. Does that slow down the computer? Or use up resources?
Reply With Quote
  #5  
Old 29th July 2009, 04:16 PM
Victor Frankenstein's Avatar
Victor Frankenstein Victor Frankenstein is offline
President: Shivarna Mitra Fan Chub
 
Join Date: Mar 2009
Posts: 9,171
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

How many lines is 450kb of entries?
__________________
Hi.. I'm Seven *snort* and I'm in the AV club. PARP
Reply With Quote
  #6  
Old 29th July 2009, 04:33 PM
Victor Frankenstein's Avatar
Victor Frankenstein Victor Frankenstein is offline
President: Shivarna Mitra Fan Chub
 
Join Date: Mar 2009
Posts: 9,171
Quote:
Originally Posted by Mirhanda View Post
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?
Well, you know...

There are a bunch of websites which use GoogleAds. There are very strict rules on where GoogleAds are to be displayed.

Quote:
The AdSense network is considered family-safe, which means that publishers aren't permitted to place Google ads on sites which contain adult content. In addition to photos and videos which contain nudity or sexual activities, here are some other examples of unacceptable content:

* Lewd or provocative images
* Crude or indecent language, including adult stories
* Sexual tips or advice
* Sexual fetish sites (e.g. foot fetish content)
* Adult toys or products
* Ads or links to external sites containing adult content

If your site has content which you wouldn't be comfortable viewing at work or with family members around, then it probably isn't an appropriate site to place Google ads upon.

https://www.google.com/adsense/suppo...&answer=105957

The AdSense program policies prohibit Google ads on sites which sell or promote drugs or drug paraphernalia. This includes drug accessories, illegal or prescription drugs, and herbal drugs such as salvia and magic mushrooms. Ads are also not permitted on pages which sell or promote the sales of beer, hard alcohol, or liqueurs. Additionally, publishers are not permitted to place ads on sites which sell or promote tobacco and tobacco-related products, including cigarettes, cigars, tobacco pipes, and rolling paper.

Please be aware that the promotion of prohibited content includes providing links to sites that do not follow our drug, alcohol, and tobacco-related content policies.

However, publishers are permitted to place ads on informational content relating to brewing or distilling beer, as well as content related to the topic of quitting smoking.

https://www.google.com/adsense/suppo...&answer=105948

Publishers are responsible for ensuring that the content of all pages upon which their ads appear complies with our program policies, even if the content is generated by users. While we understand that it may be challenging to monitor content which is frequently updated, to participate in AdSense and ensure that your account is in good standing, you must monitor the pages where your ad code appears.

Here are some tips that may help you monitor your network for policy violations:

* Educate your users about AdSense policies
* Perform a human evaluation of each page or site before placing ad code there
* Proactively review your top pages at least once a week
* Add keywords filters, e.g. adult content, pay-to services, hacking content, gambling content, etc. Although we're unable to provide information on "keyword filtering" or "content filtering", you may wish to search for this information on Google.
* Add a 'Report a violation' link to all pages with user-generated content

https://www.google.com/adsense/suppo...&answer=115995
If you REALLY REALLY don't want the site to make money, and they are breaking Google rules, report them.

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.
__________________
Hi.. I'm Seven *snort* and I'm in the AV club. PARP
Reply With Quote
  #7  
Old 29th July 2009, 04:52 PM
LordVor's Avatar
LordVor LordVor is offline
Charter Member
 
Join Date: Mar 2009
Location: In a maze of twisty passages, all alike
Posts: 729
Quote:
Originally Posted by 7 View Post
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

How many lines is 450kb of entries?
So it should only get referenced when somebody wants to open a socket to somewhere else. But you don't have to restart anything when you edit the hosts file for your changes to take effect, so when you do that lookup it must parse the file every time.

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.
Reply With Quote
  #8  
Old 29th July 2009, 04:54 PM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
Quote:
Originally Posted by 7 View Post
How many lines is 450kb of entries?
It counts 10600 instances of 127.0.0.1

Come to think about it I have not updated it in ages. I forget where I downloaded it from.
Reply With Quote
  #9  
Old 29th July 2009, 05:37 PM
Mirhanda's Avatar
Mirhanda Mirhanda is offline
Stop looking at me!
 
Join Date: Mar 2009
Location: The Magic City
Posts: 941
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.
Reply With Quote
  #10  
Old 29th July 2009, 06:26 PM
tunaman's Avatar
tunaman tunaman is offline
Charter Member
 
Join Date: Jun 2009
Location: Foxbase Alpha
Posts: 3,230
Why would you use a hosts file as an ad blocker? AdBlock Plus not only works better, but is updated every week or so.
Reply With Quote
  #11  
Old 29th July 2009, 07:38 PM
Chacoguy's Avatar
Chacoguy Chacoguy is offline
Messes about in Boats
 
Join Date: Mar 2009
Location: River of Lost Souls
Posts: 15,990
Thank-YOU for your recreational complaints 7.








Useless fucker.






Reply With Quote
  #12  
Old 29th July 2009, 08:21 PM
LordVor's Avatar
LordVor LordVor is offline
Charter Member
 
Join Date: Mar 2009
Location: In a maze of twisty passages, all alike
Posts: 729
Quote:
Originally Posted by tunaman View Post
Why would you use a hosts file as an ad blocker? AdBlock Plus not only works better, but is updated every week or so.
I'm pretty sure that AdBlock lets the ads download, but just doesn't let them draw. So, for the spiteful, it still looks like an ad view, and for the people still on dial-up, it doesn't save them any bandwidth.
Reply With Quote
  #13  
Old 2nd August 2009, 12:43 AM
tunaman's Avatar
tunaman tunaman is offline
Charter Member
 
Join Date: Jun 2009
Location: Foxbase Alpha
Posts: 3,230
Quote:
Originally Posted by LordVor View Post
I'm pretty sure that AdBlock lets the ads download, but just doesn't let them draw. So, for the spiteful, it still looks like an ad view, and for the people still on dial-up, it doesn't save them any bandwidth.
No, AdBlock doesn't download the ads. It does have the option of showing placeholders where the ad would be, but this is disabled by default.
Reply With Quote
  #14  
Old 2nd August 2009, 06:47 AM
LordVor's Avatar
LordVor LordVor is offline
Charter Member
 
Join Date: Mar 2009
Location: In a maze of twisty passages, all alike
Posts: 729
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.
Reply With Quote
  #15  
Old 2nd August 2009, 12:13 PM
Canadjun Canadjun is offline
Charter Member
 
Join Date: Mar 2009
Location: Edmonton, Alberta
Posts: 39
Quote:
Originally Posted by tunaman View Post
No, AdBlock doesn't download the ads. It does have the option of showing placeholders where the ad would be, but this is disabled by default.
Is that the case for all of its filters? The reason I ask is that with Adblock on, I get a suspicious flicker when threads on a certain other board display, as though the site is starting to display something and then getting it cancelled.
Reply With Quote
  #16  
Old 2nd August 2009, 12:16 PM
Victor Frankenstein's Avatar
Victor Frankenstein Victor Frankenstein is offline
President: Shivarna Mitra Fan Chub
 
Join Date: Mar 2009
Posts: 9,171
You would have to run something like wireshark to know for sure which elements are coming in.
Reply With Quote
  #17  
Old 3rd August 2009, 07:17 PM
Bayard's Avatar
Bayard Bayard is offline
Just Some Guy
 
Join Date: Mar 2009
Location: St. Louis, MO
Posts: 48
Blog Entries: 1
Quote:
Originally Posted by Mirhanda View Post
I have a really good hosts file so that I don't see ads.
Quote:
Originally Posted by sailor View Post
I have a huge (450 KB?) Hosts file. Does that slow down the computer? Or use up resources?
That's an appraoch I'd never thought of before. Are either of you willing to share your hosts files? I don't mind ads so much, but I'm interested in what you're blocking.
Reply With Quote
  #18  
Old 3rd August 2009, 08:14 PM
Oxmyx's Avatar
Oxmyx Oxmyx is offline
Boss
 
Join Date: Aug 2009
Location: Canada
Posts: 219
Quote:
Originally Posted by Canadjun View Post
Is that the case for all of its filters? The reason I ask is that with Adblock on, I get a suspicious flicker when threads on a certain other board display, as though the site is starting to display something and then getting it cancelled.
Doesn't happen with mine, Firefox 3.5.1 with Adblock Plus and Adblock Plus Element Hiding Helper 1.0.6, on any site.
Reply With Quote
  #19  
Old 4th August 2009, 04:17 AM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
Quote:
Originally Posted by Bayard View Post
That's an appraoch I'd never thought of before. Are either of you willing to share your hosts files? I don't mind ads so much, but I'm interested in what you're blocking.
I downloaded my hosts file years ago from somewhere. It is suposed to list known malicious hosts as well as advertising. I have added a few hosts to the file myself and I may have removed one or two hosts which I wanted to access.

You can find an updated version at http://www.mvps.org/winhelp2002/hosts.htm . I see it has grown to about 600 KB.
Reply With Quote
  #20  
Old 4th August 2009, 04:31 AM
Bayard's Avatar
Bayard Bayard is offline
Just Some Guy
 
Join Date: Mar 2009
Location: St. Louis, MO
Posts: 48
Blog Entries: 1
Many thanks, sailor.
Reply With Quote
  #21  
Old 4th August 2009, 04:47 AM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
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.
Reply With Quote
  #22  
Old 4th August 2009, 09:01 AM
sailor sailor is offline
Charter Member
 
Join Date: Mar 2009
Posts: 581
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.
Reply With Quote
Reply

Giraffiti
7 has a huge cock, Hosts Files


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 01:16 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.