| OLD | NEW |
| 1 ////////////////////////////////////////////////////////////////////////////// | 1 ////////////////////////////////////////////////////////////////////////////// |
| 2 // | 2 // |
| 3 // John's No-ADS proxy auto configuration script | 3 // John's No-ADS proxy auto configuration script |
| 4 // http://www.schooner.com/~loverso/no-ads/ | 4 // http://www.schooner.com/~loverso/no-ads/ |
| 5 // loverso@schooner.com | 5 // loverso@schooner.com |
| 6 // Questions/help web forum at http://www.network54.com/Hide/Forum/223428 | 6 // Questions/help web forum at http://www.network54.com/Hide/Forum/223428 |
| 7 // | 7 // |
| 8 // Copyright 1996-2004, John LoVerso. All Rights Reserved. | 8 // Copyright 1996-2004, John LoVerso. All Rights Reserved. |
| 9 // | 9 // |
| 10 // Permission is given to use and distribute this file, as long as this | 10 // Permission is given to use and distribute this file, as long as this |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 | 85 |
| 86 | 86 |
| 87 /////////////////////////////////////////////////////////////////////////////// | 87 /////////////////////////////////////////////////////////////////////////////// |
| 88 // | 88 // |
| 89 // These are the basic steps needed to use "no-ads.pac". | 89 // These are the basic steps needed to use "no-ads.pac". |
| 90 // Detailed instructions follow below! | 90 // Detailed instructions follow below! |
| 91 // | 91 // |
| 92 // 1. Save this as a file (no-ads.pac) on your local disk | 92 // 1. Save this as a file (no-ads.pac) on your local disk |
| 93 // (or, add it to your home page, if you have one) | 93 // (or, add it to your home page, if you have one) |
| 94 // 2. Select a no-ads "blackhole". | 94 // 2. Select a no-ads "blackhole". |
| 95 // 3. Configure your browser to use this file as it's auto proxy configuration. | 95 // 3. Configure your browser to use this file as its auto proxy configuration. |
| 96 // 4. Clear your browser's cache | 96 // 4. Clear your browser's cache |
| 97 // (or else it may still show you ads it has saved on your disk). | 97 // (or else it may still show you ads it has saved on your disk). |
| 98 // | 98 // |
| 99 | 99 |
| 100 | 100 |
| 101 /////////////////////////////////////////////////////////////////////////////// | 101 /////////////////////////////////////////////////////////////////////////////// |
| 102 // | 102 // |
| 103 // 1. SAVE THIS FILE | 103 // 1. SAVE THIS FILE |
| 104 // | 104 // |
| 105 // Copy this file to your local machine; use your home directory (UNIX) | 105 // Copy this file to your local machine; use your home directory (UNIX) |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 189 // read b | 189 // read b |
| 190 // echo HTTP/1.0 501 No Ads Accepted | 190 // echo HTTP/1.0 501 No Ads Accepted |
| 191 // echo "" | 191 // echo "" |
| 192 // exit | 192 // exit |
| 193 // | 193 // |
| 194 // Add this line to inetd.conf ('kill -HUP' inetd afterwards): | 194 // Add this line to inetd.conf ('kill -HUP' inetd afterwards): |
| 195 // | 195 // |
| 196 // 3421 stream tcp nowait nobody /usr/local/lib/noproxy noproxy | 196 // 3421 stream tcp nowait nobody /usr/local/lib/noproxy noproxy |
| 197 // | 197 // |
| 198 // This simple script doesn't work on Linux because of the | 198 // This simple script doesn't work on Linux because of the |
| 199 //» » (IMHO) broken way it's TCP stack works. See the bottom of | 199 //» » (IMHO) broken way its TCP stack works. See the bottom of |
| 200 // http://www.schooner.com/~loverso/no-ads/ for a complete copy | 200 // http://www.schooner.com/~loverso/no-ads/ for a complete copy |
| 201 // of the `noproxy' shell script. | 201 // of the `noproxy' shell script. |
| 202 // | 202 // |
| 203 // If always exec'ing a shell was expensive on your computer | 203 // If always exec'ing a shell was expensive on your computer |
| 204 // (it isn't on mine), then you could use a "wait"-style Perl | 204 // (it isn't on mine), then you could use a "wait"-style Perl |
| 205 // script that would accept() incoming connections. | 205 // script that would accept() incoming connections. |
| 206 // | 206 // |
| 207 // - Sean Burke has a black-hole proxy written in Perl script: | 207 // - Sean Burke has a black-hole proxy written in Perl script: |
| 208 // | 208 // |
| 209 // http://www.speech.cs.cmu.edu/~sburke/pub/black_hole_http_serve
r.pl | 209 // http://www.speech.cs.cmu.edu/~sburke/pub/black_hole_http_serve
r.pl |
| (...skipping 1143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1353 // | 1353 // |
| 1354 | 1354 |
| 1355 // eof | 1355 // eof |
| 1356 //intelliserv.net | 1356 //intelliserv.net |
| 1357 //intellisrv.net | 1357 //intellisrv.net |
| 1358 //rambler.ru | 1358 //rambler.ru |
| 1359 //rightmedia.net | 1359 //rightmedia.net |
| 1360 //calloffate.com | 1360 //calloffate.com |
| 1361 //fairmeasures.com | 1361 //fairmeasures.com |
| 1362 | 1362 |
| OLD | NEW |