Spell check.
[privoxy.git] / default.action.master
index 8a5447f..591af33 100644 (file)
@@ -1,13 +1,18 @@
+#MASTER# COMMENT:   
+#MASTER# COMMENT:   Anyone adding specific rules to this file,
+#MASTER# COMMENT:   wherever possible please include a *full* URL 
+#MASTER# COMMENT:   which can be used to verify the problem.  
+#MASTER# COMMENT:   
 ######################################################################
 # 
 #  File        :  $Source: /cvsroot/ijbswa/current/default.action.master,v $
 # 
-#  $Id: default.action.master,v 1.13 2006/08/19 03:13:00 david__schmidt Exp $
+#  $Id: default.action.master,v 1.22 2006/09/07 22:53:59 hal9 Exp $
 #
 #  Purpose     :  Default actions file, see
 #                 http://www.privoxy.org/user-manual/actions-file.html
 #
-#  Copyright   :  Written by and Copyright (C) 2001 - 2004 the
+#  Copyright   :  Written by and Copyright (C) 2001 - 2006 the
 #                 Privoxy team. http://www.privoxy.org/
 #
 # Note: Updated versions of this file will be made available from time
@@ -21,8 +26,9 @@
 #  
 #  * Use the support forum to get help:
 #    http://sourceforge.net/tracker/?group_id=11118&atid=211118
-#  * Submit feedback for this actions file only through our
-#    actions file feedback script: http://www.privoxy.org/actions
+#  * Submit feedback for this actions file only through the 
+#    SF actions file feedback tracker: 
+#    http://sourceforge.net/tracker/?group_id=11118&atid=460288
 #  * Submit bugs only through our bug forum:
 #    http://sourceforge.net/tracker/?group_id=11118&atid=111118 
 #    Make sure that the bug has not already been submitted. Please try
 # +block
 #    Block this URL
 #
+# +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.
+#
+# +crunch-client-header{string}
+#    Deletes every header sent by the client that contains the string the 
+#    user supplied as parameter. 
+#    
+# +crunch-if-none-match
+#     Deletes the "If-None-Match:" HTTP client header. 
+#
+# +crunch-server-header{string}
+#    Deletes every header sent by the server that contains the string the 
+#    user supplied as a parameter. 
+# 
 # +deanimate-gifs{last}
 # +deanimate-gifs{first}
 #    Deanimate all animated GIF images, i.e. reduce them to their last
 #    protocol features that Privoxy currently can't handle yet.
 #
 # +fast-redirects{check-decoded-url}
+# +fast-redirects{simple-check}
 #    Many sites, like yahoo.com, don't just link to other sites.
 #    Instead, they will link to some script on their own server,
 #    giving the destination as a parameter, which will then redirect
 #    time is wasted, while your browser aks the server for one redirect
 #    after the other. Plus, it feeds the advertisers.
 #
-#    The +fast-redirects{check-decoded-url} option enables interception of these requests
-#    by Privoxy, who will cut off all but the last valid URL in the
-#    request and send a local redirect back to your browser without
-#    contacting the intermediate sites.
+#    The +fast-redirects{check-decoded-url} option enables interception of 
+#    these requests by Privoxy, who will cut off all but the last valid URL 
+#    in the request and send a local redirect back to your browser without
+#    contacting the intermediate sites. NOTE: Syntax change as of v.3.0.4.
 #
 # +filter{name}
 #    Filter the website through one or more regular expression filters.
 #     ie-exploits:         Disable some known Internet Explorer bug exploits
 #     site-specifics       Cure for site-specific problems. Don't apply generally!
 #
