// 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, ".about.com") || // Alternate: [none], Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".bn.com") || // Alternate: [none], Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".cvs.org") || // Alternate: cvshome.org, Reason: not about cvs; has pop-up ads dnsDomainIs(host, ".eonline.com") || // Alternate: [none], Reason: pop-up ads, 2002-01-02 dnsDomainIs(host, ".epinions.com") || // Alternate: [none], Reason: pup-under, 2001-12-26 dnsDomainIs(host, ".imdb.com") || // Alternate: [none], Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".intervolved.net") || // Alternate: [none], Reason: Got spam purporting to be for Netflix that linked to them... (and e-mail headers were from them) dnsDomainIs(host, ".iwin.com") || // Alternate: [none], Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".lj.com") || // Alternate: [none], Reason: -alt=livejournal.com possibly not what you think; has pop-up ads dnsDomainIs(host, ".m-w.com") || // Alternate: [none], Reason: pop-up/pop-under ads dnsDomainIs(host, ".mapquest.com") || // Alternate: [none], Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".mediarevolver.com") || // Alternate: evite requires this, and it breaks things, Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".netflix.com") || // Alternate: [none], Reason: two things, potentially: 1) they gave me a pop-up; 2) I got some spam that purported to be from them... though it didn't link to their site directly, and I didn't try the link to see where it did go, so this _may_ be someone else... dnsDomainIs(host, ".pastrychef.com") || // Alternate: [none], Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".photoworks.com") || // Alternate: [none], Reason: pop-up ads, what else? dnsDomainIs(host, ".psiseminars.com") || // Alternate: [none], Reason: pop-up at top-level -- not really an add in the normal way, but still dnsDomainIs(host, ".reallylyrics.com") || // Alternate: [none], Reason: [Not specified, probably pop-ups] dnsDomainIs(host, ".rxlist.com") || // Alternate: [none], Reason: [Not specified, probably pop-ups] dnsDomainIs(host, ".sfgate.com") || // Alternate: [none], Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".simnet.is") || // Alternate: [none], Reason: pop-up ads dnsDomainIs(host, ".talkcity.com") || // Alternate: [none], Reason: pop-up banner dnsDomainIs(host, ".theatlantic.com") || // Alternate: [none], Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".tripod.com") || // Alternate: [none], Reason: pop-up ads dnsDomainIs(host, ".yahoo.com") || // Alternate: [none], Reason: [Probably pop-up ads, but not recorded] dnsDomainIs(host, ".yieldmanager.com") || // Alternate: [none], Reason: evite requires this, and it breaks things 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.11 $ // $Date: 2001/12/25 22:33:04 $