Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Re: Pop-up killing http proxy

by Stegalex (Chaplain)
on Sep 02, 2002 at 19:12 UTC ( #194624=note: print w/replies, xml ) Need Help??


in reply to Re: Pop-up killing http proxy
in thread Pop-up killing http proxy

True, I can turn off Javascript but then a lot of things won't work properly. Stripping out selective Javascript and Applet tags would be a good start I suppose. I am intrigued by what you said about the hosts table. Is this something I can do on a Windows box?

~~~~~~~~~~~~~~~
I like chicken.

Replies are listed 'Best First'.
Re: Re: Re: Pop-up killing http proxy
by BrowserUk (Patriarch) on Sep 02, 2002 at 19:57 UTC

    Under WINNT/WIN2K/WINXP the hosts file is located in

    %systemroot%\system32\drivers\etc\hosts

    Try this search to find more info on setting it up and also pre-configured hosts files for blocking server known to serve pop-up adds. Beware, they can get pretty big. Mine is currently 450k or near 12500 lines. This does not seem to have any noticable effect on my browsing, but others have reported some degradation.

    I haven't seen a pop-up for ... well, a long, long time.

    Then again, I don't have js enabled except for specific sites and Opera 6 has a built-in pop-up refusal option too.

    As my Dad would have said. "A belt and braces man".

    Also, I have no knowledge of the one you mentioned, but in the past I used an ad blocking proxy that seemed fairly effective called Proxomitron, which has some pretty nifty features, regex search and replace etc, but the maintainence was quite high. The hosts file solution is infinitly better.


    Well It's better than the Abottoire, but Yorkshire!
Re: Re: Re: Pop-up killing http proxy
by crenz (Priest) on Sep 02, 2002 at 19:37 UTC

    Yes, you can. Take a look at c:\windows\hosts.sam.

    Create a file called c:\windows\hosts and insert a line like

    127.0.0.1       spammer.com
    

    to block the domainname spammer.com. Incidentially, you can even add

    127.0.0.2       project1
    127.0.0.3       project2

    and configure a webserver (e.g. apache) to run on these adresses, and you'll have a nice way to test-drive your websites, if you develop any.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://194624]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2022-12-08 02:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?