Rebuild for 3.0.17 stable
[privoxy.git] / doc / webserver / user-manual / actions-file.html
index dfd45a4..c0eb301 100644 (file)
@@ -7,7 +7,7 @@
 NAME="GENERATOR"
 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
 REL="HOME"
-TITLE="Privoxy 3.0.7 User Manual"
+TITLE="Privoxy 3.0.17 User Manual"
 HREF="index.html"><LINK
 REL="PREVIOUS"
 TITLE="The Main Configuration File"
@@ -17,7 +17,10 @@ TITLE="Filter Files"
 HREF="filter-file.html"><LINK
 REL="STYLESHEET"
 TYPE="text/css"
-HREF="../p_doc.css">
+HREF="../p_doc.css"><META
+HTTP-EQUIV="Content-Type"
+CONTENT="text/html;
+charset=ISO-8859-1">
 <LINK REL="STYLESHEET" TYPE="text/css" HREF="p_doc.css">
 </head
 ><BODY
@@ -39,7 +42,7 @@ CELLSPACING="0"
 ><TH
 COLSPAN="3"
 ALIGN="center"
->Privoxy 3.0.7 User Manual</TH
+>Privoxy 3.0.17 User Manual</TH
 ></TR
 ><TR
 ><TD
@@ -103,77 +106,54 @@ CLASS="APPLICATION"
 CLASS="APPLICATION"
 >Privoxy</SPAN
 > with
- differing purposes:
- </P
+ differing purposes:</P
 ><P
->  <P
+> <P
 ></P
 ><UL
 ><LI
 ><P
->     <TT
+>    <TT
+CLASS="FILENAME"
+>match-all.action</TT
+> - is used to define which
+    <SPAN
+CLASS="QUOTE"
+>"actions"</SPAN
+> relating to banner-blocking, images, pop-ups,
+    content modification, cookie handling etc should be applied by default.
+    It should be the first actions file loaded
+   </P
+></LI
+><LI
+><P
+>    <TT
 CLASS="FILENAME"
 >default.action</TT
-> - is the primary action file 
-     that sets the initial values for all actions. It is intended to 
-     provide a base level of functionality for
-     <SPAN
-CLASS="APPLICATION"
->Privoxy's</SPAN
-> array of features. So it is 
-     a set of broad rules that should work reasonably well as-is for most users.
-     This is the file that the developers are keeping updated, and <A
-HREF="installation.html#INSTALLATION-KEEPUPDATED"
->making available to users</A
->.
-     The user's preferences as set in <TT
+> - defines many exceptions (both
+    positive and negative) from the default set of actions that's configured
+    in <TT
 CLASS="FILENAME"
->standard.action</TT
->,
-     e.g. either <TT
-CLASS="LITERAL"
->Cautious</TT
-> (the default),
-     <TT
-CLASS="LITERAL"
->Medium</TT
->, or <TT
-CLASS="LITERAL"
->Advanced</TT
-> (see
-     below).
-    </P
+>match-all.action</TT
+>. It is a set of rules that should
+    work reasonably well as-is for most users. This file is only supposed to
+    be edited by the developers. It should be the second actions file loaded.
+   </P
 ></LI
 ><LI
 ><P
->     <TT
+>    <TT
 CLASS="FILENAME"
 >user.action</TT
 > - is intended to be for local site 
-     preferences and exceptions. As an example, if your ISP or your bank
-     has specific requirements, and need special handling, this kind of 
-     thing should go here. This file will not be upgraded.
-    </P
+    preferences and exceptions. As an example, if your ISP or your bank
+    has specific requirements, and need special handling, this kind of 
+    thing should go here. This file will not be upgraded.
+   </P
 ></LI
 ><LI
 ><P
->     <TT
-CLASS="FILENAME"
->standard.action</TT
-> - is used only by the web based editor
-     at <A
-HREF="http://config.privoxy.org/edit-actions-list?f=default"
-TARGET="_top"
->     http://config.privoxy.org/edit-actions-list?f=default</A
->, 
-     to set various pre-defined sets of rules for the default actions section
-     in <TT
-CLASS="FILENAME"
->default.action</TT
->. 
-     </P
-><P
->     <SPAN
+>    <SPAN
 CLASS="GUIBUTTON"
 >Edit</SPAN
 >  <SPAN
@@ -186,80 +166,74 @@ CLASS="GUIBUTTON"
 CLASS="GUIBUTTON"
 >Set to Advanced</SPAN
 >
-     </P
+   </P
 ><P
->     These have increasing levels of aggressiveness <SPAN
+>    These have increasing levels of aggressiveness <SPAN
 CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >and have no
-     influence on your browsing unless you select them explicitly in the
-     editor</I
+    influence on your browsing unless you select them explicitly in the
+    editor</I
 ></SPAN
 >. A default installation should be pre-set to 
-     <TT
+    <TT
 CLASS="LITERAL"
 >Cautious</TT
-> (versions prior to 3.0.5 were set to
-     <TT
-CLASS="LITERAL"
->Medium</TT
->). New users should try this for a while before
-     adjusting the settings to more aggressive levels. The more aggressive 
-     the settings, then the more likelihood there is of problems such as sites 
-     not working as they should.
-     </P
+>. New users should try this for a while before
+    adjusting the settings to more aggressive levels. The more aggressive 
+    the settings, then the more likelihood there is of problems such as sites 
+    not working as they should.
+   </P
 ><P
->      The <SPAN
+>    The <SPAN
 CLASS="GUIBUTTON"
 >Edit</SPAN
 > button allows you to turn each 
-      action on/off individually for fine-tuning. The <SPAN
+    action on/off individually for fine-tuning. The <SPAN
 CLASS="GUIBUTTON"
 >Cautious</SPAN
 >
-      button changes the actions list to low/safe settings which will activate 
-      ad blocking and a minimal set of <SPAN
+    button changes the actions list to low/safe settings which will activate 
+    ad blocking and a minimal set of <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
 >'s features, and subsequently
-      there will be less of a chance for accidental problems. The
-      <SPAN
+    there will be less of a chance for accidental problems. The
+    <SPAN
 CLASS="GUIBUTTON"
 >Medium</SPAN
 > button sets the list to a medium level of
-      other features and a low level set of privacy features. The
-      <SPAN
+    other features and a low level set of privacy features. The
+    <SPAN
 CLASS="GUIBUTTON"
 >Advanced</SPAN
 > button sets the list to a high level of
-      ad blocking and medium level of privacy. See the chart below. The latter
-      three buttons over-ride any changes via with the
-      <SPAN
+    ad blocking and medium level of privacy. See the chart below. The latter
+    three buttons over-ride any changes via with the
+    <SPAN
 CLASS="GUIBUTTON"
 >Edit</SPAN
 > button. More fine-tuning can be done in the
-      lower sections of this internal page.
-     </P
+    lower sections of this internal page.
+   </P
 ><P
->     It is not recommend to edit the <TT
-CLASS="FILENAME"
->standard.action</TT
-> file
-     itself.
-    </P
+>    While the actions file editor allows to enable these settings in all
+    actions files, they are only supposed to be enabled in the first one
+    to make sure you don't unintentionally overrule earlier rules.
+   </P
 ><P
->     The default profiles, and their associated actions, as pre-defined in
-     <TT
+>    The default profiles, and their associated actions, as pre-defined in
+    <TT
 CLASS="FILENAME"
->standard.action</TT
+>default.action</TT
 > are:
-    </P
+   </P
 ><P
 >    <DIV
 CLASS="TABLE"
 ><A
-NAME="AEN2158"
+NAME="AEN2534"
 ></A
 ><P
 ><B
@@ -417,7 +391,7 @@ TITLE="C4"><THEAD
 ><TD
 >no</TD
 ><TD
->no</TD
+>yes</TD
 ><TD
 >yes</TD
 ></TR
@@ -428,8 +402,7 @@ TITLE="C4"><THEAD
     </P
 ></LI
 ></UL
->
- </P
+></P
 ><P
 > The list of actions files to be used are defined in the main configuration 
  file, and are processed in the order they are defined (e.g.
@@ -528,7 +501,7 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN2257"
+NAME="AEN2633"
 >8.1. Finding the Right Mix</A
 ></H2
 ><P
@@ -563,7 +536,7 @@ CLASS="SECT2"
 ><H2
 CLASS="SECT2"
 ><A
-NAME="AEN2264"
+NAME="AEN2640"
 >8.2. How to Edit</A
 ></H2
 ><P
@@ -677,7 +650,7 @@ CLASS="LITERAL"
 >handle-as-image</TT
 >  +<TT
 CLASS="LITERAL"
->block</TT
+>block{Banner ads.}</TT
 > }
   # Block these as if they were images. Send no block page.
    banners.example.com
@@ -741,44 +714,61 @@ CLASS="EMPHASIS"
 > Generally, an URL pattern has the form
  <TT
 CLASS="LITERAL"
->&#60;domain&#62;/&#60;path&#62;</TT
->, where both the
+>&#60;domain&#62;&#60;port&#62;/&#60;path&#62;</TT
+>, where the
  <TT
 CLASS="LITERAL"
 >&#60;domain&#62;</TT
-> and <TT
+>, the <TT
+CLASS="LITERAL"
+>&#60;port&#62;</TT
+>
+ and the <TT
 CLASS="LITERAL"
 >&#60;path&#62;</TT
