Football Fans: Download the 2012 Schedule App from Google Play!


Go Back   Android Forums > Android Community > The Lounge > Computers & IT



Reply
 
LinkBack Thread Tools
Old October 6th, 2011, 05:50 PM   #1 (permalink)
Senior Member
 
andruoid's Avatar
 
Join Date: Jan 2011
Location: BC, Canada
Posts: 613
 
Device(s): HTC Desire
Thanks: 99
Thanked 151 Times in 115 Posts
Default Not an App but, a File: Custom Hosts

I use adblocker in my browser but this takes things one step further. I've always wanted a conprehensive host list and this is perfect. It gets updated frequently and you can also add sites you don't like at your leisure. Before instaling type: ipconfig -flushdns then installing is as simple as navigating to c:/windows/system32/drivers/etc , rename the exisiting 'hosts' file name to host.bak then copy the custom host file to the same location.

To quote part of the site;

You can use a HOSTS file to block ads, banners, 3rd party Cookies, 3rd party page counters, web bugs, and even most hijackers. This is accomplished by blocking the connection(s) that supplies these little gems.
Example - the following entry 127.0.0.1 ad.doubleclick.net blocks all files supplied by that DoubleClick Server to the web page you are viewing. This also prevents the server from tracking your movements. Why? ... because in certain cases "Ad Servers" like Doubleclick (and many others) will try silently to open a separate connection on the webpage you are viewing, record your movements then yes ... follow you to additional sites you may visit.

More details can be found on this excellent file here; http://winhelp2002.mvps.org/hosts.htm

andruoid is offline  
Last edited by andruoid; October 6th, 2011 at 10:23 PM. Reason: forgot something, as usual
Reply With Quote
The Following User Says Thank You to andruoid For This Useful Post:
EarlyMon (October 6th, 2011)
Sponsors
Old October 7th, 2011, 03:03 AM   #2 (permalink)
Phone Kira
 
Tresezk's Avatar
 
Join Date: Feb 2011
Location: The Great Void
Posts: 2,810
 
Device(s): SE Xperia Mini Pro
Thanks: 441
Thanked 1,696 Times in 1,188 Posts
Default

Ironically I came to know about hosts via the app AdFree Blocker . Modifying the /system/etc/hosts file to block ads
__________________
Site Rules and Guidelines
FAQ by the Monk Nakama
Galaxy 551 The Blog

Previously karandpr
Tresezk is offline  
Reply With Quote
Old October 14th, 2011, 07:26 AM   #3 (permalink)
New Member
 
Join Date: Oct 2011
Posts: 9
 
Device(s): Samsung Galaxy S2
Thanks: 2
Thanked 2 Times in 2 Posts
Default

This of course applies to Linux/BSD/OSX too using /etc/hosts (/private/etc/hosts for OSX I believe), Windows uses a very similar format as *nix. Something to do with NT IP stack being based on BSD if I recall?
mrkennie is offline  
Reply With Quote
Old October 14th, 2011, 01:35 PM   #4 (permalink)
Antidisestablishmentarian
 
johnlgalt's Avatar
 
Join Date: Oct 2009
Location: 3rd Rock
Posts: 8,431
 
Device(s): Motorola® DROID® BIONIC®
Thanks: 1,836
Thanked 1,610 Times in 1,154 Posts
Send a message via ICQ to johnlgalt Send a message via MSN to johnlgalt Send a message via Yahoo to johnlgalt Send a message via Skype™ to johnlgalt johnlgalt@gmail.com
Default

Ironically, I used to use hosts file the (alternate) way they were originally intended to be used - to by pass DNS searches and connect directly to the IP. (technically, the function was for both - blocking unwanted sites *and* saving IPs of sites wanted).

Chris Pirillo, of Lockergnome fame, had a superfast hosts file verifier that allowed you ot put in your base URLs / full URLs and it would check name servers and verify hte IP address needed. This was a godsend back in the day of 14.4K modems (yes, way back then).

Here is a thread your should look at regarding a good way to manage your hosts file (link is to first post directly)

Anyone using HostsMan? - Calendar Of Updates
__________________

Files for the Motorola® DROID® BIONIC®:
Motorola USB drivers v5.5.0- 32bit | Motorola USB drivers v5.5.0- 64bit | Motorola RSD Lite v5.7
johnlgalt is online now  
Reply With Quote
Reply

Bookmarks


Go Back   Android Forums > Android Community > The Lounge > Computers & IT User CP
Thread Tools

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -5. The time now is 03:24 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Custom vBulletin Skins by: Relivo