X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.action;h=670aea5718ee56dd43ae4406131d1a6c327a1659;hp=40317fc7e58ddb0c0992e464672ffd86cb7f7ee5;hb=58061d7288aadecea7754981b98c827467e54c53;hpb=a016e4eabcaaa42be1efe8a5d95700a2a5b4530a diff --git a/default.action b/default.action index 40317fc7..670aea57 100644 --- a/default.action +++ b/default.action @@ -1,16 +1,8 @@ -############################################################################# -# -# Bare-bones actions file for Privoxy pre release testdrive -# -# For information, see http://www.oesterhelt.org/testdrive -# -############################################################################# - ###################################################################### # # File : $Source: /cvsroot/ijbswa/current/default.action,v $ # -# $Id: default.action,v 1.14 2002/04/08 20:47:24 swa Exp $ +# $Id: default.action,v 1.28 2002/05/14 21:29:19 oes Exp $ # # Purpose : Default actions file, see # http://www.privoxy.org/faq/questions.html#CONFIGFILES @@ -160,7 +152,7 @@ # +name{param} # enable and set parameter to "param" # -name # disable # -# Multi-value (e.g. "add-header", "wafer"): +# Multi-value (e.g. "add-header", "send-wafer"): # +name{param} # enable and add parameter "param" # -name{param} # remove the parameter "param" # -name # disable totally @@ -196,7 +188,7 @@ # most banner animations, but also has the risk of not showing the # entire last frame (if it is only a delta to an earlier frame). # -# +downgrade +# +downgrade-http-version # Downgrade HTTP/1.1 client requests to HTTP/1.0 and downgrade the # responses as well. Use this action for servers that use HTTP/1.1 # protocol features that Privoxy currently can't handle yet. @@ -230,21 +222,23 @@ # # html-annoyances: Get rid of particularly annoying HTML abuse # js-annoyances: Get rid of particularly annoying JavaScript abuse -# no-poups: Kill all popups in JS and HTML +# content-cookies: Kill cookies that come in the HTML or JS content +# popups: Kill all popups in JS and HTML # frameset-borders: Give frames a border # webbugs: Squish WebBugs (1x1 invisible GIFs used for user tracking) -# no-refresh: Automatic refresh sucks on auto-dialup lines +# refresh-tags: Kill automatic refresh tags (for dial-on-demand setups) # fun: Text replacements for subversive browsing fun! -# nimda: Remove (virus) Nimda code. -# banners-by-size: Kill banners by size +# nimda: Remove Nimda (virus) code. +# banners-by-size: Kill banners by size (very efficient!) +# shockwave-flash: Kill embedded Shockwave Flash objects # crude-parental: Kill all web pages that contain the words "sex" or "warez" # # -# +hide-forwarded +# +hide-forwarded-for-headers # Block any existing X-Forwarded-for header, and do not add a new one. # -# +hide-from{block} -# +hide-from{spam@sittingduck.xqq} +# +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. @@ -272,23 +266,23 @@ # +hide-user-agent{Privoxy/1.0} # (Don't change the version number from 1.0 - after all, why tell them?) # -# +image +# +handle-as-image # Treat this URL as an image. This only matters if it's also "+block"ed, # in which case a "blocked" image can be sent rather than a HTML page. -# See +image-blocker{} for the control over what is actually sent. +# See +set-image-blocker{} for the control over what is actually sent. # -# +image-blocker{blank} -# +image-blocker{pattern} -# +image-blocker{} with being any valid image URL -# Decides what to do with URLs that end up tagged with {+block +image}. +# +set-image-blocker{blank} +# +set-image-blocker{pattern} +# +set-image-blocker{} with being any valid image URL +# Decides what to do with URLs that end up tagged with {+block +handle-as-image}. # There are 4 options: -# * "-image-blocker" will send a HTML "blocked" page, usually -# resulting in a "broken image" icon. -# * "+image-blocker{blank}" will send a 1x1 transparent image -# * "+image-blocker{pattern}" will send a 4x4 grey/white pattern +# * "-set-image-blocker" will send a HTML "blocked" page, usually +# resulting in a "broken image" icon. +# * "+set-image-blocker{blank}" will send a 1x1 transparent image +# * "+set-image-blocker{pattern}" will send a 4x4 grey/white pattern # which is less intrusive than the logo but easier to recognize # than the transparent one. -# * "+image-blocker{}" will send a HTTP temporary redirect +# * "+set-image-blocker{}" will send a HTTP temporary redirect # to the specified image URL. # # @@ -310,43 +304,49 @@ # +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. # -# +no-compression +# +prevent-compression # Prevent the website from compressing the data. Some websites do -# that, which is a problem for Privoxy, since +filter, +no-popup +# that, which is a problem for Privoxy, since +filter, +kill-popups # and +gif-deanimate will not work on compressed data. Will slow down # connections to those websites, though. # -# +no-cookies-keep +# +prevent-keeping-cookies +# +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, # but won't break sites which require cookies so that you can log in # or for transactions. # -# +no-cookies-read +# +crunch-outgoing-cookies # Prevent the website from reading cookies # -# +no-cookies-set +# +crunch-incoming-cookies # Prevent the website from setting cookies # -# +no-popup -# +no-popups +# +kill-popups # Filter the website through a built-in filter to disable # 1;''.concat() etc. The two alternative spellings are # equivalent. # -# +vanilla-wafer +# +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 # on cookies sent to you, and asking them not to track you. Of # course, this is a (relatively) unique header they could use to # track you. # -# +wafer{name=value} +# +send-wafer{name=value} # This allows you to add an arbitrary cookie. Specify it multiple # times in order to add several cookies. # ############################################################################# +############################################################################# +# Settings -- Don't change. +############################################################################# +{{settings}} +############################################################################# +for-privoxy-version=3.0 ############################################################################# # Aliases @@ -355,8 +355,8 @@ ############################################################################# # # You can define a short form for a list of permissions - e.g., instead -# of "-no-cookies-set -no-cookies-read -filter -fast-redirects", you can -# just write "shop". This is called an alias. +# of "-crunch-incoming-cookies -crunch-outgoing-cookies -filter -fast-redirects", +# you can just write "shop". This is called an alias. # # Currently, an alias can contain any character except space, tab, '=', '{' # or '}'. @@ -366,57 +366,60 @@ # # Aliases beginning with '+' or '-' may be used for system permission names # in future releases - so try to avoid alias names like this. (e.g. -# "+no-cookies" below is not a good name) +# "+crunch-all-cookies" below is not a good name) # # Aliases must be defined before they are used. # # Useful aliases -+no-cookies = +no-cookies-set +no-cookies-read --no-cookies = -no-cookies-set -no-cookies-read -+imageblock = +block +image ++crunch-all-cookies = +crunch-incoming-cookies +crunch-outgoing-cookies +-crunch-all-cookies = -crunch-incoming-cookies -crunch-outgoing-cookies ++imageblock = +block +handle-as-image # Fragile sites should have the minimum changes -fragile = -block -deanimate-gifs -fast-redirects -filter -hide-referer -no-cookies -no-popups +fragile = -block -deanimate-gifs -fast-redirects -filter -hide-referer -crunch-all-cookies -kill-popups # Shops should be allowed to set persistent cookies -shop = -filter -no-cookies -no-cookies-keep +shop = -filter -crunch-all-cookies -prevent-keeping-cookies # Your favourite blend of filters: # -myfilters = +filter{html-annoyances} +filter{js-annoyances} +filter{no-popups}\ +myfilters = +filter{html-annoyances} +filter{js-annoyances} +filter{popups}\ +filter{webbugs} +filter{nimda} +filter{banners-by-size} #+filter{fun} - #... etc. Customize to your heart's content. - ############################################################################# # Defaults ############################################################################# -{\ --add-header \ --block \ -+deanimate-gifs{last} \ --downgrade \ -+filter{html-annoyances} \ -+filter{content-cookies} \ -+filter{js-annoyances} \ -+filter{no-popups} \ -+filter{webbugs} \ -+filter{nimda} \ -+filter{banners-by-size} \ -+hide-forwarded \ -+hide-from{block} \ -+hide-referer{forge} \ --hide-user-agent \ --image \ -+image-blocker{pattern} \ -+no-compression \ -+no-cookies-keep \ --no-cookies-read \ --no-cookies-set \ -+no-popups \ --vanilla-wafer \ --wafer \ +{-add-header \ + -block \ + -crunch-incoming-cookies \ + -crunch-outgoing-cookies \ + +deanimate-gifs{last} \ + -downgrade-http-version \ + -fast-redirects \ + -filter{popups} \ + -filter{fun} \ + -filter{shockwave-flash} \ + -filter{crude-prental} \ + +filter{html-annoyances} \ + +filter{js-annoyances} \ + +filter{content-cookies} \ + +filter{webbugs} \ + +filter{refresh-tags} \ + +filter{nimda} \ + +filter{banners-by-size} \ + -handle-as-image \ + +hide-forwarded-for-headers \ + +hide-from-header{block} \ + +hide-referer{forge} \ + -hide-user-agent \ + -kill-popups \ + -limit-connect \ + +prevent-compression \ + -send-vanilla-wafer \ + -send-wafer \ + +session-cookies-only \ + +set-image-blocker{pattern} \ } / # Match all URLs @@ -424,8 +427,8 @@ myfilters = +filter{html-annoyances} +filter{js-annoyances} +filter{no-popups} ############################################################################# # Needed for automatic feedback evaluation; Please don't delete! ############################################################################# -{+add-header{X-Actions-File-Version: 1.2} -filter -no-popups} -.privoxy.org/actions +{+add-header{X-Actions-File-Version: 1.2} -filter -kill-popups} +.privoxy.org .oesterhelt.org/actions @@ -449,7 +452,7 @@ myfilters = +filter{html-annoyances} +filter{js-annoyances} +filter{no-popups} ############################################################################# # These shops require pop-ups ############################################################################# -{shop -no-popups -filter{no-poups}} +{shop -no-popups -filter{popups}} .dabs.com .overclockers.co.uk @@ -473,11 +476,11 @@ edit.europe.yahoo.com .cvs.sourceforge.net ############################################################################# -# Imagelist: +# These are images: ############################################################################# -{+image} +{+handle-as-image} ############################################################################# -/.*\.(gif|jpe?g|png|bmp|ico) +/.*\.(gif|jpe?g|png|bmp|ico)$ ############################################################################# {+imageblock} @@ -492,8 +495,6 @@ ar.atwola.com .a.yimg.com/(?:(?!/i/).)*$ .a[0-9].yimg.com/(?:(?!/i/).)*$ - - #BLOCK-REFERRER: bs*.gsanet.com bs*.einets.com @@ -537,3 +538,15 @@ advice. .uni-*.de www.ugu.com/sui/ugu/adv .*downloads. +# So many download pages being blocked +/downloads/ +# adv for globalintersec means advanced, not advertisement +www.globalintersec.com/adv +# We all want weather forecast to work +banners.wunderground.com/banner/gizmotemp/ + +{+downgrade-http-version} +linuxdailynews.net +.linuxandmain.com +.ofb.biz +