-> are
optional. (This is why the special <TT
+> are optional. (This is why the special
+ <TT
 CLASS="LITERAL"
 >/</TT
-> pattern matches all
- URLs). Note that the protocol portion of the URL pattern (e.g.
- <TT
+> pattern matches all URLs). Note that the protocol
+ portion of the URL pattern (e.g. <TT
 CLASS="LITERAL"
 >http://</TT
->) should <SPAN
+>) should
+ <SPAN
 CLASS="emphasis"
 ><I
 CLASS="EMPHASIS"
 >not</I
 ></SPAN
-> be included in
- the pattern. This is assumed already!</P
+> be included in the pattern. This is assumed already!</P
 ><P
 > The pattern matching syntax is different for the domain and path parts of
  the URL. The domain part uses a simple globbing type matching technique, 
- while the path part uses more flexible 
+ while the path part uses more flexible 
  <A
 HREF="http://en.wikipedia.org/wiki/Regular_expressions"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 >"Regular
-  Expressions (PCRE)"</SPAN
+  Expressions"</SPAN
 ></A
-> based syntax.</P
+> (POSIX 1003.2).</P
+><P
+> The port part of a pattern is a decimal port number preceded by a colon
+ (<TT
+CLASS="LITERAL"
+>:</TT
+>). If the domain part contains a numerical IPv6 address,
+ it has to be put into angle brackets
+ (<TT
+CLASS="LITERAL"
+>&#60;</TT
+>, <TT
+CLASS="LITERAL"
+>&#62;</TT
+>).</P
 ><P
 ></P
 ><DIV
@@ -820,7 +810,7 @@ CLASS="LITERAL"
 ><DT
 ><TT
 CLASS="LITERAL"
->www.example.com/index.html$</TT
+>www.example.com/index.html</TT
 ></DT
 ><DD
 ><P
@@ -874,6 +864,41 @@ CLASS="EMPHASIS"
 ><DT
 ><TT
 CLASS="LITERAL"
+>/</TT
+></DT
+><DD
+><P
+>    Matches any URL because there's no requirement for either the
+    domain or the path to match anything.
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>:8000/</TT
+></DT
+><DD
+><P
+>    Matches any URL pointing to TCP port 8000.
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
+>&#60;2001:db8::1&#62;/</TT
+></DT
+><DD
+><P
+>    Matches any URL with the host address <TT
+CLASS="LITERAL"
+>2001:db8::1</TT
+>.
+    (Note that the real URL uses plain brackets, not angle brackets.)
+   </P
+></DD
+><DT
+><TT
+CLASS="LITERAL"
 >index.html</TT
 ></DT
 ><DD
@@ -893,7 +918,7 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN2355"
+NAME="AEN2752"
 >8.4.1. The Domain Pattern</A
 ></H3
 ><P
@@ -912,17 +937,29 @@ CLASS="LITERAL"
 ></DT
 ><DD
 ><P
->    matches any domain that <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->ENDS</I
-></SPAN
-> in
-    <TT
+>    matches any domain with first-level domain <TT
 CLASS="LITERAL"
->.example.com</TT
+>com</TT
 >
+    and second-level domain <TT
+CLASS="LITERAL"
+>example</TT
+>.
+    For example <TT
+CLASS="LITERAL"
+>www.example.com</TT
+>,
+    <TT
+CLASS="LITERAL"
+>example.com</TT
+> and <TT
+CLASS="LITERAL"
+>foo.bar.baz.example.com</TT
+>.
+    Note that it wouldn't match if the second-level domain was <TT
+CLASS="LITERAL"
+>another-example</TT
+>.
    </P
 ></DD
 ><DT
@@ -942,7 +979,11 @@ CLASS="EMPHASIS"
     <TT
 CLASS="LITERAL"
 >www.</TT
