Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Netscape 7 and the hosts file Web Browsers
A few months ago, I imported a hosts file to block a few of the more annoying ad servers. It remaps their IPs to, as hinted here before. Netscape 7 doesn't like this, though, and will throw up an error message whenever it can't find one of those servers (sometimes 3 or 4 times per page!). Anyway, the easy way to stop that from happening is to turn on personal web sharing. Then Apache on your machine returns something that Netscape can deal with without an error message.
  • Currently 1.80 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (5 votes cast)

Netscape 7 and the hosts file | 3 comments | Create New Account
Click here to return to the 'Netscape 7 and the hosts file' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Moz has a better way
Authored by: jgmanning on Oct 18, '02 11:16:27AM

I used the Hosts file for a while, but didn't like how much processor time was being taken up by lookupd. Not to mention that messing with NetInfo is kinda scary.

With Mozilla, you can control-click on an ad and select "Block images from this server". After a few days of this, your browser window is much less cluttered. The advantage of this method is that you can easily reverse the block if you wish.

For example, I block all images from The Register because they just have too many bloody ads, but this means I can't see pictures posted in their stories. Not usually a problem, but if I wish to see the picture, I just control-click on the blank area where the picture should be and Unblock the server temporarily.

[ Reply to This | # ]
You can also try Privoxy
Authored by: BraindeadMac on Oct 18, '02 11:43:01AM

A really nice alternative is Privoxy, which is based in part on Internet Junk Buster and also gives you the option of displaying ads, turning on and off the service, and custom configuration. There's a good GUI-based OS X installer package as well as access to latest CVS builds as well.

This is the web site:

[ Reply to This | # ]
re: Moz has a better way
Authored by: Jay on Oct 18, '02 12:16:56PM

That's a great approach. Unblocking the server is much easier. I was a little daunted by the hosts file at first, but it really works well. If I want to reaccess a server, I have to go delete its entry in NetInfo. Pain in the neck. I haven't noticed lookupd taking much proc. time. It seems to jump to 4% for less than a second as the dns lookups are called, but then returns to 0.

[ Reply to This | # ]