+# +filter-client-headers
+#    By default, filters only apply to the document content itself. This will
+#    extend those filters to include the client's headers as well.
+#
+# +filter-server-headers
+#    By default, filters only apply to the document content itself. This will
+#    extend those filters to include the server's headers as well.
+#
+# +force-text-mode
+#    Declares a document as plain text, even if the "Content-Type:" isn't detected 
+#    as such. 
+#
+# +handle-as-empty-document
+#   This action alone doesn't do anything noticeable. It just marks URLs. If
+#   the block action also applies, the presence or absence of this mark
+#   decides whether an HTML "blocked"  page, or an empty document will be sent
+#   to the client as a substitute for the blocked content.
+#
+# +hide-accept-language{lang}
+# +hide-accept-language{block}
+#   Deletes or replaces the "Accept-Language:" HTTP header in client
+#   requests.
+#
+# +hide-content-disposition{block}
+# +hide-content-disposition{string}
+#   Deletes or replaces the "Content-Disposition:" HTTP header set by some 
+#   servers. This can be used to prevent download menus for content you 
+#   prefer to view inside the browser, for example.
+#
 # +hide-forwarded-for-headers
-#    Block any existing X-Forwarded-for header, and do not add a new one.
+#   Block any existing X-Forwarded-for header, and do not add a new one.
 #
 # +hide-from-header{block}
 # +hide-from-header{spam@sittingduck.xqq}
-#    If the browser sends a "From:" header containing your e-mail address, 
-#    either completely removes the header ("block"), or change it to the
-#    specified e-mail address.
+#   If the browser sends a "From:" header containing your e-mail address, 
+#   either completely removes the header ("block"), or change it to the
+#   specified e-mail address.
+#
+# +hide-if-modified-since{block}
+# +hide-if-modified-since{-1}
+#   Deletes the "If-Modified-Since:" HTTP client header or modifies its 
+#   value, preventing another way to track users.
 #
 # +hide-referer{block}
 # +hide-referer{forge}
 #   +limit-connect{80,443} # Ports 80 and 443 are OK.
 #   +limit-connect{-3, 7, 20-100, 500-} # Port less than 3, 7, 20 to 100, and above 500 are OK.
 #
+# +overwrite-last-modified{block}
+# +overwrite-last-modified{reset-to-request-time}
+# +overwrite-last-modified{randomize}
+#    Removing the "Last-Modified:" header is useful for filter testing, where
+#    you want to force a real reload instead of getting status code "304",
+#    which would cause the browser to reuse the old version of the page.
+#
+#    The "randomize" option overwrites the value of the "Last-Modified:"
+#    header with a randomly chosen time between the original value and the
+#    current time. In theory the server could send each document with a
+#    different "Last-Modified:" header to track visits without using cookies.
+#    "Randomize" makes it impossible and the browser can still revalidate
+#    cached documents.
+#
+#    "reset-to-request-time" overwrites the value of the "Last-Modified:"
+#    header with the current time. You could use this option together with
+#    hided-if-modified-since to further customize your random range. 
+#  
 # +prevent-compression
 #    Prevent the website from compressing the data. Some websites do
 #    that, which is a problem for Privoxy, since +filter, +kill-popups
 #    window.open() etc.  The two alternative spellings are
 #    equivalent.
 #
+# +redirect{<URL>}
+#    Convinces the browser that the requested document has been moved to
+#    another location and the browser should get it from the specified
+#    URL.
+#
 # +send-vanilla-wafer
 #    This action only applies if you are using a jarfile.  It sends a
 #    cookie to every site stating that you do not accept any copyright
 #    This allows you to add an arbitrary cookie.  Specify it multiple
 #    times in order to add several cookies.
 #
+# +treat-forbidden-connects-like-blocks
+#    If this action is enabled, Privoxy no longer makes a difference between
+#    forbidden connects and ordinary blocks. 
+#
+#    By default Privoxy answers forbidden "Connect" requests  with a short
+#    error message inside the headers. If the browser doesn't display headers
+#    (most don't), you just see an empty page. With this action enabled,
+#    Privoxy displays the message that is used for ordinary blocks instead. If
+#    you decide to make an exception for the page in question, you can do so
+#    by following the "See why" link. 
+#
 #############################################################################
 
 #############################################################################
 #############################################################################
 {{settings}}
 #############################################################################
-for-privoxy-version=3.0.3
+for-privoxy-version=3.0.4
 
 #############################################################################
 # Aliases
@@ -420,8 +510,12 @@ allow-ads   = -block -filter{banners-by-size} -filter{banners-by-link}
 { \
 -add-header \
 -block \
+-content-type-overwrite \
+-crunch-client-header \
+-crunch-if-none-match \
 -crunch-outgoing-cookies \
 -crunch-incoming-cookies \
+-crunch-server-header \
 +deanimate-gifs{last} \
 -downgrade-http-version \
 -fast-redirects \
@@ -446,7 +540,14 @@ allow-ads   = -block -filter{banners-by-size} -filter{banners-by-link}
 -filter{crude-parental} \
 +filter{ie-exploits} \
 -filter{site-specifics} \
+-filter-client-headers \
+-filter-server-headers \
+-force-text-mode \
+-handle-as-empty-document \
 -handle-as-image \
+-hide-accept-language \
+-hide-content-disposition \
+-hide-if-modified-since \
 +hide-forwarded-for-headers \
 +hide-from-header{block} \
 +hide-referrer{forge} \
@@ -454,21 +555,17 @@ allow-ads   = -block -filter{banners-by-size} -filter{banners-by-link}
 -inspect-jpegs \
 -kill-popups \
 -limit-connect \
--prevent-compression \
+-overwrite-last-modified \
+-redirect \
++prevent-compression \
 -send-vanilla-wafer \
 -send-wafer \
 +session-cookies-only \
 +set-image-blocker{pattern} \
+-treat-forbidden-connects-like-blocks \
 }
 / # Match all URLs
 
-#############################################################################
-# Needed for automatic feedback evaluation; Please don't change or delete!
-#############################################################################
-{+add-header{X-Actions-File-Version: 1.8} -filter -kill-popups}
-.privoxy.org
-.oesterhelt.org/actions
-
 #############################################################################
 # These extensions belong to images:
 #############################################################################
@@ -565,16 +662,10 @@ www.max.de/_teaser/partner/
 #MASTER# BLOCK-REFERRER: http://search.atomz.com/search/?sp-k=&sp-p=any&sp-a=sp1001395b&sp-q=linux
 search.atomz.com/search/i/tagw1c.gif
 www.intelligentx.com/newsletters/.*\.gif
-#MASTER# BLOCK-REFERRER: http://www.whowhere.lycos.com/ThreeD/explain.html
-www.whowhere.lycos.com/images/ebay_bst.gif
-www.whowhere.lycos.com/images/find_books.gif
-www.whowhere.lycos.com/images/1800/advppl1.gif
 #MASTER# BLOCK-REFERRER: http://realguide.real.com/games/
 i.real.com/g/pics/games/gamepass_120x600_2.gif
 #MASTER# BLOCK-REFERRER: http://www1.chathouse.com/roomplan.html
 www*.chathouse.com/chatimages/whopersonal.gif
-#MASTER# BLOCK-REFERRER: http://www.beseen.com/
-www.beseen.com/images/website3.gif
 #MASTER# BLOCK-REFERRER: http://www.planetspiele.de/
 .planetspiele.de/gfx/partner
 #MASTER# BLOCK-REFERRER: http://www.hot.ee/toptools/
@@ -770,7 +861,6 @@ imp*.tradedoubler.com
 #MASTER# BLOCK-REFERRER: http://www.physlink.com/Education/AskExperts/ae353.cfm
 /.*affiliate.*120x90
 #MASTER# BLOCK-REFERRER:  http://www.amayita.com/imagenes/index.php?currDir=./Hall_of_Fame&pageType=image&image=img_0265.jpg
-www.spanishbanner.com/cgi/bserve.cgi
 #MASTER# BLOCK-REFERRER: http://www.macgamer.com/
 .qksrv.net
 #MASTER# BLOCK-REFERRER: http://www.drudgereport.com/
@@ -830,10 +920,19 @@ www.allosponsor.com/images/ban
 #MASTER# BLOCK-REFERRER: http://discussion.brighthand.com/forumdisplay.php?s=fee44a5b2a6fc2e9e79d6472bc8fbe94&forumid=197
 *[0-9].tribalfusion.com/
 #MASTER# BLOCK-REFERRER: http://www.sf.net/
-ads.osdn.com/?ad
+#MASTER# REMARKS: broadening scope from previous: ads.osdn.com/?ad 09/02/06 per tracker 
+ads.osdn.com
 #MASTER# BLOCK-REFERRER: http://www.nytimes.com/
 kt*.kliptracker.com/
 gfx.dvlabs.com/klipmart/
+#MASTER# REMARKS: Actions file tracker 1547656 09/02/06
+img.mediaplex.com
+#MASTER# REMARKS: Actions file tracker 1152563 09/02/06
+ads.monster.com
+#MASTER# REMARKS: Support request 1312362 09/08/06
+adserver.itsfogo.com
+#MASTER# BLOCK-REFERRER: http://www.multiproxy.org/anon_proxy.htm 09/10/06
+view.atdmt.com
 
 #----------------------------------------------------------------------------
 # Cross-site user tracking
@@ -870,8 +969,6 @@ s*.sitemeter.com/meter\.asp
 fastcounter.bcentral.com/
 #MASTER# BLOCK-REFERRER: http://osnews.com/
 bilbo.counted.com/
-#MASTER# BLOCK-REFERRER: http://www.slovio.com/
-ww2.fce.vutbr.cz/bin/counter.gif
 #MASTER# BLOCK-REFERRER: http://enciclopedia.us.es/
 p[0-9].nedstatbasic.net/
 #MASTER# BLOCK-REFERRER: http://www.vencor.narod.ru/films/inolv.htm
@@ -924,8 +1021,6 @@ www.usatoday.com/sponsors/
 ads.jpost.com
 #MASTER# BLOCK-REFERRER: http://www.jpost.com/servlet/Satellite?pagename=JPost/A/JPArticle/ShowFull&cid=1038889003183
 /.*/images/\d+/promos/
-#MASTER# BLOCK-REFERRER: http://astalavista.box.sk/
-www.subteran.ro/adult/adult20.jpg
 #MASTER# BLOCK-REFERRER: http://www.kuro5hin.org/
 #www.kuro5hin.org/images/[^/]+\.gif
 #MASTER# BLOCK-REFERRER: http://www.uolsinectis.com.ar/
@@ -973,8 +1068,6 @@ b.i.bol.com.br/b/catho/a_
 www.independent.co.uk/img/commercial/
 #MASTER# BLOCK-REFERRER: http://groups.yahoo.com/group/epdf/
 a.rn11.com/
-#MASTER# BLOCK-REFERRER: http://www.planetgamecube.com/
-www.planetgamecube.com/ad.swf
 #MASTER# BLOCK-REFERRER: http://www.dinside.no/
 www.dinside.no/annonsorer/
 #MASTER# BLOCK-REFERRER: http://www.computrabajo.es/
@@ -1122,16 +1215,11 @@ ad.debka.com/(css|images)
 #MASTER# UNBLOCK-REFERRER: http://www.directv.com/DTVAPP/index.jsp
 #MASTER# REMARKS: Yuck!
 realmedia*./.*/DIRECTV/
-www.directv.com/includes/jvs/BannerHome.js
 oascentral.directv.com/
 #MASTER# UNBLOCK-REFERRER: http://source.bungie.org/
 source.bungie.org/
 #MASTER# UNBLOCK-REFERRER: http://adonthell.linuxgames.com/
 adonthell.linuxgames.com/
-#MASTER# UNBLOCK-REFERRER: http://www.meine-erste-homepage.com/bannergenerator/formbanner.php
-www.meine-erste-homepage.com/bannergenerator/
-#MASTER# UNBLOCK-REFERRER: http://www.france-histoire.com/russie/visarussie.htm
-www.france-histoire.com/russie/ad/uts.htm
 #MASTER# UNBLOCK-REFERRER: http://news.bbc.co.uk/furniture/chinese/banner/bbccantonese_600.gif
 #MASTER# REMARKS: Banner-free site(s).
 .bbc.co.uk/
@@ -1155,8 +1243,8 @@ www.qualcomm.com/brew/developer/resources/ad/
 www.ad.tomshardware.com/cgi-bin/logo2.m?
 #MASTER# UNBLOCK-REFERRER:  http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=2959829594&category=30018#ebayphotohosting
 .ebayimg.com/
-#MASTER# UNBLOCK-REFERRER: http://www.baycitybaptist.org/
-www.baycitybaptist.org/images/Banner.jpg
+#MASTER# UNBLOCK-REFERRER: http://upgrade.bitdefender.com/update71/avx/Plugins/adsntfs.xmd.gzip 09/04/06
+/update/.*adsnt.*
 
 #############################################################################
 # Site-specific special rules:
@@ -1171,6 +1259,8 @@ www.baycitybaptist.org/images/Banner.jpg
 .windowsupdate.microsoft.com
 .apple.com
 .yahoo.com
+#MASTER# REMARKS: Actions Tracker 1293057 09/02/06
+.update.microsoft.com
 
 #----------------------------------------------------------------------------
 # Shopping and banking sites - allow cookies and pop-ups
@@ -1179,12 +1269,9 @@ www.baycitybaptist.org/images/Banner.jpg
 .quietpc.com
 .worldpay.com   # for quietpc.com
 .jungle.com
-.scan.co.uk
 .dabs.com
 .overclockers.co.uk
-.deutsche-bank-24.de
 .db24.de
-.deutsche-bank.de
 .ebay.
 .mobile.de
 www.fondationlejeu.com
@@ -1215,9 +1302,6 @@ www*.chathouse.com/games/
 #MASTER# PROBLEM-URL: http://www.tagesschau.de/
 #MASTER# REMARKS: Search results come in a popup
 www.tagesschau.de
-#MASTER# PROBLEM-URL: http://www.reuters.com/
-#MASTER# REMARKS: Printer friendly versions pop up
-www.reuters.com/news_article.jhtml
 #MASTER# PROBLEM-URL: http://www.xmms.org/skins.html?num=15&sort=daily_download&order=desc
 www.xmms.org
 #MASTER# PROBLEM-URL: http://www.bild.de/
@@ -1254,7 +1338,7 @@ www.rosettaproject.org
 {-fast-redirects}
 www.ukc.ac.uk/cgi-bin/wac\.cgi\?
 #MASTER# PROBLEM-URL: http://www.google.com/search?q=foo
-.google.com
+.google.
 #MASTER# PROBLEM-URL: http://de.altavista.com/q?pg=q&q=foo&kl=XX&search.x=28&search.y=8&what=web
 .altavista.com/(.*(like|url|link):|trans.*urltext=)http
 #MASTER# PROBLEM-URL: http://www.speedfind.de/cgi-bin/search?q=foo&t=STANDARD
@@ -1303,6 +1387,12 @@ www.translate.ru/url/
 #MASTER# PROBLEM-URL: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/ijbswa/current/
 cvs.
 /.*(cvs(view|web)|viewcvs)
+#MASTER# REMARKS: The same for Subversion
+#MASTER# PROBLEM-URL: http://svn.sourceforge.net/
+svn.
+websvn.
+/(.*/)?svn/
+
 #MASTER# PROBLEM-URL: http://liveupdate.symantec.com/ennlu.x86
 #MASTER# REMARKS: Jeez, could you please stay with one of them?
 liveupdate.symantec.com
@@ -1325,6 +1415,41 @@ swscan.apple.com
 #MASTER# REMARKS: Popular bug-tracking system - likely to contain code
 bugzilla.
 .tldp.org
+#MASTER# REMARKS: all the world is wikified 09/02/06. Generic wiki un-filterers.
+.wiki*.
+.*wiki.
+/.*wiki/
+#MASTER# REMARKS: protect some google projects from accidental JS/HTML tampering, etc
+maps.google.
+.google.com/calendar
+#MASTER# REMARKS: A lot of code and docs on these sites:
+code.
+developer.
+.mozdev.org
+.mozilla.org
+.perl.org
+.cpan.org
+.webdeveloper.com
+.ibm.com/developerworks
+.apache.org/docs
+.comptechdoc.org
+.webmonkey.com
+.webreference.com
+docs.sun.com
+java.sun.com
+.thescripts.com
+.php.net
+.phpdeveloper.org
+.oreillynet.com/pub
+.devshed.com
+.htmlgoodies.com
+.javascript.com
+javascript.internet.com
+.w3schools.com
+.devguru.com
+javascriptkit.com
+.xulplanet.com
+.perl.com/language/newdocs/pod/
 
 #----------------------------------------------------------------------------
 # These sites suffer from a bug in PHP < 4.2.3 (ob_gzhandler broken;
@@ -1449,6 +1574,8 @@ www.thinkgeek.com/
 .microsoft.com
 #MASTER# PROBLEM-URL: http://javabog.dk/ijk/
 javabog.dk/ijk/
+#MASTER# REMARK: Per Debian bug report #319025
+.w3.org
 
 #----------------------------------------------------------------------------
 # These don't work without the referrer information:
@@ -1469,6 +1596,11 @@ www.amazon.de/exec/obidos/clipserve/
 #MASTER# PROBLEM-URL: http://www.mandrakelinux.com/en/ftp.php3
 #MASTER# REMARKS: Link to download page breaks
 www.mandrakelinux.com/en/ftp.php3
+#MASTER# REMARKS: Actions Tracker 1313157
+validator.w3.org/check\?uri=referer
+#MASTER# REMARKS: Fixes Debian Bug #250407
+.petitiononline.com/mod_perl/signed.cgi
+
 
 #----------------------------------------------------------------------------
 # These animated gifs are either useful or nice:
@@ -1547,8 +1679,6 @@ www.webreference.com/js/column8/property.html
 #MASTER# PROBLEM-URL: http://www.valueclick.com/html/
 #MASTER# REMARKS: Know your enemy ;-)
 www.valueclick.com
-{-block}
-www.valueclick.com/html/img/advertiser_top.gif
 
 {-filter{banners-by-size} -deanimate-gifs}
 #MASTER# PROBLEM-URL: http://realguide.real.com/games/
@@ -1592,6 +1722,9 @@ www.munichre.com
 #MASTER# PROBLEM-URL: http://www.nasa.gov
 #MASTER# REMARKS: No progress past main page without js-annoyances
 .nasa.gov
+#MASTER# REMARKS: Excclude per Debian bug report #377843
+.cnrs.fr 
+blogs.msdn.com
 
 {-filter{unsolicited-popups}}
 #MASTER# DONT-VERIFY
@@ -1611,6 +1744,9 @@ www.mcmaster.com/products.html
 cf.nbc4.com/
 #MASTER# PROBLEM-URL: http://www.hh.schule.de/ak/nt/
 www.hh.schule.de/ak/nt/
+#MASTER# REMARKS: Excclude per Debian bug report #377843
+.cnrs.fr 
+blogs.msdn.com
 
 {+fast-redirects{check-decoded-url} -block}
 #MASTER# PROBLEM-URL: http://isbn.nu/0596001088/price/2.html