@@ -1045,7 +1028,7 @@ body {
force feature is available and enabled).
A very important exception occurs if both both block and handle-as-image,
apply to the same request: it will then be replaced by an
@@ -1072,7 +1055,7 @@ body {
Example usage (section):
-
+
@@ -1153,7 +1136,7 @@ body {
Example usage:
-
+
@@ -1212,7 +1195,7 @@ body {
Client-header filters are executed after the other header
actions have finished and use their output as input.
- If the request URL gets changed, If the request URI gets changed, Privoxy 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
@@ -1226,7 +1209,7 @@ body {
Example usage (section):
-
+
@@ -1291,7 +1274,7 @@ body {
Example usage (section):
-
+
@@ -1318,6 +1301,28 @@ TAG:^User-Agent: fetch libfetch/
TAG:^User-Agent: Ubuntu APT-HTTP/
TAG:^User-Agent: MPlayer/
+
+ |
+
+
+
+
+
+
+
+# Tag all requests with the Range header set
+{+client-header-tagger{range-requests}}
+/
+
+# Disable filtering for the tagged requests.
+#
+# With filtering enabled Privoxy would remove the Range headers
+# to be able to filter the whole response. The downside is that
+# it prevents clients from resuming downloads or skipping over
+# parts of multimedia files.
+{-filter -deanimate-gifs}
+TAG:^RANGE-REQUEST$
+
|
@@ -1415,7 +1420,7 @@ TAG:^User-Agent: MPlayer/
Example usage (sections):
-
+
@@ -1477,10 +1482,10 @@ www.example.net/.*style
every client header that contains the string you supplied as
parameter.
- Regular expressions are not supported and you can't use
- this action to block different headers in the same request,
- unless they contain the same string.
+ Regular expressions are not supported and you can't use this
+ action to block different headers in the same request, unless
+ they contain the same string.
crunch-client-header is only meant
for quick tests. If you have to block several different
@@ -1492,7 +1497,7 @@ www.example.net/.*style
- Warning |
+ Warning |
@@ -1508,7 +1513,7 @@ www.example.net/.*style
Example usage (section):
-
+
@@ -1584,7 +1589,7 @@ www.example.net/.*style
Example usage (section):
-
+
@@ -1639,15 +1644,16 @@ www.example.net/.*style
This action is only concerned with incoming HTTP cookies. For
- outgoing HTTP
- cookies, use incoming HTTP
+ cookies. For outgoing HTTP cookies, use crunch-outgoing-cookies.
- Use both to disable
- HTTP cookies completely.
+ Use both
+ to disable HTTP cookies completely.
- It makes no sense at
- all to use this action in conjunction with the
+ It makes no sense
+ at all to use this action in conjunction with the
session-cookies-only
action, since it would prevent the session cookies from being
@@ -1658,7 +1664,7 @@ www.example.net/.*style
Example usage:
-
+
@@ -1713,10 +1719,10 @@ www.example.net/.*style
every server header that contains the string you supplied as
parameter.
- Regular expressions are not supported and you can't use
- this action to block different headers in the same request,
- unless they contain the same string.
+ Regular expressions are not supported and you can't use this
+ action to block different headers in the same request, unless
+ they contain the same string.
crunch-server-header is only meant
for quick tests. If you have to block several different
@@ -1728,7 +1734,7 @@ www.example.net/.*style
- Warning |
+ Warning |
@@ -1744,7 +1750,7 @@ www.example.net/.*style
Example usage (section):
-
+
@@ -1796,15 +1802,16 @@ www.example.net/.*style
This action is only concerned with outgoing HTTP cookies. For
- incoming HTTP
- cookies, use outgoing HTTP
+ cookies. For incoming HTTP cookies, use crunch-incoming-cookies.
- Use both to disable
- HTTP cookies completely.
+ Use both
+ to disable HTTP cookies completely.
- It makes no sense at
- all to use this action in conjunction with the
+ It makes no sense
+ at all to use this action in conjunction with the
session-cookies-only
action, since it would prevent the session cookies from being
@@ -1814,7 +1821,7 @@ www.example.net/.*style
Example usage:
-
+
@@ -1880,7 +1887,7 @@ www.example.net/.*style
Example usage:
-
+
@@ -1949,7 +1956,7 @@ www.example.net/.*style
Example usage (section):
-
+
@@ -2069,7 +2076,7 @@ problem-host.example.com
Example usage:
-
+
@@ -2133,8 +2140,8 @@ problem-host.example.com
"FILENAME">user.filter.
When used in its negative form, and without parameters,
- all filtering is
- completely disabled.
+ all
+ filtering is completely disabled.
Notes:
@@ -2218,7 +2225,7 @@ problem-host.example.com
-
+
@@ -2230,7 +2237,7 @@ problem-host.example.com
-
+
@@ -2243,7 +2250,7 @@ problem-host.example.com
-
+
@@ -2256,7 +2263,7 @@ problem-host.example.com
-
+
@@ -2269,7 +2276,7 @@ problem-host.example.com
-
+
@@ -2282,7 +2289,7 @@ problem-host.example.com
-
+
@@ -2294,7 +2301,7 @@ problem-host.example.com
-
+
@@ -2307,7 +2314,7 @@ problem-host.example.com
-
+
@@ -2320,7 +2327,7 @@ problem-host.example.com
-
+
@@ -2333,7 +2340,7 @@ problem-host.example.com
-
+
@@ -2345,7 +2352,7 @@ problem-host.example.com
-
+
@@ -2358,7 +2365,7 @@ problem-host.example.com
-
+
@@ -2371,7 +2378,7 @@ problem-host.example.com
-
+
@@ -2384,7 +2391,7 @@ problem-host.example.com
-
+
@@ -2397,7 +2404,7 @@ problem-host.example.com
-
+
@@ -2410,7 +2417,7 @@ problem-host.example.com
-
+
@@ -2423,7 +2430,7 @@ problem-host.example.com
-
+
@@ -2435,7 +2442,7 @@ problem-host.example.com
-
+
@@ -2448,7 +2455,7 @@ problem-host.example.com
-
+
@@ -2461,7 +2468,7 @@ problem-host.example.com
-
+
@@ -2474,7 +2481,7 @@ problem-host.example.com
-
+
@@ -2486,7 +2493,7 @@ problem-host.example.com
-
+
@@ -2498,7 +2505,7 @@ problem-host.example.com
-
+
@@ -2510,7 +2517,7 @@ problem-host.example.com
-
+
@@ -2522,7 +2529,7 @@ problem-host.example.com
-
+
@@ -2534,7 +2541,7 @@ problem-host.example.com
-
+
@@ -2559,7 +2566,7 @@ problem-host.example.com
Force Privoxy to treat a
document as if it was in some kind of text format.
+ "emphasis">text format.
Effect:
@@ -2597,7 +2604,7 @@ problem-host.example.com
- Warning |
+ Warning |
@@ -2614,7 +2621,7 @@ problem-host.example.com
Example usage:
-
+
@@ -2706,7 +2713,7 @@ problem-host.example.com
- Warning |
+ Warning |
@@ -2735,7 +2742,7 @@ problem-host.example.com
Example usage:
-
+
@@ -2772,8 +2779,8 @@ TAG:^User-Agent: fetch libfetch/2\.0$
Mark URLs that should be replaced by empty documents
- if they get
- blocked
+ if they get
+ blocked
Effect:
@@ -2782,12 +2789,13 @@ TAG:^User-Agent: fetch libfetch/2\.0$
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. The
- empty document isn't
- literally empty, but actually contains a single space.
+ "emphasis">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. The empty document isn't literally empty, but
+ actually contains a single space.
Type:
@@ -2821,7 +2829,7 @@ TAG:^User-Agent: fetch libfetch/2\.0$
Example usage:
-
+
@@ -2849,8 +2857,8 @@ example.org/.*\.js$
Mark URLs as belonging to images (so they'll be replaced by
- images if they do get
- blocked, rather than HTML pages)
+ images if they do
+ get blocked, rather than HTML pages)
Effect:
@@ -2859,10 +2867,10 @@ example.org/.*\.js$
This action alone doesn't do anything noticeable. It just
marks URLs as images. If the block action also applies, the presence or
- absence of this mark decides whether an HTML "blocked" page, or a replacement image (as
- determined by the also applies, the
+ presence or absence of this mark decides whether an HTML
+ "blocked" page, or a replacement
+ image (as determined by the set-image-blocker
action) will be sent to the client as a substitute for the
blocked content.
@@ -2905,7 +2913,7 @@ example.org/.*\.js$
Example usage (sections):
-
+
@@ -2990,7 +2998,7 @@ nasty-banner-server.example.com/junk.cgi\?output=trash
Example usage (section):
-
+
@@ -3053,9 +3061,9 @@ nasty-banner-server.example.com/junk.cgi\?output=trash
default.
In most browsers that understand this header, it makes it
- impossible to just
- view the document, without downloading it first, even if
- it's just a simple text file or an image.
+ impossible to just
+ view the document, without downloading it first,
+ even if it's just a simple text file or an image.
Removing the "Content-Disposition:" header helps to prevent
@@ -3076,7 +3084,7 @@ nasty-banner-server.example.com/junk.cgi\?output=trash
Example usage:
-
+
@@ -3163,7 +3171,7 @@ nasty-banner-server.example.com/junk.cgi\?output=trash
Example usage (section):
-
+
@@ -3233,7 +3241,7 @@ nasty-banner-server.example.com/junk.cgi\?output=trash
Example usage:
-
+
@@ -3243,7 +3251,7 @@ nasty-banner-server.example.com/junk.cgi\?output=trash
|
or
-
+
@@ -3352,7 +3360,7 @@ nasty-banner-server.example.com/junk.cgi\?output=trash
Example usage:
- | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |