// http://www.daveltd.com/bin/proxy.cgi -- proxy auto-config to // boycott "bad" sites. // Basically, a "bad" site, to me, is one which sends me a // pop-up, or a pop-under, advertisement... or perhaps certain // other things which I consider to be nasty ways of abusing web // technology. I don't generally care about content beyond // that... So I'm not filtering out porn sites, or sites that // have lots of in-line banner ads (though that's sort of // borderline), or even sites that carry non-offensive (i.e. non // pop-up/under) advertising for sites I've got listed as "bad". // But if they make my web browser create a new window, without // me having clicked on a particular link to get more // information (like a help button -- pop-up help isn't // necessarily something I care for, but I don't consider it to // be inherently evil), then they're going on here. I'm sure // there are other activities which would elicit a similar // response, but I haven't particularly noticed an abundance of // other kinds of activities which would make me put stuff here, // so I'm not listing it for now. // I use this script to configure my web browsers. You are // welcome to do the same, if you like, but please read the full // text here before using it, or at least before making any // complaints. If you want to have your Netscape (and others?) // browser use this script to configure it's "proxies" (I don't // really use any proxies here, I'm just using the technology as // a way to block things), then point the auto-config URL at: // // http://www.daveltd.com/bin/proxy.cgi?mode=auto // // Using that version of the URL creates mime headers that let // netscape be OK with it, without ?mode=auto, you get things as // plain text, which is suitable for humans reading these // comments, etc. // This is a Netscape Proxy-auto-config script. If you want to // know how this things works, or what kinds of things you would // need in order to do your own, or what other kinds of things // could be done, or whatever like that, see: // http://www.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html // If you have comments about this beastie, or would like to // have domains added to the list of boycotted sites, or your // site is listed, and you'd like to let me know that you've // stopped using pop-up advertising, so that I can feel // comfortable removing your site from the list, or whatever // other comments, then send me mail mail at lindes@daveltd.com. // NOTE: Using this script to generate your proxy configuration // for your web browser is something you do at your own risk. I // take no responsibility for _any_ implications doing so may // have. If you're not sure you want it, then don't use it. function FindProxyForURL(url, host) { var proxymode; // default proxy mode: proxymode = "DIRECT"; if (url.substring(0, 4) == "ftp:") { // I don't like using ftp... So, see if the remote site // will do ftp over http proxying for us... ;-) proxymode = "PROXY " + host + "; " + proxymode; } // domains I'm boycotting, probably because I found, or // someone reported to me, that they use pop-up or pop-under // advertising on their site: if( dnsDomainIs(host, ".amazon.com") || // Alternate: [none], Reason: evil empire 0) // so all above lines can end with || { // to enforce boycotting of these domains, proxy to a // web server that does not do http proxying. proxymode = "PROXY www.daveltd.com:80"; } return(proxymode); } // $Revision: 1.12 $ // $Date: 2010-04-22 00:42:20 $