Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Tech Tips & Tricks
Tag Cloud
access audio black screen blue screen boot bsod connection crash dell desktop driver dvd email error excel firefox hard drive hardware hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem processor ram recovery router safe mode screen slow sound spyware trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > General Technology > Tech Tips & Tricks >
Hosts file question

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
aldiboronti's Avatar
Senior Member with 219 posts.
 
Join Date: Apr 2002
28-Aug-2002, 05:35 PM #1
Hosts file question
I've been thinking about using the Hosts script from this site:

http://mywebpages.comcast.net/winhelp2002/hosts.htm

but I thought I'd ask advice from one of the tech wizards here first. What do you think? Will it do what it says, or is it gonna screw my connection up?
__________________
And then they switched on the ultimate galaxy-wide computer they had built, and asked their first question, "Is there a God?". "There is now."
Davey7549's Avatar
Distinguished Member with 11,919 posts.
 
Join Date: Feb 2001
Location: Mukwonago Wisconsin USA
Experience: Advanced
28-Aug-2002, 05:56 PM #2
aldiboronti
The concept is sound having the browser look to itself by calling 127.0.0.1 for any add banners thus not displaying. The laundry list is rather large to so the individual did their homework.
Before you replace your hosts file with this hosts file make sure yours does not contain any information that need to be included in this new hosts file such as Norton antivirus will put references in there for pop3 antivirus scanning. If there are entries already in your hosts file they will have to be included in the new hosts file.
Tip: The hosts files can be read and changed using notepad. Also after you have merged the two if necessary then rename the present one Hosts.old

Dave
__________________
__________________
__________________

If my help provided a solution to your problem please click "Here" and consider making a donation to help offset the cost of running our Free Tech support site!

If you have problems with above link you can also donate directly by using "This Link".

Thank you for your support!

Davey

Last edited by Davey7549 : 28-Aug-2002 06:03 PM.
Davey7549's Avatar
Distinguished Member with 11,919 posts.
 
Join Date: Feb 2001
Location: Mukwonago Wisconsin USA
Experience: Advanced
28-Aug-2002, 06:09 PM #3
aldiboronti
By the way I liked the idea so much I tried it myself and went to a website I know was loaded with ad garbage and it loaded quickly and displayed the standard could not find page message in place of the ads!

Dave
aldiboronti's Avatar
Senior Member with 219 posts.
 
Join Date: Apr 2002
29-Aug-2002, 03:11 AM #4
It works! Thanks for the advice, Davey.
aldiboronti's Avatar
Senior Member with 219 posts.
 
Join Date: Apr 2002
29-Aug-2002, 06:11 AM #5
I'm using AdShield as well, mentioned in the first link. After adding a block list from the same site I have it up and running, and with this and the Hosts file, it's changed browsing from a pain in the ads to a pleasure!
Davey7549's Avatar
Distinguished Member with 11,919 posts.
 
Join Date: Feb 2001
Location: Mukwonago Wisconsin USA
Experience: Advanced
29-Aug-2002, 09:07 AM #6
aldiboronti
The only drawback I have found so far and it is minor, the ads that are essentially blocked are added as line items in the browser back button reference list. So one must use the drop down list to move backwards or expect having to click multiple times to achieve the actual prior page.

Dave

PS: Think I will move your find into the Tips and Tricks forum in case others may want to try it.
__________________
__________________
__________________

If my help provided a solution to your problem please click "Here" and consider making a donation to help offset the cost of running our Free Tech support site!

If you have problems with above link you can also donate directly by using "This Link".

Thank you for your support!

Davey
Dark Star's Avatar
Distinguished Member with 3,486 posts.
 
Join Date: Jun 2001
Location: Indian Rocks Beach, FL.
29-Aug-2002, 12:51 PM #7
It's wortwhile mentioning that if you notice a strange behavior in the Back Button...

Sometimes when you click the Back button to return to the previous page it appears that nothing happens. What usually occurs is that the HOSTS file has blocked one or more (< Iframe >) ad pages that are embedded into the web page you are viewing. To verify this click the small drop-down arrow on the Back button, do you see just an ad server listed? ... well now you know .....
__________________

"One revolution is still necessary, the one that will not end with the rule of its leader." -Jose Marti

Last edited by Rollin' Rog : 29-Aug-2002 01:35 PM.
Dark Star's Avatar
Distinguished Member with 3,486 posts.
 