->
+> (It also matches the domain
+    <TT
+CLASS="LITERAL"
+>www</TT
+> but most of the time that doesn't matter.)
    </P
 ></DD
 ><DT
@@ -1117,49 +1158,37 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN2426"
+NAME="AEN2828"
 >8.4.2. The Path Pattern</A
 ></H3
 ><P
 > <SPAN
 CLASS="APPLICATION"
 >Privoxy</SPAN
-> uses Perl compatible (PCRE)
+> uses <SPAN
+CLASS="QUOTE"
+>"modern"</SPAN
+> POSIX 1003.2
   <A
 HREF="http://en.wikipedia.org/wiki/Regular_expressions"
 TARGET="_top"
 ><SPAN
 CLASS="QUOTE"
 >"Regular
-  Expression"</SPAN
+  Expressions"</SPAN
 ></A
-> based syntax 
- (through the <A
-HREF="http://www.pcre.org/"
-TARGET="_top"
->PCRE</A
-> library) for
- matching the path portion (after the slash), and is thus more flexible.</P
+> for matching the path portion (after the slash),
+  and is thus more flexible.</P
 ><P
 > There is an <A
 HREF="appendix.html#REGEX"
 >Appendix</A
 > with a brief quick-start into regular
- expressions, and full (very technical) documentation on PCRE regex syntax is available on-line
- at <A
-HREF="http://www.pcre.org/man.txt"
-TARGET="_top"
->http://www.pcre.org/man.txt</A
->.
- You might also find the Perl man page on regular expressions (<TT
+ expressions, you also might want to have a look at your operating system's documentation
+ on regular expressions (try <TT
 CLASS="LITERAL"
->man perlre</TT
->)
- useful, which is available on-line at <A
-HREF="http://perldoc.perl.org/perlre.html"
-TARGET="_top"
->http://perldoc.perl.org/perlre.html</A
->.</P
+>man re_format</TT
+>).</P
 ><P
 > Note that the path pattern is automatically left-anchored at the <SPAN
 CLASS="QUOTE"
@@ -1548,7 +1577,7 @@ CLASS="REPLACEABLE"
 >  
    Example: <TT
 CLASS="LITERAL"
->+block</TT
+>+handle-as-image</TT
 >
   </P
 ></LI
@@ -1792,6 +1821,9 @@ CLASS="QUOTE"
 > are, you definitely don't need to worry about this 
     one.
    </P
+><P
+>    Headers added by this action are not modified by other actions.
+   </P
 ></DD
 ><DT
 >Example usage:</DT
@@ -1872,13 +1904,13 @@ HREF="actions-file.html#HANDLE-AS-EMPTY-DOCUMENT"
 >Type:</DT
 ><DD
 ><P
->Boolean.</P
+>Parameterized.</P
 ></DD
 ><DT
 >Parameter:</DT
 ><DD
 ><P
->N/A</P
+>A block reason that should be given to the user.</P
 ></DD
 ><DT
 >Notes:</DT
@@ -1891,27 +1923,10 @@ CLASS="APPLICATION"
 CLASS="QUOTE"
 >"BLOCKED"</SPAN
 > page
-    for requests to blocked pages. This page contains links to find out why the request
-    was blocked, and a click-through to the blocked content (the latter only if compiled with the
-    force feature enabled). The <SPAN
-CLASS="QUOTE"
->"BLOCKED"</SPAN
-> page adapts to the available
-    screen space -- it displays full-blown if space allows, or miniaturized and text-only
-    if loaded into a small frame or window. If you are using <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->
-    right now, you can take a look at the 
-    <A
-HREF="http://ads.bannerserver.example.com/nasty-ads/sponsor.html"
-TARGET="_top"
-><SPAN
-CLASS="QUOTE"
->"BLOCKED"</SPAN
->
-    page</A
->.
+    for requests to blocked pages. This page contains the block reason given as
+    parameter, a link to find out why the block action applies, and a click-through
+    to the blocked content (the latter only if the force feature is available and
+    enabled).
    </P
 ><P
 > 
@@ -1981,18 +1996,18 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->{+block}      
+>{+block{No nasty stuff for you.}}
 # Block and replace with "blocked" page
  .nasty-stuff.example.com
 
-{+block +handle-as-image} 
+{+block{Doubleclick banners.} +handle-as-image} 
 # Block and replace with image
  .ad.doubleclick.net
  .ads.r.us/banners/
 
-{+block +handle-as-empty-document} 
+{+block{Layered ads.} +handle-as-empty-document} 
 # Block and then ignore
- adserver.exampleclick.net/.*\.js$</PRE
+ adserver.example.net/.*\.js$</PRE
 ></TD
 ></TR
 ></TABLE
@@ -2007,8 +2022,104 @@ CLASS="SECT3"
 ><H4
 CLASS="SECT3"
 ><A
+NAME="CHANGE-X-FORWARDED-FOR"
+>8.5.3. change-x-forwarded-for</A
+></H4
+><P
+></P
+><DIV
+CLASS="VARIABLELIST"
+><DL
+><DT
+>Typical use:</DT
+><DD
+><P
+>Improve privacy by not forwarding the source of the request in the HTTP headers.</P
+></DD
+><DT
+>Effect:</DT
+><DD
+><P
+>    Deletes the <SPAN
+CLASS="QUOTE"
+>"X-Forwarded-For:"</SPAN
+> HTTP header from the client request,
+    or adds a new one.
+   </P
+></DD
+><DT
+>Type:</DT
+><DD
+><P
+>Parameterized.</P
+></DD
+><DT
+>Parameter:</DT
+><DD
+><P
+></P
+><UL
+><LI
+><P
+><SPAN
+CLASS="QUOTE"
+>"block"</SPAN
+> to delete the header.</P
+></LI
+><LI
+><P
+>       <SPAN
+CLASS="QUOTE"
+>"add"</SPAN
+> to create the header (or append
+       the client's IP address to an already existing one).
+     </P
+></LI
+></UL
+></DD
+><DT
+>Notes:</DT
+><DD
+><P
+>    It is safe and recommended to use <TT
+CLASS="LITERAL"
+>block</TT
+>.
+   </P
+><P
+>    Forwarding the source address of the request may make
+    sense in some multi-user setups but is also a privacy risk.
+   </P
+></DD
+><DT
+>Example usage:</DT
+><DD
+><P
+>     <TABLE
+BORDER="0"
+BGCOLOR="#E0E0E0"
+WIDTH="90%"
+><TR
+><TD
+><PRE
+CLASS="SCREEN"
+>+change-x-forwarded-for{block}</PRE
+></TD
+></TR
+></TABLE
+>
+   </P
+></DD
+></DL
+></DIV
+></DIV
+><DIV
+CLASS="SECT3"
+><H4
+CLASS="SECT3"
+><A
 NAME="CLIENT-HEADER-FILTER"
->8.5.3. client-header-filter</A
+>8.5.4. client-header-filter</A
 ></H4
 ><P
 ></P
@@ -2061,6 +2172,14 @@ HREF="filter-file.html"
     and use their output as input.
    </P
 ><P
+>    If the request URL gets changed, <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> will detect that and use the new
+    one. This can be used to rewrite the request destination behind the client's
+    back, for example to specify a Tor exit relay for certain requests.
+   </P
+><P
 >    Please refer to the <A
 HREF="filter-file.html"
 >filter file chapter</A
@@ -2081,8 +2200,9 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->{+client-header-filter{hide-tor-exit-notation}}
-.exit/
+># Hide Tor exit notation in Host and Referer Headers
+{+client-header-filter{hide-tor-exit-notation}}
+/
     </PRE
 ></TD
 ></TR
@@ -2099,7 +2219,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="CLIENT-HEADER-TAGGER"
->8.5.4. client-header-tagger</A
+>8.5.5. client-header-tagger</A
 ></H4
 ><P
 ></P
@@ -2170,6 +2290,25 @@ CLASS="SCREEN"
 ># Tag every request with the User-Agent header
 {+client-header-tagger{user-agent}}
 /
+
+# Tagging itself doesn't change the action
+# settings, sections with TAG patterns do:
+#
+# If it's a download agent, use a different forwarding proxy,
+# show the real User-Agent and make sure resume works.
+{+forward-override{forward-socks5 10.0.0.2:2222 .} \
+ -hide-if-modified-since      \
+ -overwrite-last-modified     \
+ -hide-user-agent             \
+ -filter                      \
+ -deanimate-gifs              \
+}
+TAG:^User-Agent: NetBSD-ftp/
+TAG:^User-Agent: Novell ZYPP Installer
+TAG:^User-Agent: RPM APT-HTTP/
+TAG:^User-Agent: fetch libfetch/
+TAG:^User-Agent: Ubuntu APT-HTTP/
+TAG:^User-Agent: MPlayer/
     </PRE
 ></TD
 ></TR
@@ -2186,7 +2325,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="CONTENT-TYPE-OVERWRITE"
->8.5.5. content-type-overwrite</A
+>8.5.6. content-type-overwrite</A
 ></H4
 ><P
 ></P
@@ -2348,7 +2487,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="CRUNCH-CLIENT-HEADER"
->8.5.6. crunch-client-header</A
+>8.5.7. crunch-client-header</A
 ></H4
 ><P
 ></P
@@ -2482,7 +2621,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="CRUNCH-IF-NONE-MATCH"
->8.5.7. crunch-if-none-match</A
+>8.5.8. crunch-if-none-match</A
 ></H4
 ><P
 ></P
@@ -2600,7 +2739,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="CRUNCH-INCOMING-COOKIES"
->8.5.8. crunch-incoming-cookies</A
+>8.5.9. crunch-incoming-cookies</A
 ></H4
 ><P
 ></P
@@ -2723,7 +2862,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="CRUNCH-SERVER-HEADER"
->8.5.9. crunch-server-header</A
+>8.5.10. crunch-server-header</A
 ></H4
 ><P
 ></P
@@ -2855,7 +2994,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="CRUNCH-OUTGOING-COOKIES"
->8.5.10. crunch-outgoing-cookies</A
+>8.5.11. crunch-outgoing-cookies</A
 ></H4
 ><P
 ></P
@@ -2971,7 +3110,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="DEANIMATE-GIFS"
->8.5.11. deanimate-gifs</A
+>8.5.12. deanimate-gifs</A
 ></H4
 ><P
 ></P
@@ -3061,7 +3200,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="DOWNGRADE-HTTP-VERSION"
->8.5.12. downgrade-http-version</A
+>8.5.13. downgrade-http-version</A
 ></H4
 ><P
 ></P
@@ -3137,7 +3276,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FAST-REDIRECTS"
->8.5.13. fast-redirects</A
+>8.5.14. fast-redirects</A
 ></H4
 ><P
 ></P
@@ -3319,7 +3458,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FILTER"
->8.5.14. filter</A
+>8.5.15. filter</A
 ></H4
 ><P
 ></P
@@ -3405,9 +3544,10 @@ CLASS="EMPHASIS"
 ><P
 >    Filtering requires buffering the page content, which may appear to
     slow down page rendering since nothing is displayed until all content has
-    passed the filters. (It does not really take longer, but seems that way
-    since the page is not incrementally displayed.) This effect will be more
-    noticeable on slower connections.
+    passed the filters. (The total time until the page is completely rendered
+    doesn't change much, but it may be perceived as slower since the page is
+    not incrementally displayed.)
+    This effect will be more noticeable on slower connections.
    </P
 ><P
 >   <SPAN
@@ -3556,7 +3696,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{js-annoyances}       # Get rid of particularly annoying JavaScript abuse</PRE
+>+filter{js-annoyances}       # Get rid of particularly annoying JavaScript abuse.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3575,7 +3715,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{js-events}           # Kill all JS event bindings (Radically destructive! Only for extra nasty sites)</PRE
+>+filter{js-events}           # Kill all JS event bindings and timers (Radically destructive! Only for extra nasty sites).</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3594,7 +3734,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{html-annoyances}     # Get rid of particularly annoying HTML abuse</PRE
+>+filter{html-annoyances}     # Get rid of particularly annoying HTML abuse.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3613,7 +3753,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{content-cookies}     # Kill cookies that come in the HTML or JS content</PRE
+>+filter{content-cookies}     # Kill cookies that come in the HTML or JS content.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3632,7 +3772,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{refresh-tags}        # Kill automatic refresh tags (for dial-on-demand setups)</PRE
+>+filter{refresh-tags}        # Kill automatic refresh tags (for dial-on-demand setups).</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3689,7 +3829,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{img-reorder}         # Reorder attributes in &#60;img&#62; tags to make the banners-by-* filters more effective</PRE
+>+filter{img-reorder}         # Reorder attributes in &#60;img&#62; tags to make the banners-by-* filters more effective.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3708,7 +3848,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{banners-by-size}     # Kill banners by size</PRE
+>+filter{banners-by-size}     # Kill banners by size.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3727,7 +3867,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{banners-by-link}     # Kill banners by their links to known clicktrackers</PRE
+>+filter{banners-by-link}     # Kill banners by their links to known clicktrackers.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3746,7 +3886,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{webbugs}             # Squish WebBugs (1x1 invisible GIFs used for user tracking)</PRE
+>+filter{webbugs}             # Squish WebBugs (1x1 invisible GIFs used for user tracking).</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3765,7 +3905,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{tiny-textforms}      # Extend those tiny textareas up to 40x80 and kill the hard wrap</PRE
+>+filter{tiny-textforms}      # Extend those tiny textareas up to 40x80 and kill the hard wrap.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3784,7 +3924,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{jumping-windows}     # Prevent windows from resizing and moving themselves</PRE
+>+filter{jumping-windows}     # Prevent windows from resizing and moving themselves.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3803,7 +3943,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{frameset-borders}    # Give frames a border and make them resizeable</PRE
+>+filter{frameset-borders}    # Give frames a border and make them resizable.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3822,7 +3962,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{demoronizer}         # Fix MS's non-standard use of standard charsets</PRE
+>+filter{demoronizer}         # Fix MS's non-standard use of standard charsets.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3841,7 +3981,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{shockwave-flash}     # Kill embedded Shockwave Flash objects</PRE
+>+filter{shockwave-flash}     # Kill embedded Shockwave Flash objects.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3860,7 +4000,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{quicktime-kioskmode} # Make Quicktime movies savable</PRE
+>+filter{quicktime-kioskmode} # Make Quicktime movies saveable.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3898,7 +4038,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{crude-parental}      # Crude parental filtering (demo only)</PRE
+>+filter{crude-parental}      # Crude parental filtering. Note that this filter doesn't work reliably.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3917,7 +4057,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{ie-exploits}         # Disable a known Internet Explorer bug exploits</PRE
+>+filter{ie-exploits}         # Disable some known Internet Explorer bug exploits.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3936,7 +4076,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{site-specifics}      # Custom filters for specific site related problems</PRE
+>+filter{site-specifics}      # Cure for site-specific problems. Don't apply generally!</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3944,7 +4084,7 @@ CLASS="SCREEN"
    </P
 ><P
 >    <A
-NAME="FILTER-GOOGLE"
+NAME="FILTER-NO-PING"
 ></A
 >
     <TABLE
@@ -3955,7 +4095,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{google}              # Removes text ads and other Google specific improvements</PRE
+>+filter{no-ping}             # Removes non-standard ping attributes in &#60;a&#62; and &#60;area&#62; tags.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3963,7 +4103,7 @@ CLASS="SCREEN"
    </P
 ><P
 >    <A
-NAME="FILTER-YAHOO"
+NAME="FILTER-GOOGLE"
 ></A
 >
     <TABLE
@@ -3974,7 +4114,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{yahoo}               # Removes text ads and other Yahoo specific improvements</PRE
+>+filter{google}              # CSS-based block for Google text ads. Also removes a width limitation and the toolbar advertisement.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -3982,7 +4122,7 @@ CLASS="SCREEN"
    </P
 ><P
 >    <A
-NAME="FILTER-MSN"
+NAME="FILTER-YAHOO"
 ></A
 >
     <TABLE
@@ -3993,7 +4133,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{msn}                 # Removes text ads and other MSN specific improvements</PRE
+>+filter{yahoo}               # CSS-based block for Yahoo text ads. Also removes a width limitation.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -4001,7 +4141,7 @@ CLASS="SCREEN"
    </P
 ><P
 >    <A
-NAME="FILTER-BLOGSPOT"
+NAME="FILTER-MSN"
 ></A
 >
     <TABLE
@@ -4012,7 +4152,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{blogspot}            # Cleans up Blogspot blogs</PRE
+>+filter{msn}                 # CSS-based block for MSN text ads. Also removes tracking URLs and a width limitation.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -4020,7 +4160,7 @@ CLASS="SCREEN"
    </P
 ><P
 >    <A
-NAME="FILTER-NO-PING"
+NAME="FILTER-BLOGSPOT"
 ></A
 >
     <TABLE
@@ -4031,7 +4171,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+filter{no-ping}             # Removes non-standard ping attributes from anchor and area tags</PRE
+>+filter{blogspot}            # Cleans up some Blogspot blogs. Read the fine print before using this.</PRE
 ></TD
 ></TR
 ></TABLE
@@ -4047,7 +4187,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FORCE-TEXT-MODE"
->8.5.15. force-text-mode</A
+>8.5.16. force-text-mode</A
 ></H4
 ><P
 ></P
@@ -4180,7 +4320,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="FORWARD-OVERRIDE"
->8.5.16. forward-override</A
+>8.5.17. forward-override</A
 ></H4
 ><P
 ></P
@@ -4240,7 +4380,11 @@ CLASS="QUOTE"
 CLASS="QUOTE"
 >"forward-socks4"</SPAN
 >
-      to use a socks4 connection  (with local DNS resolution) instead.
+      to use a socks4 connection  (with local DNS resolution) instead, use <SPAN
+CLASS="QUOTE"
+>"forward-socks5"</SPAN
+>
+      for socks5 connections (with remote DNS resolution).
      </P
 ></LI
 ><LI
@@ -4257,7 +4401,11 @@ CLASS="QUOTE"
 CLASS="QUOTE"
 >"forward-socks4"</SPAN
 > to use a socks4 connection
-      (with local DNS resolution) instead.
+      (with local DNS resolution) instead, use <SPAN
+CLASS="QUOTE"
+>"forward-socks5"</SPAN
+>
+      for socks5 connections (with remote DNS resolution).
      </P
 ></LI
 ></UL
@@ -4266,7 +4414,7 @@ CLASS="QUOTE"
 >Notes:</DT
 ><DD
 ><P
->    This action takes parameters similar to the 
+>    This action takes parameters similar to the
     <A
 HREF="config.html#FORWARDING"
 >forward</A
@@ -4339,6 +4487,8 @@ CLASS="QUOTE"
 # This way you can continue to use Tor for your normal browsing,
 # without overloading the Tor network with your FreeBSD ports updates
 # or downloads of bigger files like ISOs.
+# Note that HTTP headers are easy to fake and therefore their
+# values are as (un)trustworthy as your clients and users.
 {+forward-override{forward .} \
  -hide-if-modified-since      \
  -overwrite-last-modified     \
@@ -4360,7 +4510,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HANDLE-AS-EMPTY-DOCUMENT"
->8.5.17. handle-as-empty-document</A
+>8.5.18. handle-as-empty-document</A
 ></H4
 ><P
 ></P
@@ -4466,7 +4616,7 @@ WIDTH="90%"
 CLASS="SCREEN"
 ># Block all documents on example.org that end with ".js",
 # but send an empty document instead of the usual HTML message. 
-{+block +handle-as-empty-document}
+{+block{Blocked JavaScript} +handle-as-empty-document}
 example.org/.*\.js$
      </PRE
 ></TD
@@ -4484,7 +4634,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HANDLE-AS-IMAGE"
->8.5.18. handle-as-image</A
+>8.5.19. handle-as-image</A
 ></H4
 ><P
 ></P
@@ -4600,11 +4750,8 @@ CLASS="SCREEN"
 # These don't look like images, but they're banners and should be
 # blocked as images:
 #
-{+block +handle-as-image}
-some.nasty-banner-server.com/junk.cgi\?output=trash
-
-# Banner source! Who cares if they also have non-image content?
-ad.doubleclick.net </PRE
+{+block{Nasty banners.} +handle-as-image}
+nasty-banner-server.example.com/junk.cgi\?output=trash</PRE
 ></TD
 ></TR
 ></TABLE
@@ -4620,7 +4767,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HIDE-ACCEPT-LANGUAGE"
->8.5.19. hide-accept-language</A
+>8.5.20. hide-accept-language</A
 ></H4
 ><P
 ></P
@@ -4737,7 +4884,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HIDE-CONTENT-DISPOSITION"
->8.5.20. hide-content-disposition</A
+>8.5.21. hide-content-disposition</A
 ></H4
 ><P
 ></P
@@ -4858,7 +5005,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="HIDE-IF-MODIFIED-SINCE"
->8.5.21. hide-if-modified-since</A
+>8.5.22. hide-if-modified-since</A
 ></H4
 ><P
 ></P
@@ -4926,8 +5073,8 @@ CLASS="APPLICATION"
 CLASS="QUOTE"
 >"If-Modified-Since:"</SPAN
 > makes
-    sure it isn't used as a cookie replacement, but you will run into
-    caching problems if the random range is too high.  
+    it less likely that the server can use the time as a cookie replacement,
+    but you will run into caching problems if the random range is too high.
    </P
 ><P
 >    It is a good idea to only use a small negative value and let
@@ -4948,7 +5095,8 @@ CLASS="LITERAL"
 HREF="actions-file.html#CRUNCH-IF-NONE-MATCH"
 >crunch-if-none-match</A
 ></TT
->.
+>,
+    otherwise it's more or less pointless.
    </P
 ></DD
 ><DT
@@ -4963,8 +5111,8 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
-># Let the browser revalidate without being tracked across sessions
-{ +hide-if-modified-since{-60} \
+># Let the browser revalidate but make tracking based on the time less likely.
+{+hide-if-modified-since{-60} \
  +overwrite-last-modified{randomize} \
  +crunch-if-none-match}
 /</PRE
@@ -4982,78 +5130,6 @@ CLASS="SECT3"
 ><H4
 CLASS="SECT3"
 ><A
-NAME="HIDE-FORWARDED-FOR-HEADERS"
->8.5.22. hide-forwarded-for-headers</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Typical use:</DT
-><DD
-><P
->Improve privacy by not embedding the source of the request in the HTTP headers.</P
-></DD
-><DT
->Effect:</DT
-><DD
-><P
->    Deletes any existing <SPAN
-CLASS="QUOTE"
->"X-Forwarded-for:"</SPAN
-> HTTP header from client requests,
-    and prevents adding a new one.
-   </P
-></DD
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Parameter:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    It is safe to leave this on.
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
->     <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->+hide-forwarded-for-headers</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H4
-CLASS="SECT3"
-><A
 NAME="HIDE-FROM-HEADER"
 >8.5.23. hide-from-header</A
 ></H4
@@ -5216,6 +5292,13 @@ CLASS="QUOTE"
 ><P
 ><SPAN
 CLASS="QUOTE"
+>"conditional-forge"</SPAN
+> to forge the header if the host has changed.</P
+></LI
+><LI
+><P
+><SPAN
+CLASS="QUOTE"
 >"block"</SPAN
 > to delete the header unconditionally.</P
 ></LI
@@ -5258,7 +5341,7 @@ CLASS="QUOTE"
 ><P
 >    Always blocking the referrer, or using a custom one, can lead to
     failures on servers that check the referrer before they answer any
-    requests, in an attempt to prevent their valuable content from being
+    requests, in an attempt to prevent their content from being
     embedded or linked to elsewhere.
    </P
 ><P
@@ -5345,7 +5428,7 @@ CLASS="VARIABLELIST"
 >Typical use:</DT
 ><DD
 ><P
->Conceal your type of browser and client operating system</P
+>Try to conceal your type of browser and client operating system</P
 ></DD
 ><DT
 >Effect:</DT
@@ -5403,7 +5486,6 @@ CLASS="EMPHASIS"
 ></SPAN
 > the right thing to do: good web sites
      work browser-independently). 
-     
     </P
 ></TD
 ></TR
@@ -5479,8 +5561,8 @@ CLASS="SECT3"
 ><H4
 CLASS="SECT3"
 ><A
-NAME="INSPECT-JPEGS"
->8.5.26. inspect-jpegs</A
+NAME="LIMIT-CONNECT"
+>8.5.26. limit-connect</A
 ></H4
 ><P
 ></P
@@ -5491,50 +5573,77 @@ CLASS="VARIABLELIST"
 >Typical use:</DT
 ><DD
 ><P
->To protect against the MS buffer over-run in JPEG processing</P
+>Prevent abuse of <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> as a TCP proxy relay or disable SSL for untrusted sites</P
 ></DD
 ><DT
 >Effect:</DT
 ><DD
 ><P
->    Protect against a known exploit
+>    Specifies to which ports HTTP CONNECT requests are allowable.
    </P
 ></DD
 ><DT
 >Type:</DT
 ><DD
 ><P
->Boolean.</P
+>Parameterized.</P
 ></DD
 ><DT
 >Parameter:</DT
 ><DD
 ><P
->    N/A
+>    A comma-separated list of ports or port ranges (the latter using dashes, with the minimum
+    defaulting to 0 and the maximum to 65K).
    </P
 ></DD
 ><DT
 >Notes:</DT
 ><DD
 ><P
->    See Microsoft Security Bulletin MS04-028. JPEG images are one of the most 
-    common image types found across the Internet. The exploit as described can 
-    allow execution of code on the target system, giving an attacker access 
-    to the system in question by merely planting an altered JPEG image, which 
-    would have no obvious indications of what lurks inside. This action
-    prevents this exploit.
+>    By default, i.e. if no <TT
+CLASS="LITERAL"
+>limit-connect</TT
+> action applies,
+    <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> allows HTTP CONNECT requests to all
+    ports. Use <TT
+CLASS="LITERAL"
+>limit-connect</TT
+> if fine-grained control
+    is desired for some or all destinations.
    </P
 ><P
->    Note that the described exploit is only one of many,
-    using this action does not mean that you no longer
-    have to patch the client.
-   </P
+>    The CONNECT methods exists in HTTP to allow access to secure websites
+    (<SPAN
+CLASS="QUOTE"
+>"https://"</SPAN
+> URLs) through proxies. It works very simply:
+    the proxy connects to the server on the specified port, and then
+    short-circuits its connections to the client and to the remote server.
+    This means CONNECT-enabled proxies can be used as TCP relays very easily.
+  </P
+><P
+>   <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> relays HTTPS traffic without seeing
+   the decoded content. Websites can leverage this limitation to circumvent <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+>'s
+   filters. By specifying an invalid port range you can disable HTTPS entirely.
+  </P
 ></DD
 ><DT
->Example usage:</DT
+>Example usages:</DT
 ><DD
 ><P
-><TABLE
+>     <TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5542,11 +5651,16 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+inspect-jpegs</PRE
+>+limit-connect{443}                   # Port 443 is OK.
++limit-connect{80,443}                # Ports 80 and 443 are OK.
++limit-connect{-3, 7, 20-100, 500-}   # Ports less than 3, 7, 20 to 100 and above 500 are OK.
++limit-connect{-}                     # All ports are OK
++limit-connect{,}                     # No HTTPS/SSL traffic is allowed</PRE
 ></TD
 ></TR
 ></TABLE
-></P
+>
+   </P
 ></DD
 ></DL
 ></DIV
@@ -5556,11 +5670,8 @@ CLASS="SECT3"
 ><H4
 CLASS="SECT3"
 ><A
-NAME="KILL-POPUPS"
->8.5.27. kill-popups<A
-NAME="KILL-POPUP"
-></A
-></A
+NAME="PREVENT-COMPRESSION"
+>8.5.27. prevent-compression</A
 ></H4
 ><P
 ></P
@@ -5571,14 +5682,21 @@ CLASS="VARIABLELIST"
 >Typical use:</DT
 ><DD
 ><P
->Eliminate those annoying pop-up windows (deprecated)</P
+>    Ensure that servers send the content uncompressed, so it can be
+    passed through <TT
+CLASS="LITERAL"
+><A
+HREF="actions-file.html#FILTER"
+>filter</A
+></TT
+>s.
+   </P
 ></DD
 ><DT
 >Effect:</DT
 ><DD
 ><P
->    While loading the document, replace JavaScript code that opens
-    pop-up windows with (syntactically neutral) dummy code on the fly.
+>    Removes the Accept-Encoding header which can be used to ask for compressed transfer.
    </P
 ></DD
 ><DT
@@ -5598,115 +5716,64 @@ CLASS="VARIABLELIST"
 >Notes:</DT
 ><DD
 ><P
->    This action is basically a built-in, hardwired special-purpose filter
-    action, but there are important differences: For <TT
-CLASS="LITERAL"
->kill-popups</TT
->,
-    the document need not be buffered, so it can be incrementally rendered while
-    downloading. But <TT
-CLASS="LITERAL"
->kill-popups</TT
-> doesn't catch as many pop-ups as
-    <TT
+>    More and more websites send their content compressed by default, which
+    is generally a good idea and saves bandwidth. But the <TT
 CLASS="LITERAL"
 ><A
-HREF="actions-file.html#FILTER-ALL-POPUPS"
->filter{<TT
-CLASS="REPLACEABLE"
-><I
->all-popups</I
-></TT
->}</A
+HREF="actions-file.html#FILTER"
+>filter</A
 ></TT
->
-    does and is not as smart as <TT
+> and
+    <TT
 CLASS="LITERAL"
 ><A
-HREF="actions-file.html#FILTER-UNSOLICITED-POPUPS"
->filter{<TT
-CLASS="REPLACEABLE"
-><I
->unsolicited-popups</I
+HREF="actions-file.html#DEANIMATE-GIFS"
+>deanimate-gifs</A
 ></TT
->}</A
 >
-    </TT
->is.
+    actions need access to the uncompressed data.
    </P
 ><P
->    Think of it as a fast and efficient replacement for a filter that you
-    can use if you don't want any filtering at all. Note that it doesn't make
-    sense to combine it with any <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#FILTER"
->filter</A
-></TT
-> action,
-    since as soon as one <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#FILTER"
->filter</A
-></TT
-> applies,
-    the whole document needs to be buffered anyway, which destroys the advantage of
-    the <TT
-CLASS="LITERAL"
->kill-popups</TT
-> action over its filter equivalent.
+>    When compiled with zlib support (available since <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> 3.0.7), content that should be
+    filtered is decompressed on-the-fly and you don't have to worry about this action.
+    If you are using an older <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> version, or one that hasn't been compiled with zlib
+    support, this action can be used to convince the server to send the content uncompressed.
    </P
 ><P
->    Killing all pop-ups unconditionally is problematic. Many shops and banks rely on
-    pop-ups to display forms, shopping carts etc, and the <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#FILTER-UNSOLICITED-POPUPS"
->filter{<TT
-CLASS="REPLACEABLE"
-><I
->unsolicited-popups</I
-></TT
->}</A
->
-    </TT
-> does a better job of catching only the unwanted ones.
+>    Most text-based instances compress very well, the size is seldom decreased by less than 50%,
+    for markup-heavy instances like news feeds saving more than 90% of the original size isn't
+    unusual. 
    </P
 ><P
->    If the only kind of pop-ups that you want to kill are exit consoles (those
-    <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->really nasty</I
-></SPAN
-> windows that appear when you close an other
-    one), you might want to use
-    <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#FILTER"
->filter</A
->{<TT
-CLASS="REPLACEABLE"
-><I
->js-annoyances</I
-></TT
->}</TT
->
-    instead. 
+>    Not using compression will therefore slow down the transfer, and you should only
+    enable this action if you really need it. As of <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> 3.0.7 it's disabled in all
+    predefined action settings.
    </P
 ><P
->    This action is most appropriate for browsers that don't have any controls 
-    for unwanted pop-ups. Not recommended for general usage.
+>    Note that some (rare) ill-configured sites don't handle requests for uncompressed
+    documents correctly. Broken PHP applications tend to send an empty document body,
+    some IIS versions only send the beginning of the content. If you enable
+    <TT
+CLASS="LITERAL"
+>prevent-compression</TT
+> per default, you might want to add
+    exceptions for those sites. See the example for how to do that.
    </P
 ></DD
 ><DT
->Example usage:</DT
+>Example usage (sections):</DT
 ><DD
 ><P
-><TABLE
+>    <TABLE
 BORDER="0"
 BGCOLOR="#E0E0E0"
 WIDTH="90%"
@@ -5714,11 +5781,28 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+kill-popups</PRE
+># Selectively turn off compression, and enable a filter
+#
+{ +filter{tiny-textforms} +prevent-compression }
+# Match only these sites
+ .google.
+ sourceforge.net
+ sf.net
+
+# Or instead, we could set a universal default:
+#
+{ +prevent-compression }
+ / # Match all sites
+
+# Then maybe make exceptions for broken sites:
+#
+{ -prevent-compression }
+.compusa.com/</PRE
 ></TD
 ></TR
 ></TABLE
-></P
+>
+   </P
 ></DD
 ></DL
 ></DIV
@@ -5728,8 +5812,8 @@ CLASS="SECT3"
 ><H4
 CLASS="SECT3"
 ><A
-NAME="LIMIT-CONNECT"
->8.5.28. limit-connect</A
+NAME="OVERWRITE-LAST-MODIFIED"
+>8.5.28. overwrite-last-modified</A
 ></H4
 ><P
 ></P
@@ -5740,275 +5824,7 @@ CLASS="VARIABLELIST"
 >Typical use:</DT
 ><DD
 ><P
->Prevent abuse of <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> as a TCP proxy relay or disable SSL for untrusted sites</P
-></DD
-><DT
->Effect:</DT
-><DD
-><P
->    Specifies to which ports HTTP CONNECT requests are allowable.
-   </P
-></DD
-><DT
->Type:</DT
-><DD
-><P
->Parameterized.</P
-></DD
-><DT
->Parameter:</DT
-><DD
-><P
->    A comma-separated list of ports or port ranges (the latter using dashes, with the minimum
-    defaulting to 0 and the maximum to 65K).
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    By default, i.e. if no <TT
-CLASS="LITERAL"
->limit-connect</TT
-> action applies,
-    <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> only allows HTTP CONNECT
-    requests to port 443 (the standard, secure HTTPS port). Use 
-    <TT
-CLASS="LITERAL"
->limit-connect</TT
-> if more fine-grained control is desired
-    for some or all destinations.
-   </P
-><P
->    The CONNECT methods exists in HTTP to allow access to secure websites
-    (<SPAN
-CLASS="QUOTE"
->"https://"</SPAN
-> URLs) through proxies. It works very simply:
-    the proxy connects to the server on the specified port, and then
-    short-circuits its connections to the client and to the remote server.
-    This can be a big security hole, since CONNECT-enabled proxies can be
-    abused as TCP relays very easily.
-  </P
-><P
->   <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> relays HTTPS traffic without seeing
-   the decoded content. Websites can leverage this limitation to circumvent <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
->'s
-   filters. By specifying an invalid port range you can disable HTTPS entirely.
-   If you plan to disable SSL by default, consider enabling 
-   <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#TREAT-FORBIDDEN-CONNECTS-LIKE-BLOCKS"
->treat-forbidden-connects-like-blocks</A
-></TT
->
-   as well, to be able to quickly create exceptions.
-  </P
-></DD
-><DT
->Example usages:</DT
-><DD
-><P
->     <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->+limit-connect{443}                   # This is the default and need not be specified.
-+limit-connect{80,443}                # Ports 80 and 443 are OK.
-+limit-connect{-3, 7, 20-100, 500-}   # Ports less than 3, 7, 20 to 100 and above 500 are OK.
-+limit-connect{-}                     # All ports are OK
-+limit-connect{,}                     # No HTTPS/SSL traffic is allowed</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H4
-CLASS="SECT3"
-><A
-NAME="PREVENT-COMPRESSION"
->8.5.29. prevent-compression</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Typical use:</DT
-><DD
-><P
->    Ensure that servers send the content uncompressed, so it can be
-    passed through <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#FILTER"
->filter</A
-></TT
->s.
-   </P
-></DD
-><DT
->Effect:</DT
-><DD
-><P
->    Removes the Accept-Encoding header which can be used to ask for compressed transfer.
-   </P
-></DD
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Parameter:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    More and more websites send their content compressed by default, which
-    is generally a good idea and saves bandwidth. But the <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#FILTER"
->filter</A
-></TT
->, <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#DEANIMATE-GIFS"
->deanimate-gifs</A
-></TT
->
-    and <TT
-CLASS="LITERAL"
-><A
-HREF="actions-file.html#KILL-POPUPS"
->kill-popups</A
-></TT
-> actions need
-    access to the uncompressed data.
-   </P
-><P
->    When compiled with zlib support (available since <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> 3.0.7), content that should be
-    filtered is decompressed on-the-fly and you don't have to worry about this action.
-    If you are using an older <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> version, or one that hasn't been compiled with zlib
-    support, this action can be used to convince the server to send the content uncompressed.
-   </P
-><P
->    Most text-based instances compress very well, the size is seldom decreased by less than 50%,
-    for markup-heavy instances like news feeds saving more than 90% of the original size isn't
-    unusual. 
-   </P
-><P
->    Not using compression will therefore slow down the transfer, and you should only
-    enable this action if you really need it. As of <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> 3.0.7 it's disabled in all
-    predefined action settings.
-   </P
-><P
->    Note that some (rare) ill-configured sites don't handle requests for uncompressed
-    documents correctly. Broken PHP applications tend to send an empty document body,
-    some IIS versions only send the beginning of the content. If you enable
-    <TT
-CLASS="LITERAL"
->prevent-compression</TT
-> per default, you might want to add
-    exceptions for those sites. See the example for how to do that.
-   </P
-></DD
-><DT
->Example usage (sections):</DT
-><DD
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
-># Selectively turn off compression, and enable a filter
-#
-{ +filter{tiny-textforms} +prevent-compression }
-# Match only these sites
- .google.
- sourceforge.net
- sf.net
-
-# Or instead, we could set a universal default:
-#
-{ +prevent-compression }
- / # Match all sites
-
-# Then maybe make exceptions for broken sites:
-#
-{ -prevent-compression }
-.compusa.com/</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H4
-CLASS="SECT3"
-><A
-NAME="OVERWRITE-LAST-MODIFIED"
->8.5.30. overwrite-last-modified</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Typical use:</DT
-><DD
-><P
->Prevent yet another way to track the user's steps between sessions.</P
+>Prevent yet another way to track the user's steps between sessions.</P
 ></DD
 ><DT
 >Effect:</DT
@@ -6092,7 +5908,7 @@ CLASS="QUOTE"
 CLASS="LITERAL"
 ><A
 HREF="actions-file.html#HIDE-IF-MODIFIED-SINCE"
->hided-if-modified-since</A
+>hide-if-modified-since</A
 ></TT
 >
     to further customize your random range.
@@ -6161,7 +5977,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="REDIRECT"
->8.5.31. redirect</A
+>8.5.29. redirect</A
 ></H4
 ><P
 ></P
@@ -6229,6 +6045,13 @@ HREF="actions-file.html#FAST-REDIRECTS"
     and be aware that using your own redirects might make it
     possible to fingerprint your requests.
    </P
+><P
+>    In case of problems with your redirects, or simply to watch
+    them working, enable <A
+HREF="config.html#DEBUG"
+>debug 128</A
+>.
+   </P
 ></DD
 ><DT
 >Example usages:</DT
@@ -6258,167 +6081,20 @@ CLASS="APPLICATION"
 # (Note the $ at the end of the URL pattern to make sure
 # the request for the rewritten URL isn't redirected as well)
 {+redirect{s@$@&#38;mode=expanded@}}
-undeadly.org/cgi\?action=article&#38;sid=\d*$</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H4
-CLASS="SECT3"
-><A
-NAME="SEND-VANILLA-WAFER"
->8.5.32. send-vanilla-wafer</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Typical use:</DT
-><DD
-><P
->    Feed log analysis scripts with useless data.
-   </P
-></DD
-><DT
->Effect:</DT
-><DD
-><P
->    Sends a cookie with each request stating that you do not accept any copyright
-    on cookies sent to you, and asking the site operator not to track you.
-   </P
-></DD
-><DT
->Type:</DT
-><DD
-><P
->Boolean.</P
-></DD
-><DT
->Parameter:</DT
-><DD
-><P
->    N/A
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    The vanilla wafer is a (relatively) unique header and could conceivably be used to track you.
-   </P
-><P
->    This action is rarely used and not enabled in the default configuration.
-   </P
-></DD
-><DT
->Example usage:</DT
-><DD
-><P
->     <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->+send-vanilla-wafer</PRE
-></TD
-></TR
-></TABLE
->
-   </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H4
-CLASS="SECT3"
-><A
-NAME="SEND-WAFER"
->8.5.33. send-wafer</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Typical use:</DT
-><DD
-><P
->    Send custom cookies or feed log analysis scripts with even more useless data.
-   </P
-></DD
-><DT
->Effect:</DT
-><DD
-><P
->    Sends a custom, user-defined cookie with each request.
-   </P
-></DD
-><DT
->Type:</DT
-><DD
-><P
->Multi-value.</P
-></DD
-><DT
->Parameter:</DT
-><DD
-><P
->    A string of the form <SPAN
-CLASS="QUOTE"
->"<TT
-CLASS="REPLACEABLE"
-><I
->name</I
-></TT
->=<TT
-CLASS="REPLACEABLE"
-><I
->value</I
-></TT
->"</SPAN
->.
-   </P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    Being multi-valued, multiple instances of this action can apply to the same request,
-    resulting in multiple cookies being sent.
-   </P
-><P
->    This action is rarely used and not enabled in the default configuration.
-   </P
-></DD
-><DT
->Example usage (section):</DT
-><DD
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->{+send-wafer{UsingPrivoxy=true}}
-my-internal-testing-server.void</PRE
+undeadly.org/cgi\?action=article&#38;sid=\d*$
+
+# Redirect Google search requests to MSN
+{+redirect{s@^http://[^/]*/search\?q=([^&#38;]*).*@http://search.msn.com/results.aspx?q=$1@}}
+.google.com/search
+
+# Redirect MSN search requests to Yahoo
+{+redirect{s@^http://[^/]*/results\.aspx\?q=([^&#38;]*).*@http://search.yahoo.com/search?p=$1@}}
+search.msn.com//results\.aspx\?q=
+
+# Redirect remote requests for this manual
+# to the local version delivered by Privoxy
+{+redirect{s@^http://www@http://config@}}
+www.privoxy.org/user-manual/</PRE
 ></TD
 ></TR
 ></TABLE
@@ -6434,7 +6110,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SERVER-HEADER-FILTER"
->8.5.34. server-header-filter</A
+>8.5.30. server-header-filter</A
 ></H4
 ><P
 ></P
@@ -6528,7 +6204,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SERVER-HEADER-TAGGER"
->8.5.35. server-header-tagger</A
+>8.5.31. server-header-tagger</A
 ></H4
 ><P
 ></P
@@ -6628,7 +6304,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SESSION-COOKIES-ONLY"
->8.5.36. session-cookies-only</A
+>8.5.32. session-cookies-only</A
 ></H4
 ><P
 ></P
@@ -6796,7 +6472,7 @@ CLASS="SECT3"
 CLASS="SECT3"
 ><A
 NAME="SET-IMAGE-BLOCKER"
->8.5.37. set-image-blocker</A
+>8.5.33. set-image-blocker</A
 ></H4
 ><P
 ></P
@@ -6990,27 +6666,9 @@ HREF="filter-file.html"
 ></DD
 ><DT
 >Example usage:</DT
-><DD
-><P
->    Built-in pattern:
-   </P
-><P
->    <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="90%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->+set-image-blocker{pattern}</PRE
-></TD
-></TR
-></TABLE
->
-   </P
+><DD
 ><P
->    Redirect to the BSD daemon:
+>    Built-in pattern:
    </P
 ><P
 >    <TABLE
@@ -7021,14 +6679,14 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+set-image-blocker{http://www.freebsd.org/gifs/dae_up3.gif}</PRE
+>+set-image-blocker{pattern}</PRE
 ></TD
 ></TR
 ></TABLE
 >
    </P
 ><P
->    Redirect to the built-in pattern for better caching:
+>    Redirect to the BSD daemon:
    </P
 ><P
 >    <TABLE
@@ -7039,107 +6697,15 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+set-image-blocker{http://config.privoxy.org/send-banner?type=pattern}</PRE
+>+set-image-blocker{http://www.freebsd.org/gifs/dae_up3.gif}</PRE
 ></TD
 ></TR
 ></TABLE
 >
    </P
-></DD
-></DL
-></DIV
-></DIV
-><DIV
-CLASS="SECT3"
-><H4
-CLASS="SECT3"
-><A
-NAME="TREAT-FORBIDDEN-CONNECTS-LIKE-BLOCKS"
->8.5.38. treat-forbidden-connects-like-blocks</A
-></H4
-><P
-></P
-><DIV
-CLASS="VARIABLELIST"
-><DL
-><DT
->Typical use:</DT
-><DD
-><P
->Block forbidden connects with an easy to find error message.</P
-></DD
-><DT
->Effect:</DT
-><DD
-><P
->    If this action is enabled, <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> no longer
-    makes a difference between forbidden connects and ordinary blocks. 
-   </P
-></DD
-><DT
->Type:</DT
-><DD
-><P
->Boolean</P
-></DD
-><DT
->Parameter:</DT
-><DD
-><P
->N/A</P
-></DD
-><DT
->Notes:</DT
-><DD
-><P
->    By default <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> answers
-    <A
-HREF="actions-file.html#LIMIT-CONNECT"
->forbidden <SPAN
-CLASS="QUOTE"
->"Connect"</SPAN
-> requests</A
->
-    with a short error message inside the headers. If the browser doesn't display
-    headers (most don't), you just see an empty page.
-   </P
-><P
->    With this action enabled, <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> 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 <SPAN
-CLASS="QUOTE"
->"See why"</SPAN
-> link.
-   </P
 ><P
->    For <SPAN
-CLASS="QUOTE"
->"Connect"</SPAN
-> requests the clients tell
-    <SPAN
-CLASS="APPLICATION"
->Privoxy</SPAN
-> which host they are interested
-    in, but not which document they plan to get later. As a result, the
-    <SPAN
-CLASS="QUOTE"
->"Go there anyway"</SPAN
-> wouldn't work and is therefore suppressed.
+>    Redirect to the built-in pattern for better caching:
    </P
-></DD
-><DT
->Example usage:</DT
-><DD
 ><P
 >    <TABLE
 BORDER="0"
@@ -7149,7 +6715,7 @@ WIDTH="90%"
 ><TD
 ><PRE
 CLASS="SCREEN"
->+treat-forbidden-connects-like-blocks</PRE
+>+set-image-blocker{http://config.privoxy.org/send-banner?type=pattern}</PRE
 ></TD
 ></TR
 ></TABLE
@@ -7164,8 +6730,8 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN4232"
->8.5.39. Summary</A
+NAME="AEN4460"
+>8.5.34. Summary</A
 ></H3
 ><P
 > Note that many of these actions have the potential to cause a page to
@@ -7324,7 +6890,7 @@ HREF="actions-file.html#CRUNCH-INCOMING-COOKIES"
 HREF="actions-file.html#CRUNCH-OUTGOING-COOKIES"
 >crunch-outgoing-cookies</A
 >
- +block-as-image      = +block +handle-as-image
+ +block-as-image      = +block{Blocked image.} +handle-as-image
  allow-all-cookies   = -crunch-all-cookies -<A
 HREF="actions-file.html#SESSION-COOKIES-ONLY"
 >session-cookies-only</A
@@ -7349,9 +6915,6 @@ HREF="actions-file.html#FAST-REDIRECTS"
 HREF="actions-file.html#HIDE-REFERER"
 >hide-referrer</A
 > -<A
-HREF="actions-file.html#KILL-POPUPS"
->kill-popups</A
-> -<A
 HREF="actions-file.html#PREVENT-COMPRESSION"
 >prevent-compression</A
 >
@@ -7359,9 +6922,6 @@ HREF="actions-file.html#PREVENT-COMPRESSION"
  shop        = -crunch-all-cookies -<A
 HREF="actions-file.html#FILTER-ALL-POPUPS"
 >filter{all-popups}</A
-> -<A
-HREF="actions-file.html#KILL-POPUPS"
->kill-popups</A
 >
 
  # Short names for other aliases, for really lazy people ;-)
@@ -7407,7 +6967,7 @@ CLASS="SCREEN"
 
  # These shops require pop-ups:
  #
- {-kill-popups -filter{all-popups} -filter{unsolicited-popups}}
+ {-filter{all-popups} -filter{unsolicited-popups}}
   .dabs.com
   .overclockers.co.uk</PRE
 ></TD
@@ -7458,22 +7018,81 @@ HREF="actions-file.html#ALIASES"
 >. Now, let's look at an
  example <TT
 CLASS="FILENAME"
+>match-all.action</TT
+>, <TT
+CLASS="FILENAME"
 >default.action</TT
-> and <TT
+>
+ and <TT
 CLASS="FILENAME"
 >user.action</TT
->
- file and see how all these pieces come together:</P
+> file and see how all these pieces come together:</P
 ><DIV
 CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN4297"
->8.7.1. default.action</A
+NAME="AEN4524"
+>8.7.1. match-all.action</A
 ></H3
 ><P
->Every config file should start with a short comment stating its purpose:</P
+> Remember <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>all actions are disabled when matching starts</I
+></SPAN
+>,
+ so we have to explicitly enable the ones we want.</P
+><P
+> While the <TT
+CLASS="FILENAME"
+>match-all.action</TT
+> file only contains a
+ single section, it is probably the most important one. It has only one
+ pattern, <SPAN
+CLASS="QUOTE"
+>"<TT
+CLASS="LITERAL"
+>/</TT
+>"</SPAN
+>, but this pattern
+ <A
+HREF="actions-file.html#AF-PATTERNS"
+>matches all URLs</A
+>. Therefore, the set of
+ actions used in this <SPAN
+CLASS="QUOTE"
+>"default"</SPAN
+> section <SPAN
+CLASS="emphasis"
+><I
+CLASS="EMPHASIS"
+>will
+ be applied to all requests as a start</I
+></SPAN
+>. It can  be partly or
+ wholly overridden by other actions files like <TT
+CLASS="FILENAME"
+>default.action</TT
+>
+ and <TT
+CLASS="FILENAME"
+>user.action</TT
+>, but it will still be largely responsible
+ for your overall browsing experience.</P
+><P
+> Again, at the start of matching, all actions are disabled, so there is
+ no need to disable any actions here. (Remember: a <SPAN
+CLASS="QUOTE"
+>"+"</SPAN
+>
+ preceding the action name enables the action, a <SPAN
+CLASS="QUOTE"
+>"-"</SPAN
+> disables!).
+ Also note how this long line has been made more readable by splitting it into
+ multiple lines with line continuation.</P
 ><P
 > <TABLE
 BORDER="0"
@@ -7483,18 +7102,66 @@ WIDTH="100%"
 ><TD
 ><PRE
 CLASS="SCREEN"
-># Sample default.action file &#60;ijbswa-developers@lists.sourceforge.net&#62;</PRE
+>{ \
+ +<A
+HREF="actions-file.html#CHANGE-X-FORWARDED-FOR"
+>change-x-forwarded-for{block}</A
+> \
+ +<A
+HREF="actions-file.html#HIDE-FROM-HEADER"
+>hide-from-header{block}</A
+> \
+ +<A
+HREF="actions-file.html#SET-IMAGE-BLOCKER"
+>set-image-blocker{pattern}</A
+> \
+}
+/ # Match all URLs
+ </PRE
 ></TD
 ></TR
 ></TABLE
 ></P
 ><P
->Then, since this is the <TT
+> The default behavior is now set.</P
+></DIV
+><DIV
+CLASS="SECT3"
+><H3
+CLASS="SECT3"
+><A
+NAME="AEN4546"
+>8.7.2. default.action</A
+></H3
+><P
+> If you aren't a developer, there's no need for you to edit the
+ <TT
+CLASS="FILENAME"
+>default.action</TT
+> file. It is maintained by
+ the <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> developers and if you disagree with some of the
+ sections, you should overrule them in your <TT
+CLASS="FILENAME"
+>user.action</TT
+>.</P
+><P
+> Understanding the <TT
 CLASS="FILENAME"
 >default.action</TT
-> file, the
-first section is a special section for internal use that you needn't
-change or worry about:</P
+> file can
+ help you with your <TT
+CLASS="FILENAME"
+>user.action</TT
+>, though.</P
+><P
+> The first section in this file is a special section for internal use
+ that prevents older <SPAN
+CLASS="APPLICATION"
+>Privoxy</SPAN
+> versions from reading the file:</P
 ><P
 > <TABLE
 BORDER="0"
@@ -7507,20 +7174,19 @@ CLASS="SCREEN"
 >##########################################################################
 # Settings -- Don't change! For internal Privoxy use ONLY.
 ##########################################################################
-
 {{settings}}
-for-privoxy-version=3.0</PRE
+for-privoxy-version=3.0.11</PRE
 ></TD
 ></TR
 ></TABLE
 ></P
 ><P
->After that comes the (optional) alias section. We'll use the example
-section from the above <A
+> After that comes the (optional) alias section. We'll use the example
+ section from the above <A
 HREF="actions-file.html#ALIASES"
 >chapter on aliases</A
 >,
-that also explains why and how aliases are used:</P
+ that also explains why and how aliases are used:</P
 ><P
 > <TABLE
 BORDER="0"
@@ -7552,7 +7218,7 @@ HREF="actions-file.html#CRUNCH-INCOMING-COOKIES"
 HREF="actions-file.html#CRUNCH-OUTGOING-COOKIES"
 >crunch-outgoing-cookies</A
 >
- +block-as-image      = +block +handle-as-image
+ +block-as-image      = +block{Blocked image.} +handle-as-image
  mercy-for-cookies   = -crunch-all-cookies -<A
 HREF="actions-file.html#SESSION-COOKIES-ONLY"
 >session-cookies-only</A
@@ -7576,138 +7242,16 @@ HREF="actions-file.html#FAST-REDIRECTS"
 > -<A
 HREF="actions-file.html#HIDE-REFERER"
 >hide-referrer</A
-> -<A
-HREF="actions-file.html#KILL-POPUPS"
->kill-popups</A
 >
  shop        = -crunch-all-cookies -<A
 HREF="actions-file.html#FILTER-ALL-POPUPS"
 >filter{all-popups}</A
-> -<A
-HREF="actions-file.html#KILL-POPUPS"
->kill-popups</A
 ></PRE
 ></TD
 ></TR
 ></TABLE
 ></P
 ><P
-> Now come the regular sections, i.e. sets of actions, accompanied
- by URL patterns to which they apply. Remember <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->all actions
- are disabled when matching starts</I
-></SPAN
->, so we have to explicitly
- enable the ones we want.</P
-><P
-> The first regular section is probably the most important. It has only
- one pattern, <SPAN
-CLASS="QUOTE"
->"<TT
-CLASS="LITERAL"
->/</TT
->"</SPAN
->, but this pattern
- <A
-HREF="actions-file.html#AF-PATTERNS"
->matches all URLs</A
->. Therefore, the
- set of actions used in this <SPAN
-CLASS="QUOTE"
->"default"</SPAN
-> section <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->will
- be applied to all requests as a start</I
-></SPAN
->. It can  be partly or
- wholly overridden by later matches further down this file, or in user.action,
- but it will still be largely responsible for your overall browsing
- experience.</P
-><P
-> Again, at the start of matching, all actions are disabled, so there is
- no need to disable any actions here. (Remember: a <SPAN
-CLASS="QUOTE"
->"+"</SPAN
->
- preceding the action name enables the action, a <SPAN
-CLASS="QUOTE"
->"-"</SPAN
-> disables!).
- Also note how this long line has been made more readable by splitting it into
- multiple lines with line continuation.</P
-><P
-> <TABLE
-BORDER="0"
-BGCOLOR="#E0E0E0"
-WIDTH="100%"
-><TR
-><TD
-><PRE
-CLASS="SCREEN"
->##########################################################################
-# "Defaults" section:
-##########################################################################
- { \
- +<A
-HREF="actions-file.html#DEANIMATE-GIFS"
->deanimate-gifs</A
-> \
- +<A
-HREF="actions-file.html#FILTER-HTML-ANNOYANCES"
->filter{html-annoyances}</A
-> \
- +<A
-HREF="actions-file.html#FILTER-REFRESH-TAGS"
->filter{refresh-tags}</A
-> \
- +<A
-HREF="actions-file.html#FILTER-WEBBUGS"
->filter{webbugs}</A
-> \
- +<A
-HREF="actions-file.html#FILTER-IE-EXPLOITS"
->filter{ie-exploits}</A
-> \     
- +<A
-HREF="actions-file.html#HIDE-FORWARDED-FOR-HEADERS"
->hide-forwarded-for-headers</A
-> \
- +<A
-HREF="actions-file.html#HIDE-FROM-HEADER"
->hide-from-header{block}</A
-> \
- +<A
-HREF="actions-file.html#HIDE-REFERER"
->hide-referrer{forge}</A
-> \
- +<A
-HREF="actions-file.html#PREVENT-COMPRESSION"
->prevent-compression</A
-> \
- +<A
-HREF="actions-file.html#SESSION-COOKIES-ONLY"
->session-cookies-only</A
-> \
- +<A
-HREF="actions-file.html#SET-IMAGE-BLOCKER"
->set-image-blocker{pattern}</A
-> \
- }
- / # forward slash will match *all* potential URL patterns.</PRE
-></TD
-></TR
-></TABLE
-></P
-><P
-> The default behavior is now set.
- </P
-><P
 > The first of our specialized sections is concerned with <SPAN
 CLASS="QUOTE"
 >"fragile"</SPAN
@@ -7775,8 +7319,11 @@ HREF="actions-file.html#FAST-REDIRECTS"
 >fast-redirects</A
 ></TT
 >
- action, which we enabled per default above,  breaks some sites. So disable
- it for popular sites where we know it misbehaves:</P
+ action, which may have been enabled in <TT
+CLASS="FILENAME"
+>match-all.action</TT
+>,
+ breaks some sites. So disable it for popular sites where we know it misbehaves:</P
 ><P
 > <TABLE
 BORDER="0"
@@ -7815,14 +7362,8 @@ CLASS="EMPHASIS"
  be blocked, a substitute image can be sent, rather than an HTML page.
  Contacting the remote site to find out is not an option, since it
  would destroy the loading time advantage of banner blocking, and it
- would feed the advertisers (in terms of money <SPAN
-CLASS="emphasis"
-><I
-CLASS="EMPHASIS"
->and</I
-></SPAN
->
- information). We can mark any URL as an image with the <TT
+ would feed the advertisers information about you. We can mark any
+ URL as an image with the <TT
 CLASS="LITERAL"
 ><A
 HREF="actions-file.html#HANDLE-AS-IMAGE"
@@ -7969,7 +7510,7 @@ CLASS="SCREEN"
 ##########################################################################
 { <A
 HREF="actions-file.html#BLOCK"
->+block</A
+>+block{Banner ads.}</A
 > }
 
 # Generic patterns:
@@ -8190,8 +7731,8 @@ CLASS="SECT3"
 ><H3
 CLASS="SECT3"
 ><A
-NAME="AEN4433"
->8.7.2. user.action</A
+NAME="AEN4659"
+>8.7.3. user.action</A
 ></H3
 ><P
 > So far we are painting with a broad brush by setting general policies,
@@ -8274,14 +7815,14 @@ CLASS="SCREEN"
 +crunch-all-cookies = +crunch-incoming-cookies +crunch-outgoing-cookies
 -crunch-all-cookies = -crunch-incoming-cookies -crunch-outgoing-cookies
  allow-all-cookies  = -crunch-all-cookies -session-cookies-only
- allow-popups       = -filter{all-popups} -kill-popups
-+block-as-image     = +block +handle-as-image
+ allow-popups       = -filter{all-popups}
++block-as-image     = +block{Blocked as image.} +handle-as-image
 -block-as-image     = -block
 
 # These aliases define combinations of actions that are useful for
 # certain types of sites:
 #
-fragile     = -block -crunch-all-cookies -filter -fast-redirects -hide-referrer -kill-popups
+fragile     = -block -crunch-all-cookies -filter -fast-redirects -hide-referrer
 shop        = -crunch-all-cookies allow-popups
 
 # Allow ads for selected useful free sites:
@@ -8393,7 +7934,7 @@ CLASS="QUOTE"
  and pasted the URL below while removing the leading http://, into a 
  <TT
 CLASS="LITERAL"
->{ +block }</TT
+>{ +block{} }</TT
 > section. Note that <TT
 CLASS="LITERAL"
 >{ +handle-as-image
@@ -8416,7 +7957,7 @@ CLASS="SCREEN"
 >{ +<A
 HREF="actions-file.html#BLOCK"
 >block</A
-> }
+>{Nasty ads.} }
  www.example.com/nasty-ads/sponsor\.gif
  another.example.net/more/junk/here/</PRE
 ></TD