X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=default.action.master;h=e8ad211dd111406305be49d82cf3e48c1e3f4d43;hb=140c9d19270505268038895f404e742c5328ce9d;hp=d53d4d19faffa624006597a191954908eeedd050;hpb=c9bda8abda8c99031260da118d281c421c6ceaee;p=privoxy.git diff --git a/default.action.master b/default.action.master index d53d4d19..e8ad211d 100644 --- a/default.action.master +++ b/default.action.master @@ -9,9 +9,9 @@ # # File : $Source: /cvsroot/ijbswa/current/default.action.master,v $ # -# $Id: default.action.master,v 1.37 2006/10/20 01:34:23 hal9 Exp $ +# $Id: default.action.master,v 1.53 2007/01/16 10:54:36 hal9 Exp $ # -# Requires : This version requires Privoxy v3.0.4 or later due to +# Requires : This version requires Privoxy v3.0.7 or later due to # syntax changes. # # Purpose : Default actions file, see @@ -19,7 +19,7 @@ # This file is subject to periodic updating. Local exceptions # and enhancements are better placed in user.action. # -# Copyright : Written by and Copyright (C) 2001 - 2006 the +# Copyright : Written by and Copyright (C) 2001 - 2007 the # Privoxy team. http://www.privoxy.org/ # # Note: Updated versions of this file will be made available from time @@ -267,33 +267,35 @@ # # Filters predefined in the supplied default.action include: # -# js-annoyances: Get rid of particularly annoying JavaScript abuse -# js-events: Kill all JS event bindings (Radically destructive! Use only on real suckers) -# html-annoyances: Get rid of particularly annoying HTML abuse -# content-cookies: Kill cookies that come in the HTML or JS content -# refresh-tags: Kill automatic refresh tags (for dial-on-demand setups) -# unsolicited-popups: Disable only unsolicited pop-up windows -# all-popups: Kill all popups in JavaScript and HTML -# img-reorder: Reorder attributes in tags to make the banners-by-* filters more effective -# banners-by-size: Kill banners by size (very efficient!) -# banners-by-link: Kill banners by their links to known clicktrackers -# webbugs: Squish WebBugs (1x1 invisible GIFs used for user tracking) -# tiny-textforms: Extend those tiny textareas up to 40x80 and kill the hard wrap -# jumping-windows: Prevent windows from resizing and moving themselves -# frameset-borders: Give frames a border -# demoronizer: Fix MS's non-standard use of standard charsets -# shockwave-flash: Kill embedded Shockwave Flash objects -# quicktime-kioskmode: Make Quicktime movies saveable -# fun: Text replacements for subversive browsing fun! -# crude-parental: Kill all web pages that contain the words "sex" or "warez" -# ie-exploits: Disable some known Internet Explorer bug exploits -# site-specifics: Cure for site-specific problems. Don't apply generally! -# google: Removes text ads and other Google specific improvements -# yahoo: Removes text ads and other Yahoo specific improvements -# msn: Removes text ads and other MSN specific improvements -# blogspot: Cleans up Blogspot blogs -# html-to-xml: Header filter to change the Content-Type from html to xml -# xml-to-html: Header filter to change the Content-Type from xml to html +# js-annoyances: Get rid of particularly annoying JavaScript abuse +# js-events: Kill all JS event bindings (Radically destructive! Use only on real suckers) +# html-annoyances: Get rid of particularly annoying HTML abuse +# content-cookies: Kill cookies that come in the HTML or JS content +# refresh-tags: Kill automatic refresh tags (for dial-on-demand setups) +# unsolicited-popups: Disable only unsolicited pop-up windows +# all-popups: Kill all popups in JavaScript and HTML +# img-reorder: Reorder attributes in tags to make the banners-by-* filters more effective +# banners-by-size: Kill banners by size (very efficient!) +# banners-by-link: Kill banners by their links to known clicktrackers +# webbugs: Squish WebBugs (1x1 invisible GIFs used for user tracking) +# tiny-textforms: Extend those tiny textareas up to 40x80 and kill the hard wrap +# jumping-windows: Prevent windows from resizing and moving themselves +# frameset-borders: Give frames a border +# demoronizer: Fix MS's non-standard use of standard charsets +# shockwave-flash: Kill embedded Shockwave Flash objects +# quicktime-kioskmode: Make Quicktime movies saveable +# fun: Text replacements for subversive browsing fun! +# crude-parental: Kill all web pages that contain the words "sex" or "warez" +# ie-exploits: Disable some known Internet Explorer bug exploits +# site-specifics: Cure for site-specific problems. Don't apply generally! +# google: Removes text ads and other Google specific improvements +# yahoo: Removes text ads and other Yahoo specific improvements +# msn: Removes text ads and other MSN specific improvements +# blogspot: Cleans up Blogspot blogs +# html-to-xml: Header filter to change the Content-Type from html to xml +# xml-to-html: Header filter to change the Content-Type from xml to html +# no-ping: Removes non-standard ping attributes from anchor and area tags +# hide-tor-exit-notation: Header filter to remove the Tor exit node notation in Host and Referer headers # # +filter-client-headers # By default, filters only apply to the document content itself. This will @@ -479,7 +481,7 @@ {{settings}} ############################################################################# #MASTER# COMMENT: The minimum Privoxy version: -for-privoxy-version=3.0.5 +for-privoxy-version=3.0.7 ############################################################################# # Aliases @@ -570,6 +572,8 @@ allow-ads = -block -filter{banners-by-size} -filter{banners-by-link} -filter{blogspot} \ -filter{xml-to-html} \ -filter{html-to-xml} \ +-filter{no-ping} \ +-filter{hide-tor-exit-notation} \ -filter-client-headers \ -filter-server-headers \ -force-text-mode \ @@ -624,6 +628,9 @@ count*. *counter. #MASTER# PROBLEM URL: http://www.newegg.com promotions. +#MASTER# PROBLEM URL: http://metrics.performancing.com/ 11/04/06 +#MASTER# BLOCK-REFERRER: http://tech.cybernetnews.com/ +metrics. ############################################################################# # Generic unblockers by host: @@ -634,6 +641,7 @@ adsl. ad[udmw]*. adbl*. adam*. +adapt*. adob*. adrenaline. adtp*. @@ -651,11 +659,14 @@ countr*. {+block} #MASTER# DONT-VERIFY (generic) /(.*/)?ad(\?|/|s|v|_?(image|se?rv|box)|cycle|rotate|mentor|click|f[ra]m|script|stream|fetch|log|space) -/.*ads(new)?/ +/phpads(new)?/ /(.*/)?(ad|all|nn|db|promo(tion)?)?[-_]?banner /(.*/)?(publicite|werbung|reklaa?m|annonse|maino(kset|nta|s)?/) -/.*(count|track|compteur|adframe|adse?rve?|banner)(er|run)?(\?|\.(pl|cgi|exe|dll|asp|php|cpt)) +/.*(count|track|compteur|(? for user tracking. #MASTER# REMARKS: There is a ssl.google-analytics as well. -.google-analytics. +.google-analytics./ +#MASTER# BLOCK-REFERRER: http://versiontracker.com and many others. 10/20/06 +/(.*/)?__utm.gif\? #MASTER# REMARKS: Below Moved here from -handle-as-image 10/16/06 ########## #MASTER# BLOCK-REFERRER: http://forums2.gardenweb.com/forums/orchids/ 09/25/06 #MASTER# REMARKS: Mostly JS and plain text stuff @@ -801,15 +828,61 @@ view.atdmt.com/(.*/)?iview/ #MASTER# REMARKS: Above Moved here from -handle-as-image 10/16/06 ########## #MASTER# REMARKS: Generic, re: tracking.foxnews.com/HG? 10/01/06 tracking. +#MASTER# BLOCK-REFERRER: http://netcraft.com and many others 10/22/06 +/(.*/)?adjs\.php\? +#MASTER# BLOCK-REFERRER: http://washingpost.com and others 10/25/06 +/.*\.gif\?D=DM +#MASTER# BLOCK-REFERRER: http://www.washingtonpost.com/ +#stats.surfaid.ihost.com/(crc/)?images/(bounce/)?uc.GIF +#MASTER# BLOCK-REFERRER: http://www.ibm.com 10/09/06 +#MASTER# REMARKS: Similar hostname and paths appear in multiple locations. +stats./c?rc/.*/uc.gif +#MASTER# BLOCK-REFERRER: http://priceline.com 10/20/06 +#MASTER# REMARKS: User tracking, webbug stuff +/(.*/)?dcs.gif\?&?dcs +#MASTER# BLOCK-REFERRER: http://www.msnbc.com 10/07/06 +#MASTER# REMARKS: And MANY others. Webbug stuff. +/(.*/)?c(lear)?\.gif\?. +#MASTER# BLOCK-REFERRER: http://www.investorguide.com 10/08/06 +#MASTER# BLOCK-REFERRER: http://foodnetwork.com, http://gardenweb.com 10/20/06 +#MASTER# REMARK: webbug type gif used in MANY places. +#MASTER# REMARK: Too many false positives +#/(.*/)?(clear|(trans_?1x|blank)?1).gif +#MASTER# REMARK: Let's try this way. +/(.*/)?(clear|blank|(trans_?|1x)?1).gif\?. +#MASTER# BLOCK-REFERRER: http://groups.yahoo.com/group/epdf/ 10/08/06 +.bc.yahoo.com/b\?P= +#MASTER# BLOCK-REFERRER: http://www.motherboard.cz 10/30/06 +x*.alexa.com +#MASTER# BLOCK-REFERRER: http://actorstheatre.org 11/02/06 +stats./.*\.gif\? +#MASTER# BLOCK-REFERRER: http://mplayernetwork.com 11/07/06 +#MASTER# BLOCK-REFERRER: http://eetimes.com 09/26/06 +/event.ng/ +#MASTER# BLOCK-REFERRER: http://www.homedepot.com/ 11/08/06 +#MASTER# BLOCK-REFERRER: http://www.williams-sonoma.com/ 11/08/06 +/cm\?[tc] +#MASTER# BLOCK-REFERRER: http://www.snapfiles.com/feedback/ 12/13/06 SF tracker +.snapfiles.net/rotation/.*\.asp +#MASTER# BLOCK-REFERRER: not provided. SF tracker #1616034 12/16/06 +#MASTER# COMMENT: JS pop-ups +spa.snap.com/ +#MASTER# BLOCK-REFERRER: http://www.gamefaqs.com/computer/doswin/game/914819.html 12/18/06 +dw.com.com/clear/ #---------------------------------------------------------------------------- # JavaScripts for ad and popup generation #---------------------------------------------------------------------------- #MASTER# BLOCK-REFERRER: http://www.chip.de/artikel/c_artikelunterseite_10423683.html pagead*.googlesyndication./.*\.js -a.tfag.de/js.ng/ -#MASTER# BLOCK-REFERRER: http://www.britannica.com/ +#MASTER# REMARKS: broadening scope from a.tfag.de/js.ng/ 10/23/06 +/js\.ng/ +#MASTER# BLOCK-REFERRER: http://www.britannica.com/ 10/23/06 /popunder +#MASTER# BLOCK-REFERRER: http://www.pcmag.com/ 11/22/06 per SF Tracker # 1601148 +/js/slider\.js +#MASTER# BLOCK-REFERRER: http://www.earthcore.com/ feedback item #1605385 12/14/06 +/t\.php\?cat=.*&kw=.*&sc= ############################################################################# # Generic block-as-image patterns: @@ -940,6 +1013,9 @@ ads-*.quarterserver. searchportal.information.com/ #MASTER# BLOCK-REFERRER: http://www.nbc4.com/news/2672416/detail.html 10/17/06 images.ibsys.com/ +#MASTER# BLOCK-REFERRER: http://www.rentalhouses.com/search_results.php?searchnew=1&citys_city=&citys_county=&citys_state=&ssubmit=Search&Szip=40205&keyword=&listingid=&strs_state=&strs_city=&strs_street= 11/05/06 +.lduhtrp.net/image + #---------------------------------------------------------------------------- # Cross-site user tracking @@ -964,11 +1040,6 @@ log*.xiti.com/ log*.hit-parade.com/ #MASTER# BLOCK-REFERRER: http://www.msnbc.com/news/884810.asp?0si=-&cp1=1 www.xml.eshop.msn.com/tracksponsorimpression.asp -#MASTER# BLOCK-REFERRER: http://www.washingtonpost.com/ -#stats.surfaid.ihost.com/(crc/)?images/(bounce/)?uc.GIF -#MASTER# BLOCK-REFERRER: http://www.ibm.com 10/09/06 -#MASTER# REMARKS: Similar hostname and paths appear in multiple locations. -stats./c?rc/.*/uc.gif #MASTER# BLOCK-REFERRER: http://www.planetgamecube.com/ 10/07/06 .imrworldwide.com #MASTER# REMARKS: Actionsfile feedback 1555719 09/10/06, and Debian Bug report @@ -993,26 +1064,18 @@ content.ipro.com .research-int.se/data #MASTER# BLOCK-REFERRER: http://www.chez.aliceadsl.fr/ 10/07/06 .cybermonitor.com -#MASTER# BLOCK-REFERRER: http://www.msnbc.com 10/07/06 -#MASTER# REMARKS: And MANY others. Webbug stuff. -/(.*/)?c(lear)?\.gif\?. -#MASTER# BLOCK-REFERRER: http://www.investorguide.com 10/08/06 -#MASTER# BLOCK-REFERRER: http://foodnetwork.com, http://gardenweb.com 10/20/06 -#MASTER# REMARK: webbug type gif used in MANY places. -#MASTER# REMARK: Too many false positives -#/(.*/)?(clear|(trans_?1x|blank)?1).gif -#MASTER# REMARK: Let's try this way. -/(.*/)?(clear|blank|(trans_?|1x)?1).gif\?.+ #MASTER# BLOCK-REFERRER: http://disney.go.com #MASTER# BLOCK-REFERRER: http://abcnews.com 10/15/06 log.go.com/log #MASTER# BLOCK-REFERRER: http://www.care2.com 10/18/06 stats.indextools.com -#MASTER# BLOCK-REFERRER: http://priceline.com 10/20/06 -#MASTER# REMARKS: User tracking, webbug stuff -/.*/dcs.gif\?&?dcs -#MASTER# BLOCK-REFERRER: http://versiontracker.com and many others. 10/20/06 -/__utm.gif\? +#MASTER# BLOCK-REFERRER: http://www.techcrunch.com/ 12/16/06 #1616497 3 urls. +tra*.measuremap.com +.eurekster.com/sidebar +tra*.mybloglog.com +#MASTER# BLOCK-REFERRER: http://www.polymervision.com/ +#MASTER# REMARKS: Actionsfile feedback item #1629370 01/16/07 +.guesttrace. #---------------------------------------------------------------------------- # Specific counters (see above for generic patterns) @@ -1057,13 +1120,13 @@ leadback.advertising. astalavista.box.sk/adult.*\.jpg #MASTER# BLOCK-REFERRER: http://www.bol.com.br/ smartad.*.*.* -#MASTER# BLOCK-REFERRER: http://groups.yahoo.com/group/epdf/ 10/08/06 -.bc.yahoo.com/b\?P= #MASTER# BLOCK-REFERRER: http://www.dinside.no/ 10/08/06 .dinside.no/annonsorer/ #MASTER# BLOCK-REFERRER: http://www.heise.de/ 10/08/06 #MASTER# BLOCK-REFERRER: http://www.spiegel.de/ /RealMedia/ads/ +#MASTER# BLOCK-REFERRER: http://www.powerdvd.com 12/28/06 per SF tracker +/top\.php\?d=.*\.[a-z]{2,5} ############################################################################# # Site-specific unblockers: @@ -1168,7 +1231,7 @@ adbusters.org/ #MASTER# UNBLOCK-REFERRER: http://upgrade.bitdefender.com/update71/avx/Plugins/adsntfs.xmd.gzip 09/04/06 /update/.*adsnt.* #MASTER# UNBLOCK-REFERRER: http://msdn.microsoft.com/ 09/11/06 -msdn.microsoft.com/.*masthead +.microsoft.com/.*masthead #MASTER# UNBLOCK-REFERRER: http://indymedia.org adfree site 09/11/06 .indymedia.org #MASTER# UNBLOCK-REFERRER: http://www.seanbaby.com/stupid/comicads05.shtml 09/11/06 @@ -1188,6 +1251,8 @@ cels.org/.*track #MASTER# REMARKS: Ad-free art site 09/12/06 .rubberslug.com .freebsd.org +.fsf.org +.gnu.org #MASTER# REMARKS: SF tracker 09/15/06 adiumx.com #MASTER# UNBLOCK-REFERRER: http://google.com 10/01/06 @@ -1206,6 +1271,13 @@ edge.macworld.com #MASTER# UNBLOCK-REFERRER: http://dawn.com #MASTER# REMARKS: SF Actionsfile tracker 10/19/06. These images are not ads. .dawn.com/.*/(9690dina|aurora_award)\. +#MASTER# UNBLOCK-REFERRER: http://google.com/reader/ +#MASTER# REMARKS: Initial page does not load, per Support request 10/27/06 +.google.com/reader/ +#MASTER# REMARKS: Actionsfile Tracker 1587079 10/30/06 +.parcel2go.com/track +#MASTER# REMARKS: Actionsfile Tracker #1612950 12/11/06 +.amazon.com/gp/gift-central/.*recip/ ############################################################################# # Site-specific special rules: @@ -1233,6 +1305,9 @@ mail.google. #---------------------------------------------------------------------------- { -crunch-all-cookies -filter -fast-redirects -hide-referer -kill-popups -prevent-compression } #MASTER# REMARKS: Problem URL: adserver.yahoo.com 10/01/06 +#MASTER# REMARKS: This is much too broad for my taste. It forces me to add +#MASTER# REMARKS: a special yahoo section in my user.action file, just to +#MASTER# REMARKS: confirm my defaults in default.action. fk 2007-01-19 .yahoo.com #---------------------------------------------------------------------------- @@ -1284,7 +1359,8 @@ i.cnn.net/cnn/.*/clickability/button .rosettaproject.org #MASTER# PROBLEM-URL: http://www.quantum.com requires popups for downloads, etc. 09/11/06 .quantum.com - +#MASTER# PROBLEM-URL: http://www.liberation.fr 11/23/06 Actions tracker +.liberation.fr #---------------------------------------------------------------------------- # Sometimes (i.e. often!) fast-redirects catches things by mistake @@ -1300,8 +1376,11 @@ www.ukc.ac.uk/cgi-bin/wac\.cgi\? .speedfind.de #MASTER# PROBLEM-URL: http://www.nytimes.com/ .nytimes.com -#MASTER# PROBLEM-URL: http://groups.yahoo.com/ -.yahoo.com/.*done= +#MASTER# PROBLEM-URL: http://login.yahoo.com/config/login?logout=1&.done=http://mail.yahoo.com&.src=ym&.intl=us +#MASTER# REMARKS: Yahoo logout URL after first redirect. fk 2007-01-19 +#MASTER# REMARKS: Logout fails if we fast-redirect to the URL after "done=". +#MASTER# REMARKS: Reported in support request #1635354. +.yahoo.com/.*done=http #MASTER# PROBLEM-URL: http://validator.w3.org/check .w3.org #MASTER# PROBLEM-URL: http://www.ask.com/ @@ -1381,7 +1460,7 @@ webmail. /.*wiki/ #MASTER# REMARKS: protect some google projects from accidental JS/HTML tampering, etc maps.google. -.google.com/calendar +.google.com/(calendar|reader) #MASTER# REMARKS: A lot of code and docs on these sites: code. developer. @@ -1416,6 +1495,9 @@ javascriptkit.com .openbsd.org .dragonflybsd.org .freedesktop.org +.gnu.org +.fedoraproject.org +.userscripts.org #MASTER# REMARKS: Bug trackers like Flyspray and Mailinglist interfaces like Mailman: /(.*/)?flyspray/ /(.*/)?mail(man|archive|inglists?)/ @@ -1523,6 +1605,8 @@ validator.w3.org/check\?uri=referer .petitiononline.com/mod_perl/signed.cgi #MASTER# REMARKS: Tracker bug report 1107806 09/26/06 .telia.se +#MASTER# REMARKS: XML validator that actually works. +schneegans.de/sv/\?url=referer #---------------------------------------------------------------------------- # These animated gifs are either useful or nice: @@ -1590,16 +1674,6 @@ validator.w3.org/check\?uri=referer #MASTER# REMARKS: Explains how content cookies work .webreference.com/js/column8/property.html -{-handle-as-image} -#MASTER# REMARKS: Moved this section to handle-as-empty-document 10/16/06 -#MASTER# PROBLEM-URL: http://www.linuxtoday.com/ -#MASTER# REMARKS: /adi has HTML snipplets for use in IFRAMEs 10/15/06 -#.doubleclick.net/adi -#.doubleclick.net/.*/adj/ -#MASTER# PROBLEM-URL: http://maps.yahoo.com/ -#MASTER# REMARKS: /AVE/iview has HTML snipplets for use in IFRAMEs 10/15/06 -#view.atdmt.com/(.*/)?iview/ - {-filter{fun}} #MASTER# PROBLEM-URL: http://www.privoxy.org/user-manual/filter-file.html #MASTER# REMARKS: Don't change the filter code with itself ;-) @@ -1643,10 +1717,18 @@ blogs.msdn.com blogs.msdn.com {+fast-redirects{check-decoded-url} -block} -#MASTER# COMMENTS: This section not checked 10/17/06 HB +#MASTER# COMMENTS: Is this still in use? 2007-01-19 fk +#MASTER# REMARKS: Remark used to be "Basically all of Yahoo's outbound links" which is no longer true. #MASTER# PROBLEM-URL: http://uk.rd.yahoo.com/M=200059723.200849546.202365062.200414073/D=ukhmpg/S=15426100:TEAR/A=200396897/R=1119/id=img1_nocap_dial/*http://ad.uk.doubleclick.net/clk;5982435;8261020;g?http://www.lunnpoly.com -#MASTER# REMARKS: Basically all of Yahoo's outbound links .*rd.yahoo.com/ +#MASTER# REMARKS: Yahoo search results. Added 2007-01-19 fk +#MASTER# REDIRECT-REFERRER: http://search.yahoo.com/search?p=privoxy +#MASTER# PROBLEM-URL: http://rds.yahoo.com/_ylt=A0geuryczbBF._YAEmxXNyoA;_ylu=X3oDMTB2b2gzdDdtBGNvbG8DZQRsA1dTMQRwb3MDMQRzZWMDc3IEdnRpZAM-/SIG=11b3qg40n/EXP=1169301276/**http%3a//www.privoxy.org/ +rds.yahoo.com/ +#MASTER# COMMENTS: Verified 2007-01-19 fk +#MASTER# REDIRECT-REFERRER: http://www.gamefaqs.com/computer/doswin/game/914819.html +#MASTER# PROBLEM-URL: http://dw.com.com/redir?asid=0&astid=8&siteid=19&edid=107&destCat=33862&destURL=http%3A%2F%2Fdb.gamefaqs.com%2Fcomputer%2Fdoswin%2Ffile%2Fvampire_tmb_b.txt +dw.com.com/ {+block} #MASTER# COMMENTS: This section not checked 10/17/06 HB. Still out there? @@ -1668,4 +1750,21 @@ blogs.msdn.com # +session-cookies-only \ #} #www.versiontracker.com/ + +#MASTER# REMARKS: If Privoxy is disabled, requests for config.privoxy.org/ +#MASTER# REMARKS: reach privoxy.org and are redirected to privoxy.org/config. +#MASTER# REMARKS: The instructions tell the user to reload the page with +#MASTER# REMARKS: Privoxy enabled to reach the configuration webinterface, +#MASTER# REMARKS: to make this work we have to intercept the request and revert +#MASTER# REMARKS: the redirection. +{+redirect{http://config.privoxy.org/}} +.privoxy.org/config + +#MASTER# REMARKS: Yahoo logout URLs need special treatment, +#MASTER# REMARKS: the URL after "done=" is no fast-redirect. 2007-01-19 fk +#MASTER# REMARKS: Reported in support request #1635354. +#MASTER# PROBLEM-URL: http://us.ard.yahoo.com/SIG=AAAAAAAAA/M=NNNNNN.NNNNNNN.NNNNNNN.NNNNNNN/D=mail/S=NNNNNNNNN:HEADR/Y=YAHOO/EXP=NNNNNNNNNN/A=NNNNNNN/R=N/SIG=AAAAAAAAA/*http://login.yahoo.com/config/login?logout=1&.done=http://mail.yahoo.com&.src=ym&.intl=us +{-fast-redirects +redirect{s@^.*\*(http://login\.yahoo\.com/.*)$@$1@i}} +.yahoo./.*http://login.yahoo.com/config/login.*http:// + #MASTER# set vi:nowrap