X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.action.master;h=21dd89c0a5ba3011693de29bec4a83d73a4e6f5a;hp=7f153ab3970d7f79fdc576fca02f3c9915ad9a98;hb=9bfd35d078c2bad44f3d5cd4602689a328ef92df;hpb=334cf14789ee0688bad0b3468f52601f084450cd diff --git a/default.action.master b/default.action.master index 7f153ab3..21dd89c0 100644 --- a/default.action.master +++ b/default.action.master @@ -9,7 +9,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.action.master,v $ # -# $Id: default.action.master,v 1.91 2007/08/17 12:52:29 hal9 Exp $ +# $Id: default.action.master,v 1.104 2007/12/19 02:52:23 hal9 Exp $ # # Requires : This version requires Privoxy v3.0.7 or later due to # syntax changes. @@ -122,7 +122,7 @@ # Additionally, there are wildcards that you can use in the domain names # themselves. They work pretty similar to shell wildcards: "*" stands for # zero or more arbitrary characters, "?" stands for one, and you can define -# charachter classes in square brackets and they can be freely mixed: +# character classes in square brackets and they can be freely mixed: # # ad*.example.com # matches adserver.example.com, ads.example.com, etc but not sfads.example.com @@ -158,7 +158,7 @@ # will match only documents whose path starts with PaTtErN in exactly this # capitalization. # -# Partially case-sensetive and partially case-insensitive patterns are +# Partially case-sensitive and partially case-insensitive patterns are # possible, but the rules about splitting them up are extremely complex # - see the PCRE documentation for more information. # @@ -210,6 +210,13 @@ # # hide-tor-exit-notation: Removes the Tor exit node notation in Host and Referer headers # +# +client-header-tagger{string} +# Block requests based on their headers. Client headers to which this +# action applies are filtered on-the-fly through the specified regular +# expression based substitutions, the result is used as a tag. +# Client-header taggers are the first actions that are executed and their +# tags can be used to control every other action. +# # +content-type-overwrite # Replaces the "Content-Type:" HTTP server header, so that unwanted # download menus will not pop up, or changes the browser's rendering mode. @@ -252,10 +259,10 @@ # http://some.place/some_script?http://some.where-else # # Sometimes, there are even multiple consecutive redirects encoded -# in the URL. These redirections via scripts make your web browing +# in the URL. These redirections via scripts make your web browsing # more traceable, since the server from which you follow such a link # can see where you go to. Apart from that, valuable bandwidth and -# time is wasted, while your browser aks the server for one redirect +# time is wasted, while your browser asks the server for one redirect # after the other. Plus, it feeds the advertisers. # # The +fast-redirects{check-decoded-url} option enables interception of @@ -419,6 +426,14 @@ # html-to-xml: Changes the Content-Type header from html to xml # xml-to-html: Changes the Content-Type header from xml to html # +# +server-header-tagger{content-type} +# Server headers to which this action applies are filtered on-the-fly +# through the specified regular expression based substitutions, the result +# is used as a tag. Server-header taggers are executed before all other +# header actions that modify server headers. Their tags can be used to +# control all of the other server-header actions, the content filters and +# the crunch actions (redirect and block). +# # +session-cookies-only # If the website sets cookies, make sure they are erased when you exit # and restart your web browser. This makes profiling cookies useless, @@ -566,7 +581,12 @@ allow-ads = -block -filter{banners-by-size} -filter{banners-by-link} #MASTER# DONT-VERIFY (generic) ad*. .*ads. -.ad. +#MASTER# REMARKS: removed .ad. 2007-12-18 HB +#MASTER# REMARKS: Modifications per Actionsfile feedback item #1807613 +.ad.?. +.ad.[a-ik-z][a-oq-z]. +.ad.jp.*. +.ad.???*. #MASTER# PROBLEM URL: http://alternativos.iw-advertising.com/ .*advert*. *banner*. @@ -771,6 +791,9 @@ linuxinsider.com/images/sda/ #MASTER# REMARKS: Tracking JavaScript #MASTER# BLOCK-REFERRER: http://www.hants.gov.uk/record-office/ [a-z].clickdensity.com +#MASTER# REMARKS: Obnoxious "widget" adverts +#MASTER# BLOCK-REFERRER: http://www.quickonlinetips.com/archives/2007/08/nokia-offers-free-bl-5c-battery-replacement-for-overheating/ +.widgetbucks.com #---------------------------------------------------------------------------- # Misc Web-bugs, JS and just plain Junk. Images here aren't normal images. @@ -842,7 +865,21 @@ stats./.*\.gif\? #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/ +#MASTER# COMMENT: user tracking, and run-away assorted 'junk' +#MASTER# BLOCK-REFERRER: http://formwood.com 2007-11-12 +.insitemetrics.com/ +#MASTER# COMMENT: user tracking, and assorted 'junk' +#MASTER# BLOCK-REFERRER: http://blogblog.com 2007-11-12 +.extreme-dm.com/ +#MASTER# COMMENT: user tracking, and assorted 'junk' +#MASTER# BLOCK-REFERRER: http://www.schillmania.com 2007-11-12 +stats.reinvigorate.net/ +#MASTER# COMMENT: user tracking, and assorted 'junk' +#MASTER# BLOCK-REFERRER: http://wordpress.com 2007-11-12 +.getclicky.com/ +#MASTER# COMMENT: user tracking, and assorted 'junk' +#MASTER# BLOCK-REFERRER: http://infoworld.com 2007-11-12 +.quantserve.com #---------------------------------------------------------------------------- # JavaScripts and Texts for ad and popup generation @@ -1100,6 +1137,9 @@ insightxe./data/ rss.slashdot.org/~a/Slashdot/slashdot\? #MASTER# PROBLEM URL: rss.slashdot.org/~r/Slashdot/slashdot/~4/102113044 rss.slashdot.org/~r/Slashdot/slashdot/~4/ +#MASTER# BLOCK-REFERRER: http://www.isys.ucl.ac.be/bchi/research/Kwaresmi.htm +#MASTER# REMAKRKS: Actionsfile feedback item #1849627 2007-12-12 +[a-z][0-9].nedstatbasic.net/ #---------------------------------------------------------------------------- # Specific counters (see above for generic patterns) @@ -1111,9 +1151,6 @@ s*.sitemeter.com/(meter|js/counter.js) fastcounter.bcentral.com/ #MASTER# BLOCK-REFERRER: http://osnews.com/ 10/19/06 bilbo.counted.com/ -#MASTER# BLOCK-REFERRER: http://enciclopedia.us.es/ -#MASTER# REMAKRKS: Not found, but leaving 10/19/06 -#[a-z][0-9].nedstatbasic.net/ #---------------------------------------------------------------------------- # On-site ads and other single sources: @@ -1150,6 +1187,8 @@ smartad.*.*.* #MASTER# BLOCK-REFERRER: http://www.heise.de/ 10/08/06 #MASTER# BLOCK-REFERRER: http://www.spiegel.de/ /RealMedia/ads/ +#MASTER# REMARKS: Variation 2007-11-12 +/RealMediaAds/ #MASTER# BLOCK-REFERRER: http://www.powerdvd.com 12/28/06 per SF tracker /top\.php\?d=.*\.[a-z]{2,5} #MASTER# REMARKS: Actionsfile feedback item #1764161 2007-07-31 @@ -1267,7 +1306,9 @@ adbusters.org/ #MASTER# UNBLOCK-REFERRER: http://www.cels.org/db/keep-track.pl?cat:1 09/11/06 cels.org/.*track #MASTER# UNBLOCK-REFERRER: http://www.nic.ad.jp/ See http://jprs.co.jp/en/jpdomain.html 09/11/06 -.nic.ad.jp +#MASTER# REMARKS: 2007-10-04, increase scope per Actionsfile feedback item #1807613 +#.nic.ad.jp +#MASTER# REMARKS removed .ad.jp per Actionsfile feedback item #1807613 #MASTER# UNBLOCK-REFERRER: http://www.flickr.com/photo_zoom.gne?id=32594118&size=l 09/11/06 #MASTER# REMARKS: creativecommons.org worthwhile organization 09/11/06 /(.*/)?somerights20.gif @@ -1441,6 +1482,9 @@ www.ukc.ac.uk/cgi-bin/wac\.cgi\? #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://us.rd.yahoo.com/reg/login1/lisu/login/uk/ym/*http://edit.europe.yahoo.com/c onfig/login?.tries=1&.src=ym&.md5=&.hash=&.js=1&.last=&...kP=Y&.done=http://mail .yahoo.com&.pd=ym_ver=0&c=&login=XXX&passwd=XXX&.persistent =&.hash=1&.md5=1 +#MASTER# REMARKS: Reported in support request #1802365. +.rd.yahoo.com/reg/login1/ #MASTER# PROBLEM-URL: http://validator.w3.org/check .w3.org #MASTER# PROBLEM-URL: http://www.ask.com/ @@ -1490,6 +1534,8 @@ del.icio.us/ access.adobe.com/access/getStatus.do\?jobid=&srcPdfUrl= #MASTER# PROBLEM-URL: http://view.samurajdata.se/ps.php?url=http%3A%2F%2Fcups.cs.cmu.edu%2Fsoups%2F2007%2Fproceedings%2Fp41_clark.pdf&submit=View%21 view.samurajdata.se/ps\.php\?url= +#MASTER# PROBLEM-URL: http://www.blogger.com/navbar.g?targetBlogID=8919860543765866292&blogName=Kickin%27+the+Darkness&publishMode=PUBLISH_MODE_HOSTED&navbarType=BLUE&layoutType=LAYOUTS&homepageUrl=http%3A%2F%2Fblog.kickin-the-darkness.com%2F&searchRoot=http%3A%2F%2Fblog.kickin-the-darkness.com%2Fsearch +.blogger.com/navbar\.g #---------------------------------------------------------------------------- # No filtering for sourcecode or other automatically parsed content @@ -1700,22 +1746,11 @@ schneegans.de/sv/\?url=referer #MASTER# REMARKS: 09/12/06 Art site, and ad-free .rubberslug.com -#---------------------------------------------------------------------------- -# These sites are so abusive that we need to kill all JS event bindings (and -# probably a break a lot along the way) -#---------------------------------------------------------------------------- -#MASTER# REMARKS: Surely this has changed. Commenting out 10/15/06 HB -#{+filter{js-radical}} -##MASTER# PROBLEM-URL: http://www.planetspiele.de/ -#.planetspiele.de -#216.12.219.40 - #---------------------------------------------------------------------------- # The "site-specifics" filter has special cures for problems found here: #---------------------------------------------------------------------------- #MASTER# REMARKS: This section NOT checked 10/15/06 HB. -{+filter{site-specifics} +prevent-compression} -#MASTER# REMARKS: +prevent-compression in case its off as a default setting. +{+filter{site-specifics}} #MASTER# PROBLEM-URL: http://www.spiegel.de/static/js/flash-plugin.js .spiegel.de/static/js/flash-plugin\.js #MASTER# PROBLEM-URL: http://www.quelle-bausparkasse.de/ @@ -1790,10 +1825,6 @@ blogs.msdn.com blogs.msdn.com {+fast-redirects{check-decoded-url} -block} -#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 -.*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/ @@ -1816,7 +1847,7 @@ www.skweezer.net/bloglines { +prevent-compression } .compusa.com/ -{+filter{tiny-textforms} +prevent-compression} +{+filter{tiny-textforms}} .sourceforge.net/tracker {+downgrade-http-version} @@ -1824,13 +1855,6 @@ www.skweezer.net/bloglines #MASTER# REMARKS: This is work-around for CUPS http configuration. :631 -#MASTER# REMARKS: What is this? Something special? -#{ -crunch-outgoing-cookies \ -# -crunch-incoming-cookies \ -# +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 @@ -1842,8 +1866,10 @@ www.skweezer.net/bloglines #MASTER# REMARKS: Privoxy's "unsafe" CGI pages check the referrer #MASTER# REMARKS: to make sure the user reached them intentionally. -#MASTER# REMARKS: If the referrer is blocked, CGI editing is impossible. -{-hide-referrer} +#MASTER# REMARKS: Disabling hide-referrer so there's a referrer left to check. +#MASTER# REMARKS: Disabling fast-redirects because if CGI crunching gets +#MASTER# REMARKS: enabled it could be leveraged to fool the referrer check. +{-hide-referrer -fast-redirects} p.p/ config.privoxy.org/