Results 1 to 7 of 7
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    A handy tip for quashing in-line ads

    I've gotten REALLY tired of jazzy, annoying, USELESS ads on webpages, and recalled a nice way to destroy many of them. Edit the host file (in win2K, it's C:WINNTsystem32driversetchosts) (no extension). set the URL to servers that spew these pesky ads to 127.0.0.1 causes your browser to attempt to load the page called by the URL locally and, since it's not on your machine, the ad dies -- sometimes with the 404 Page Not Found dispaying instead. Gone, gone, gone are many of these ads. you will have to restart IE/other browsers to load edits.

    Additional tip needed: if there's a way to block subfolders in a domain, that would zap web ads served up from say, nytimes.com. Don't think this is possible using the host file hack, but if it is, great. also, there's nothing as fancy as wildcards supported, so each permutation of an ad server must be blocked manually.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: A handy tip for quashing in-line ads

    This approach is taken by (for example) Spybot Search&Destroy. One of its options is to add thousands of known spyware/adware URLs to your Hosts file and refer them to 127.0.0.1.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A handy tip for quashing in-line ads

    yes, and Spybot (or some other anti-bad web stuff company like SpyWareBlaster) also add many known bad sites, such as porn servers, spywear sites, etc. to the Overide Sites option in IE, which is an additional level of protection.

  4. #4
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A handy tip for quashing in-line ads

    Instead of editing the HOSTS file, I opt instead for using Firefox in conjunction with the handy extensions AdBlock Plus and the companion Filterset.g Updater. I've almost forgotten what ads look like.
    -Mark

  5. #5
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A handy tip for quashing in-line ads

    hmmm - that does seem to work pretty well. unfortunately, when i tried to install AdBlock Plus in Firefox, the browser 'helps' me by refusing to install the plugin. I can't figure out how to keep Firefox from being my momma.

  6. #6
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A handy tip for quashing in-line ads

    How does it refuse? By default, the later versions of Firefox require you to allow software installations on a per-website basis. I think the only allowed site in a clean installation is addons.mozilla.org, so you may need to watch the browser window and jump through an extra hoop to allow the install.

    Personally, I like that idea a lot better than what Internet Explorer has gotten so many folks accustomed to: silent installations of software that you never asked for nor wanted. It's only recently that Microsoft finally did something about that problem.
    -Mark

  7. #7
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    austin, Texas, USA
    Posts
    1,029
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: A handy tip for quashing in-line ads

    it just says 'to protect your machine, this installation has been blocked'. but I did a search for it on the addons.mozilla site, found it, yay it installed. the problem here is User Error, obviously...

    FireFox isn't too bad, but it doesn't read my CSS declarations on some of my web apps. Not sure what bit needs to be flipped, but it's only a minor irritation.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •