X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=default.action.master;h=e6d76eba916468766660cf8b9894281cd9eab9d9;hb=77ac6a54e4438257c0e08a1055215ed9e5069886;hp=cb2d46f8700e4deea2b9dd9a953223c5d26ab08e;hpb=71590938443a42ee769ba175607ec67f5fc7ba2d;p=privoxy.git diff --git a/default.action.master b/default.action.master index cb2d46f8..e6d76eba 100644 --- a/default.action.master +++ b/default.action.master @@ -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.14 2006/08/29 00:39:54 david__schmidt Exp $ +# $Id: default.action.master,v 1.20 2006/09/04 12:39:55 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 @@ -185,6 +191,21 @@ # +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 @@ -202,6 +223,7 @@ # 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 @@ -217,10 +239,10 @@ # 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. @@ -250,14 +272,48 @@ # 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} @@ -323,6 +379,24 @@ # +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 @@ -347,6 +421,11 @@ # window.open() etc. The two alternative spellings are # equivalent. # +# +redirect{} +# 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 @@ -358,6 +437,17 @@ # 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. +# ############################################################################# ############################################################################# @@ -365,7 +455,7 @@ ############################################################################# {{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 \ +-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,15 @@ 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 #---------------------------------------------------------------------------- # Cross-site user tracking @@ -870,8 +965,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 +1017,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 +1064,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 +1211,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 +1239,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 +1255,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 @@ -1215,9 +1301,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 +1337,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 @@ -1325,6 +1408,13 @@ 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. +#MASTER# REMARKS: protect some google projects from accidental JS/HTML tampering, etc +maps.google. +.google.com/calendar +code.google.com #---------------------------------------------------------------------------- # These sites suffer from a bug in PHP < 4.2.3 (ob_gzhandler broken; @@ -1469,6 +1559,8 @@ 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 #---------------------------------------------------------------------------- # These animated gifs are either useful or nice: @@ -1547,8 +1639,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/