Join Date: Jun 2001
Location: Indian Rocks Beach, FL.
29-Aug-2002, 12:56 PM #8



Let's try that again....


Sometimes when you click the Back button to return to the previous page it appears that nothing happens. What usually occurs is that the HOSTS file has blocked one or more
PHP Code:
<Iframe
ad pages that are embedded into the web page you are viewing. To verify this click the small drop-down arrow on the Back button, do you see just an ad server listed? ... well now you know .....
__________________

"One revolution is still necessary, the one that will not end with the rule of its leader." -Jose Marti

Last edited by Davey7549 : 29-Aug-2002 05:33 PM.
RandyG's Avatar
Distinguished Member with 8,052 posts.
 
Join Date: Jun 2000
Location: American living in Dublin, Ireland
Experience: Advanced
29-Aug-2002, 05:05 PM #9
hopefully this will correct the problem that the duck caused!!
Quote:
Originally posted by Dark Star:



Let's try that again....


Sometimes when you click the Back button to return to the previous page it appears that nothing happens. What usually occurs is that the HOSTS file has blocked one or more (< Iframe>) ad pages that are embedded into the web page you are viewing. To verify this click the small drop-down arrow on the Back button, do you see just an ad server listed? ... well now you know .....
RandyG's Avatar
Distinguished Member with 8,052 posts.
 
Join Date: Jun 2000
Location: American living in Dublin, Ireland
Experience: Advanced
29-Aug-2002, 05:06 PM #10
hopefully this will correct the problem that the duck caused!!
Quote:
Originally posted by Dark Star:



Let's try that again....


Sometimes when you click the Back button to return to the previous page it appears that nothing happens. What usually occurs is that the HOSTS file has blocked one or more (< Iframe>) ad pages that are embedded into the web page you are viewing. To verify this click the small drop-down arrow on the Back button, do you see just an ad server listed? ... well now you know .....
</iframe>
RandyG's Avatar
Distinguished Member with 8,052 posts.
 
Join Date: Jun 2000
Location: American living in Dublin, Ireland
Experience: Advanced
29-Aug-2002, 05:07 PM #11
</iframe>hopefully this will correct the problem that the duck caused!!
Quote:
Originally posted by Dark Star:



Let's try that again....


Sometimes when you click the Back button to return to the previous page it appears that nothing happens. What usually occurs is that the HOSTS file has blocked one or more (< Iframe>) ad pages that are embedded into the web page you are viewing. To verify this click the small drop-down arrow on the Back button, do you see just an ad server listed? ... well now you know .....
RandyG's Avatar
Distinguished Member with 8,052 posts.
 
Join Date: Jun 2000
Location: American living in Dublin, Ireland
Experience: Advanced
29-Aug-2002, 05:12 PM #12
in case anyone should wonder, be careful of posting html commands without ending them, or at least use the php commands before and after whatever nifty little tag you are trying out. That will disable it's nefarious effects on the boards.

http://forums.techguy.org/showthread...857#post485857 for more info.

Here's what this thread looked like before I posted.
<img src="http://forums.techguy.org/attachment.php?s=&postid=516629">
It literally stopped there, and you might notice now, that my signature is in Dark Star's thread!!
That's cause my first reply was added to his post, due to the nature of the code he used!!!
Attached Thumbnails
Hosts file question-whoops.jpg  
__________________
Please let us know what answers your question, or fixes your problem.

Have you thought about donating to TSG??? No more ads, and help keep this site alive!!!

Don't meddle in the affairs of dragons, for you are crunchy and taste good with ketchup!!
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
29-Aug-2002, 09:48 PM #13
If you would like to have the HOSTS file speed up your connection as well as block ads, open hosts in wordpad, and do a find and replace all changing 127.0.0.1 to 0.0.0.0. Its considerably faster. After doing that make sure you chance localhost back to 127.0.0.1
__________________
-Brendan
aldiboronti's Avatar
Senior Member with 219 posts.
 
Join Date: Apr 2002
30-Aug-2002, 09:15 AM #14
Thanks for the info, brendan, i've just amended my Hosts file accordingly.
brendandonhu's Avatar
Distinguished Member with 15,988 posts.
 
Join Date: Jul 2002
Location: Ann Arbor, MI
Experience: Advanced
30-Aug-2002, 09:22 AM #15
You're welcome and remember that the person who made that hosts file might have blocked something you want to see. In that case, move your hosts file to the desktop, and everything will be unblocked until you move it back.
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 11:08 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.