Rename STATIC_PCRE to FEATURE_DYNAMIC_PCRE
[privoxy.git] / templates / edit-actions-for-url
1 ##############################################################################
2 #
3 # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $
4 #
5 # Purpose     :  Template used to edit the actions associated with a
6 #                particular section in an actions file.
7 #
8 #
9 # Copyright   :  Written by and Copyright (C) 2001-2012 the
10 #                Privoxy team. http://www.privoxy.org/
11 #
12 #                Original Author: Copyright (C) 2001 Jonathan Foster
13 #                http://www.jon-foster.co.uk/
14 #
15 #                This program is free software; you can redistribute it
16 #                and/or modify it under the terms of the GNU General
17 #                Public License as published by the Free Software
18 #                Foundation; either version 2 of the License, or (at
19 #                your option) any later version.
20 #
21 #                This program is distributed in the hope that it will
22 #                be useful, but WITHOUT ANY WARRANTY; without even the
23 #                implied warranty of MERCHANTABILITY or FITNESS FOR A
24 #                PARTICULAR PURPOSE.  See the GNU General Public
25 #                License for more details.
26 #
27 #                The GNU General Public License should be included with
28 #                this file.  If not, you can view it at
29 #                http://www.gnu.org/copyleft/gpl.html
30 #                or write to the Free Software Foundation, Inc., 59
31 #                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
32 #
33 ##############################################################################
34 #
35 # Standard support:
36 #
37 # This file currently produces valid HTML 4.01 Strict.
38 #
39 # If you change it, please save the generated page from your web browser
40 # and then upload it to http://validator.w3.org/ for checking.
41 #
42 ##############################################################################
43 #
44 # Available variables include:
45 #
46 # action-name-y
47 # action-name-n
48 # action-name-x
49 #
50 # deanimate-gifs-param-first
51 # deanimate-gifs-param-last
52 # hide-from-param-block
53 # hide-from-param-custom
54 # hide-from-param
55 # hide-referrer-param-forge
56 # hide-referrer-param-block
57 # hide-referrer-param-custom
58 # hide-referrer-param
59 # hide-user-agent-param
60 # image-blocker-param-pattern
61 # image-blocker-param-blank
62 # image-blocker-param-custom
63 #
64 #
65 ##############################################################################
66 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
67 <html>
68
69 <head>
70   <meta http-equiv="Content-Style-Type" content="text/css">
71   <meta http-equiv="Content-Script-Type" content="text/javascript">
72   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
73   <meta name="robots" content="noindex,nofollow">
74   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
75   <link rel="shortcut icon" href="@default-cgi@favicon.ico" type="image/x-icon">
76
77   <title>Privoxy@@my-hostname@: Edit actions</title>
78
79 <style type="text/css">
80 td.action    { font-weight: bold;
81                font-style: italic;
82                white-space: nowrap       }
83 td.subaction { font-style: italic        }
84 th           { font-weight: bold;        }
85 # This is the key to the color names below:
86 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
87 # 1=odd rows, 2=even rows, h=Table header
88 tr.hdr       { background-color: #999999 }
89 tr.bg1       { background-color: #eeeeee }
90 td.en1       { background-color: #ddffdd }
91 td.dis1      { background-color: #ffdddd }
92 td.noc1      { background-color: #ddddff }
93 th.enh       { background-color: #99ff99 }
94 th.dish      { background-color: #ff9999 }
95 th.noch      { background-color: #9999ff }
96 table.wide   { padding: 5px; }
97 td.green     { border: solid black 1px; background-color: #ddffdd; }
98 </style>
99
100 <!--
101 border-color: white;
102                border-style: solid;
103                border-left-width: 10px;
104                border-right-width: 10px;
105                border-top-width: 0px;
106                border-bottom-width: 0px  }
107 -->
108
109 <script type="text/javascript">
110 <!--
111
112 function hide_from_header_param_disable(tf)
113 {
114     if (document.getElementById) {
115         // NS6 or IE5
116         document.getElementById("hide_from_header_param").disabled = tf;
117     } else if (document.all) {
118         // IE4
119         document.myform.hide_from_header_param.disabled = tf;
120     }
121 }
122
123 function hide_referrer_param_disable(tf)
124 {
125     if (document.getElementById) {
126         document.getElementById("hide_referrer_param").disabled = tf;
127     } else if (document.all) {
128         document.myform.hide_referrer_param.disabled = tf;
129     }
130 }
131
132 function set_image_blocker_param_disable(tf)
133 {
134     if (document.getElementById) {
135         document.getElementById("set_image_blocker_param").disabled = tf;
136     } else if (document.all) {
137         document.myform.set_image_blocker_param.disabled = tf;
138     }
139 }
140
141 function show_add_header_opts(tf)
142 {
143     if (document.getElementById) {
144         target = document.getElementById("add_header_opts");
145     } else if (document.all) {
146         target = document.add_header_opts;
147     } else {
148         return;
149     }
150     target.style.display = (tf ? "" : "none");
151 }
152
153 function show_deanimate_opts(tf)
154 {
155     if (document.getElementById) {
156         target = document.getElementById("deanimate_opts");
157     } else if (document.all) {
158         target = document.deanimate_opts;
159     } else {
160         return;
161     }
162     target.style.display = (tf ? "" : "none");
163 }
164
165 function show_hide_from_header_opts(tf)
166 {
167     if (document.getElementById) {
168         target = document.getElementById("hide_from_header_opts");
169     } else if (document.all) {
170         target = document.hide_from_header_opts;
171     } else {
172         return;
173     }
174     target.style.display = (tf ? "" : "none");
175 }
176
177 function show_hide_referrer_opts(tf)
178 {
179     if (document.getElementById) {
180         target = document.getElementById("hide_referrer_opts");
181     } else if (document.all) {
182         target = document.hide_referrer_opts;
183     } else {
184         return;
185     }
186     target.style.display = (tf ? "" : "none");
187 }
188
189 function show_user_agent_opts(tf)
190 {
191     if (document.getElementById) {
192         target = document.getElementById("user_agent_opts");
193     } else if (document.all) {
194         target = document.user_agent_opts;
195     } else {
196         return;
197     }
198     target.style.display = (tf ? "" : "none");
199 }
200
201 function show_set_image_blocker_opts(tf)
202 {
203     if (document.getElementById) {
204         target = document.getElementById("set_image_blocker_opts");
205     } else if (document.all) {
206         target = document.set_image_blocker_opts;
207     } else {
208         return;
209     }
210     target.style.display = (tf ? "" : "none");
211 }
212
213 function show_limit_connect_opts(tf)
214 {
215     if (document.getElementById) {
216         target = document.getElementById("limit_connect_opts");
217     } else if (document.all) {
218         target = document.limit_connect_opts;
219     } else {
220         return;
221     }
222     target.style.display = (tf ? "" : "none");
223 }
224
225 //-->
226 </script>
227 </head>
228
229 <body>
230
231 <!-- @if-one-form-only-start -->
232 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
233 <!-- if-one-form-only-end@ -->
234
235   <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
236     <tr>
237       <td class="title">
238
239 #include mod-title
240
241       </td>
242     </tr>
243
244 <!-- @if-unstable-start -->
245 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
246     <tr>
247       <td class="warning">
248
249 #include mod-unstable-warning
250
251       </td>
252     </tr>
253 <!-- if-unstable-end@ -->
254
255 <!-- @if-one-form-only-start -->
256     <tr>
257       <td class="box">
258         <h2>Edit Actions
259           <input type="hidden" name="f" value="@f@">
260           <input type="hidden" name="v" value="@v@">
261           <input type="hidden" name="s" value="@s@">
262         </h2>
263       </td>
264     </tr>
265
266     <tr>
267       <td class="green" align="center">
268         <p><input type="submit" value="Submit" name="Submit"></p>
269       </td>
270     </tr>
271 <!-- if-one-form-only-end@ -->
272
273 <tr><td class="wrapbox">
274
275 <!-- @if-multiple-forms-start -->
276 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
277   <h2>Edit Actions (Section 1)</h2>
278 <!-- if-multiple-forms-end@ -->
279
280   <table summary="Action section 1" border="0" cellspacing="2" width="100%" class="wide">
281     <tr class="hdr" align="left">
282       <th class="enh" align="center">Enable</th>
283       <th class="dish" align="center">Disable</th>
284       <th class="noch" align="center">No Change</th>
285       <th>Action</th>
286       <th>Description</th>
287     </tr>
288     <tr class="bg1" align="left" valign="top">
289       <td class="en1" align="center" valign="middle"><input type="radio"
290         name="add_header" id="add_header_y" value="Y" @add-header-y@
291         onclick="show_add_header_opts(true)"></td>
292       <td class="dis1" align="center" valign="middle"><input type="radio"
293         name="add_header" value="N" @add-header-n@
294         onclick="show_add_header_opts(false)"></td>
295       <td class="noc1" align="center" valign="middle"><input type="radio"
296         name="add_header" value="X" @add-header-x@
297         onclick="show_add_header_opts(false)"></td>
298       <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
299       <td>Adds HTTP headers.</td>
300     </tr>
301     <tr class="bg1" align="left" valign="top" id="add_header_opts">
302       <td class="en1">&nbsp;</td>
303       <td class="dis1">&nbsp;</td>
304       <td class="noc1">&nbsp;</td>
305       <td>&nbsp;</td>
306       <td>Editing the settings for this option, or turning
307         it on if it was off, is not yet supported using this web-based
308         editor.</td>
309     </tr>
310     <tr class="bg1" align="left" valign="top">
311       <td class="en1" align="center" valign="middle"><input type="radio"
312         name="block" value="Y" @block-y@
313         ></td>
314       <td class="dis1" align="center" valign="middle"><input type="radio"
315         name="block" value="N" @block-n@
316         ></td>
317       <td class="noc1" align="center" valign="middle"><input type="radio"
318         name="block" value="X" @block-x@
319         ></td>
320       <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
321       <td>Block the request.</td>
322     </tr>
323     <tr class="bg1" align="left" valign="top" id="block_opts">
324       <td class="en1">&nbsp;</td>
325       <td class="dis1">&nbsp;</td>
326       <td class="noc1">&nbsp;</td>
327       <td>&nbsp;</td>
328       <td>Block reason to tell the user:<br>
329         <input type="text" name="block_mode" size="40" value="@block-param@">
330       </td>
331     </tr>
332     <tr class="bg1" align="left" valign="top">
333       <td class="en1" align="center" valign="middle"><input type="radio"
334         name="change_x_forwarded_for" id="change_x_forwarded_for_y" value="Y" @change-x-forwarded-for-y@
335         onclick="show_change_x_forwarded_for_opts(true)"></td>
336       <td class="dis1" align="center" valign="middle"><input type="radio"
337         name="change_x_forwarded_for" value="N" @change-x-forwarded-for-n@
338         onclick="show_change_x_forwarded_for_opts(false)"></td>
339       <td class="noc1" align="center" valign="middle"><input type="radio"
340         name="change_x_forwarded_for" value="X" @change-x-forwarded-for-x@
341         onclick="show_change_x_forwarded_for_opts(false)"></td>
342       <td class="action"><a href="@user-manual@@actions-help-prefix@CHANGE-X-FORWARDED-FOR">change-x-forwarded-for</a></td>
343       <td>Specifies whether to block or add X-Forwarded-For headers.</td>
344     </tr>
345     <tr class="bg1" align="left" valign="top" id="change_x_forwarded_for_opts">
346       <td class="en1">&nbsp;</td>
347       <td class="dis1">&nbsp;</td>
348       <td class="noc1">&nbsp;</td>
349       <td>&nbsp;</td>
350       <td><input type="radio" name="change_x_forwarded_for_mode" value="block"
351         id="change_x_forwarded_for_mode_block" @change-x-forwarded-for-param-block@><label
352         for="change_x_forwarded_for_mode_block">Block the header.</label><br>
353         <input type="radio" name="change_x_forwarded_for_mode" value="add"
354         id="change_x_forwarded_for_mode_add" @change-x-forwarded-for-param-add@><label
355         for="change_x_forwarded_for_mode_add">Add the header.</label><br>
356     </tr>
357     <tr class="bg1" align="left" valign="top">
358       <td class="en1">&nbsp;</td>
359       <td class="dis1" align="center" valign="middle"><input type="radio"
360         name="client_header_filter_all" id="client_header_filter_all_n" value="N" @client-header-filter-all-n@ ></td>
361       <td class="noc1" align="center" valign="middle"><input type="radio"
362         name="client_header_filter_all" id="client_header_filter_all_x" value="X" @client-header-filter-all-x@ ></td>
363       <td class="action"><a href="@user-manual@@actions-help-prefix@CLIENT-HEADER-FILTER">client-header-filter</a> *</td>
364       <td>Filter the client headers.
365         You can use the radio buttons on this line to disable
366         all client-header filters applied by previous rules, and/or
367         you can enable or disable the filters individually below.</td>
368     </tr>
369 @client-header-filter-params@
370     <tr class="bg1" align="left" valign="top">
371       <td class="en1">&nbsp;</td>
372       <td class="dis1" align="center" valign="middle"><input type="radio"
373         name="client_header_tagger_all" id="client_header_tagger_all_n" value="N" @client-header-tagger-all-n@ ></td>
374       <td class="noc1" align="center" valign="middle"><input type="radio"
375         name="client_header_tagger_all" id="client_header_tagger_all_x" value="X" @client-header-tagger-all-x@ ></td>
376       <td class="action"><a href="@user-manual@@actions-help-prefix@CLIENT-HEADER-TAGGER">client-header-tagger</a> *</td>
377       <td>Create tags based on the client headers.
378         You can use the radio buttons on this line to disable
379         all client-header taggers applied by previous rules, and/or
380         you can enable or disable the taggers individually below.</td>
381     </tr>
382 @client-header-tagger-params@
383    <tr class="bg1" align="left" valign="top">
384       <td class="en1" align="center" valign="middle"><input type="radio"
385         name="content_type_overwrite" value="Y" @content-type-overwrite-y@
386         ></td>
387       <td class="dis1" align="center" valign="middle"><input type="radio"
388         name="content_type_overwrite" value="N" @content-type-overwrite-n@
389         ></td>
390       <td class="noc1" align="center" valign="middle"><input type="radio"
391         name="content_type_overwrite" value="X" @content-type-overwrite-x@
392         ></td>
393       <td class="action"><a href="@user-manual@@actions-help-prefix@CONTENT-TYPE-OVERWRITE">content-type-overwrite</a></td>
394       <td>Replace Content-Type header. By default it only applies to
395          text documents, but if you know what you're doing you
396          can enable force-text-mode to modify binary content types as well.</td>
397     </tr>
398     <tr class="bg1" align="left" valign="top" id="content_type_overwrite_opts">
399       <td class="en1">&nbsp;</td>
400       <td class="dis1">&nbsp;</td>
401       <td class="noc1">&nbsp;</td>
402       <td>&nbsp;</td>
403       <td>New Content-Type:<br>
404         <input type="text" name="content_type_overwrite_mode" size="40"
405         value="@content-type-overwrite-param@"></td>
406     </tr>
407     <tr class="bg1" align="left" valign="top">
408       <td class="en1" align="center" valign="middle"><input type="radio"
409         name="crunch_client_header" id="crunch_client_header_y" value="Y" @crunch-client-header-y@
410         ></td>
411       <td class="dis1" align="center" valign="middle"><input type="radio"
412         name="crunch_client_header" value="N" @crunch-client-header-n@
413         ></td>
414       <td class="noc1" align="center" valign="middle"><input type="radio"
415         name="crunch_client_header" value="X" @crunch-client-header-x@
416         ></td>
417       <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-CLIENT-HEADER">crunch-client-header</a></td>
418       <td>Remove header(s) matching the supplied pattern.</td>
419     </tr>
420     <tr class="bg1" align="left" valign="top" id="crunch_client_header_opts">
421       <td class="en1">&nbsp;</td>
422       <td class="dis1">&nbsp;</td>
423       <td class="noc1">&nbsp;</td>
424       <td>&nbsp;</td>
425       <td>Header string to suppress:<br>
426         <input type="text" name="crunch_client_header_mode" size="40"
427         value="@crunch-client-header-param@"></td>
428     </tr>
429     <tr class="bg1" align="left" valign="top">
430       <td class="en1" align="center" valign="middle"><input type="radio"
431         name="crunch_if_none_match" value="Y" @crunch-if-none-match-y@
432         ></td>
433       <td class="dis1" align="center" valign="middle"><input type="radio"
434         name="crunch_if_none_match" value="N" @crunch-if-none-match-n@
435         ></td>
436       <td class="noc1" align="center" valign="middle"><input type="radio"
437         name="crunch_if_none_match" value="X" @crunch-if-none-match-x@
438         ></td>
439       <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-IF-NONE-MATCH">crunch-if-none-match</a></td>
440       <td>Remove If-None-Match header. Useful for filter testing
441          and to make sure the header can't be used to track your visits.</td>
442     </tr>
443
444     <tr class="bg1" align="left" valign="top">
445       <td class="en1" align="center" valign="middle"><input type="radio"
446         name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
447         ></td>
448       <td class="dis1" align="center" valign="middle"><input type="radio"
449         name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
450         ></td>
451       <td class="noc1" align="center" valign="middle"><input type="radio"
452         name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
453         ></td>
454       <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
455       <td>Prevent the website from setting HTTP cookies on your system.</td>
456     </tr>
457     <tr class="bg1" align="left" valign="top">
458       <td class="en1" align="center" valign="middle"><input type="radio"
459         name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
460         ></td>
461       <td class="dis1" align="center" valign="middle"><input type="radio"
462         name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
463         ></td>
464       <td class="noc1" align="center" valign="middle"><input type="radio"
465         name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
466         ></td>
467       <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
468       <td>Prevent the website from reading HTTP cookies from your system.</td>
469     </tr>
470     <tr class="bg1" align="left" valign="top">
471       <td class="en1" align="center" valign="middle"><input type="radio"
472         name="crunch_server_header" id="crunch_server_header_y" value="Y" @crunch-server-header-y@
473         ></td>
474       <td class="dis1" align="center" valign="middle"><input type="radio"
475         name="crunch_server_header" value="N" @crunch-server-header-n@
476         ></td>
477       <td class="noc1" align="center" valign="middle"><input type="radio"
478         name="crunch_server_header" value="X" @crunch-server-header-x@
479         ></td>
480       <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-SERVER-HEADER">crunch-server-header</a></td>
481       <td>Remove server header(s) matching the supplied pattern.</td>
482     </tr>
483     <tr class="bg1" align="left" valign="top" id="crunch_server_header_opts">
484       <td class="en1">&nbsp;</td>
485       <td class="dis1">&nbsp;</td>
486       <td class="noc1">&nbsp;</td>
487       <td>&nbsp;</td>
488       <td>Header string to suppress:<br>
489         <input type="text" name="crunch_server_header_mode" size="40"
490         value="@crunch-server-header-param@"></td>
491     </tr>
492
493     <tr class="bg1" align="left" valign="top">
494       <td class="en1" align="center" valign="middle"><input type="radio"
495         name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
496         onclick="show_deanimate_opts(true)"></td>
497       <td class="dis1" align="center" valign="middle"><input type="radio"
498         name="deanimate_gifs" value="N" @deanimate-gifs-n@
499         onclick="show_deanimate_opts(false)"></td>
500       <td class="noc1" align="center" valign="middle"><input type="radio"
501         name="deanimate_gifs" value="X" @deanimate-gifs-x@
502         onclick="show_deanimate_opts(false)"></td>
503       <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
504       <td>Replace animated GIFs with their (first/last) frame.</td>
505     </tr>
506     <tr class="bg1" align="left" valign="top" id="deanimate_opts">
507       <td class="en1">&nbsp;</td>
508       <td class="dis1">&nbsp;</td>
509       <td class="noc1">&nbsp;</td>
510       <td>&nbsp;</td>
511       <td>Use the <input type="radio" name="deanimate_gifs_mode"
512         value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
513         for="deanimate_first">first frame</label>&nbsp;&nbsp; <input
514         type="radio" name="deanimate_gifs_mode" value="last"
515         id="deanimate_last" @deanimate-gifs-param-last@><label
516         for="deanimate_last">last frame</label></td>
517     </tr>
518     <tr class="bg1" align="left" valign="top">
519       <td class="en1" align="center" valign="middle"><input type="radio"
520         name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
521       <td class="dis1" align="center" valign="middle"><input type="radio"
522         name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
523       <td class="noc1" align="center" valign="middle"><input type="radio"
524         name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
525       <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION"
526        >downgrade-http-version</a></td>
527       <td>Change HTTP/1.1 requests to HTTP/1.0.  Only change if you know
528         what you're doing!</td>
529     </tr>
530     <tr class="bg1" align="left" valign="top">
531       <td class="en1" align="center" valign="middle"><input type="radio"
532         name="fast_redirects" value="Y" @fast-redirects-y@
533         ></td>
534       <td class="dis1" align="center" valign="middle"><input type="radio"
535         name="fast_redirects" value="N" @fast-redirects-n@
536         ></td>
537       <td class="noc1" align="center" valign="middle"><input type="radio"
538         name="fast_redirects" value="X" @fast-redirects-x@
539         ></td>
540       <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
541       <td>Bypass some click-tracking URLs.</td>
542     </tr>
543     <tr class="bg1" align="left" valign="top" id="fast-redirects_opts">
544       <td class="en1">&nbsp;</td>
545       <td class="dis1">&nbsp;</td>
546       <td class="noc1">&nbsp;</td>
547       <td>&nbsp;</td>
548       <td>
549        <input type="radio" name="fast_redirects_mode"
550         value="simple-check" id="fast_redirects_simple_check" @fast-redirects-param-simple-check@><label
551         for="fast_redirects_simple_check">Simple check.</label>
552        <br>
553        <input type="radio" name="fast_redirects_mode" value="check-decoded-url"
554         id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@><label
555         for="fast_redirects_check_decoded_url">Decode URL before checking.</label></td>
556     </tr>
557 <!-- @if-multiple-forms-start -->
558    </table>
559    <p>
560     <input type="hidden" name="f" value="@f@">
561     <input type="hidden" name="v" value="@v@">
562     <input type="hidden" name="s" value="@s@">
563     <input type="submit" value="Submit changes in Section 1" name="Submit">
564   </p>
565   </form>
566  </td></tr>
567  <tr><td class="wrapbox">
568   <form method="GET" action="edit-actions-submit" id="myform-2" name="myform">
569   <h2>Edit Actions (Section 2)</h2>
570   <table summary="Action section 2" border="0" cellspacing="2" width="100%" class="wide">
571     <tr class="hdr" align="left">
572       <th class="enh" align="center">Enable</th>
573       <th class="dish" align="center">Disable</th>
574       <th class="noch" align="center">No Change</th>
575       <th>Action</th>
576       <th>Description</th>
577     </tr>
578 <!-- if-multiple-forms-end@ -->
579     <tr class="bg1" align="left" valign="top">
580       <td class="en1">&nbsp;</td>
581       <td class="dis1" align="center" valign="middle"><input type="radio"
582         name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
583       <td class="noc1" align="center" valign="middle"><input type="radio"
584         name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
585       <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
586       <td>Filter the website through regular expression
587         filters.  You can use the radio buttons on this line to disable
588         all filters applied by previous rules, and/or you can enable or
589         disable the filters individually below.</td>
590     </tr>
591
592 @content-filter-params@
593
594 <!-- @if-multiple-forms-start -->
595    </table>
596    <p>
597     <input type="hidden" name="f" value="@f@">
598     <input type="hidden" name="v" value="@v@">
599     <input type="hidden" name="s" value="@s@">
600     <input type="submit" value="Submit changes in Section 2" name="Submit">
601    </p>
602   </form>
603  </td></tr>
604  <tr><td class="wrapbox">
605   <form method="GET" action="edit-actions-submit" id="myform-3" name="myform">
606   <h2>Edit Actions (Section 3)</h2>
607   <table summary="Action section 3" border="0" cellspacing="2" width="100%" class="wide">
608     <tr class="hdr" align="left">
609       <th class="enh" align="center">Enable</th>
610       <th class="dish" align="center">Disable</th>
611       <th class="noch" align="center">No Change</th>
612       <th>Action</th>
613       <th>Description</th>
614     </tr>
615 <!-- if-multiple-forms-end@ -->
616    <tr class="bg1" align="left" valign="top">
617       <td class="en1" align="center" valign="middle"><input type="radio"
618         name="force_text_mode" value="Y" @force-text-mode-y@
619         ></td>
620       <td class="dis1" align="center" valign="middle"><input type="radio"
621         name="force_text_mode" value="N" @force-text-mode-n@
622         ></td>
623       <td class="noc1" align="center" valign="middle"><input type="radio"
624         name="force_text_mode" value="X" @force-text-mode-x@
625         ></td>
626       <td class="action"><a href="@user-manual@@actions-help-prefix@FORCE-TEXT-MODE">force-text-mode</a></td>
627       <td>
628        Enable filtering on documents whose Content-Type wasn't recognized as text.
629        Do think twice, nothing is alright.
630      </td>
631     </tr>
632     <tr class="bg1" align="left" valign="top">
633       <td class="en1" align="center" valign="middle"><input type="radio"
634         name="forward_override" id="forward_override_y" value="Y" @forward-override-y@
635         ></td>
636       <td class="dis1" align="center" valign="middle"><input type="radio"
637         name="forward_override" id="forward_override_n" value="N" @forward-override-n@
638         ></td>
639       <td class="noc1" align="center" valign="middle"><input type="radio"
640         name="forward_override" id="forward_override_x" value="X" @forward-override-x@
641         ></td>
642       <td class="action"><a href="@user-manual@@actions-help-prefix@FORWARD-OVERRIDE">forward-override</a></td>
643       <td>Override forward directives in the configuration file.
644           Note that the <a href="@user-manual@actions-file.html#FORWARD-OVERRIDE">parameter syntax</a>
645           isn't checked until the action is used. <strong class="warning">Syntax errors
646           will cause Privoxy to exit.</strong></td>
647     </tr>
648     <tr class="bg1" align="left" valign="top" id="forward_override_language_opts">
649       <td class="en1">&nbsp;</td>
650       <td class="dis1">&nbsp;</td>
651       <td class="noc1">&nbsp;</td>
652       <td>&nbsp;</td>
653       <td>
654         Overriding forward directive:<br>
655         <input type="text" name="forward_override_param"
656         id="forward_override_param" size="40"
657         value="@forward-override-param@"><br>
658      </td>
659     </tr>
660    <tr class="bg1" align="left" valign="top">
661       <td class="en1" align="center" valign="middle"><input type="radio"
662         name="handle_as_empty_document" value="Y" @handle-as-empty-document-y@
663         ></td>
664       <td class="dis1" align="center" valign="middle"><input type="radio"
665         name="handle_as_empty_document" value="N" @handle-as-empty-document-n@
666         ></td>
667       <td class="noc1" align="center" valign="middle"><input type="radio"
668         name="handle_as_empty_document" value="X" @handle-as-empty-document-x@
669         ></td>
670       <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-EMPTY-DOCUMENT">handle-as-empty-document</a></td>
671       <td>
672        Block with an <em>empty</em> document instead of an Image or HTML message.
673        The <em>empty</em> document contains only a space and can safely be parsed
674        as JavaScript or Style Sheet. Use content-type-overwrite to specify the
675        Content-Type, default is <q>text/html</q>.
676      </td>
677     </tr>
678     <tr class="bg1" align="left" valign="top">
679       <td class="en1" align="center" valign="middle"><input type="radio"
680         name="handle_as_image" value="Y" @handle-as-image-y@
681         ></td>
682       <td class="dis1" align="center" valign="middle"><input type="radio"
683         name="handle_as_image" value="N" @handle-as-image-n@
684         ></td>
685       <td class="noc1" align="center" valign="middle"><input type="radio"
686         name="handle_as_image" value="X" @handle-as-image-x@
687         ></td>
688       <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
689       <td>Request is for an image (only useful in conjunction with the <i><b><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></b></i>
690         and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
691     </tr>
692     <tr class="bg1" align="left" valign="top">
693       <td class="en1" align="center" valign="middle"><input type="radio"
694         name="hide_accept_language" id="hide_accept_language_y" value="Y" @hide-accept-language-y@
695         onclick="show_hide_accept_language_opts(true)"></td>
696       <td class="dis1" align="center" valign="middle"><input type="radio"
697         name="hide_accept_language" id="hide_accept_language_n" value="N" @hide-accept-language-n@
698         onclick="show_hide_accept_language_opts(false)"></td>
699       <td class="noc1" align="center" valign="middle"><input type="radio"
700         name="hide_accept_language" id="hide_accept_language_x" value="X" @hide-accept-language-x@
701         onclick="show_hide_accept_language_opts(false)"
702         ></td>
703       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-ACCEPT-LANGUAGE">hide-accept-language</a></td>
704       <td>Pretend to have different language settings. (Makes a fake User-Agent more believable,
705           but you may end up with content in the language you pretended to understand.)</td>
706     </tr>
707     <tr class="bg1" align="left" valign="top" id="hide_accept-language_opts">
708       <td class="en1">&nbsp;</td>
709       <td class="dis1">&nbsp;</td>
710       <td class="noc1">&nbsp;</td>
711       <td>&nbsp;</td>
712       <td><input type="radio" name="hide_accept_language_mode" value="block"
713         onclick="hide_accept_language_param_disable(true)"
714         @hide-accept-language-param-block@ id="hide_accept_language_mode_block"><label
715         for="hide_accept_language_mode_block">Remove Accept-Language header without replacement.</label>
716         <br>
717         <input type="radio" name="hide_accept_language_mode" value="CUSTOM"
718         onclick="hide_accept_language_param_disable(false)"
719         @hide-accept-language-param-custom@ id="hide_accept_language_mode_set"><label
720         for="hide_accept_language_mode_set">Fake these language settings:</label><br>
721         <input type="text" name="hide_accept_language_param"
722         id="hide_accept_language_param" size="40"
723         value="@hide-accept-language-param@"><br>
724      </td>
725     </tr>
726     <tr class="bg1" align="left" valign="top">
727       <td class="en1" align="center" valign="middle"><input type="radio"
728         name="hide_content_disposition" id="hide_content_disposition_y" value="Y" @hide-content-disposition-y@
729         onclick="show_hide_content_disposition_opts(true)"></td>
730       <td class="dis1" align="center" valign="middle"><input type="radio"
731         name="hide_content_disposition" id="hide_content_disposition_n" value="N" @hide-content-disposition-n@
732         onclick="show_hide_content_disposition_opts(false)"></td>
733       <td class="noc1" align="center" valign="middle"><input type="radio"
734         name="hide_content_disposition" id="hide_content_disposition_x" value="X" @hide-content-disposition-x@
735         onclick="show_hide_content_disposition_opts(false)"
736         ></td>
737       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-CONTENT-DISPOSITION">hide-content-disposition</a></td>
738       <td>Block or overwrite the content-disposition header. Useful to view a document inside the browser,
739        even if you were supposed to save it first, or to change the suggested file name.</td>
740     </tr>
741     <tr class="bg1" align="left" valign="top" id="hide_content_disposition_opts">
742       <td class="en1">&nbsp;</td>
743       <td class="dis1">&nbsp;</td>
744       <td class="noc1">&nbsp;</td>
745       <td>&nbsp;</td>
746       <td><input type="radio" name="hide_content_disposition_mode" value="block"
747         onclick="hide_content_disposition_param_disable(true)"
748         @hide-content-disposition-param-block@ id="hide_content_disposition_mode_block"><label
749         for="hide_content_disposition_mode_block">Remove content-disposition header without replacement.</label>
750         <br>
751         <input type="radio" name="hide_content_disposition_mode" value="CUSTOM"
752         onclick="hide_content_disposition_param_disable(false)"
753         @hide-content-disposition-param-custom@ id="hide_content_disposition_mode_set"><label
754         for="hide_content_disposition_mode_set">Overwrite content-dispostion header with:</label><br>
755         <input type="text" name="hide_content_disposition_param"
756         id="hide_content_disposition_param" size="40"
757         value="@hide-content-disposition-param@"><br>
758      </td>
759     </tr>
760     <tr class="bg1" align="left" valign="top">
761       <td class="en1" align="center" valign="middle"><input type="radio"
762         name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
763         onclick="show_hide_from_header_opts(true)"></td>
764       <td class="dis1" align="center" valign="middle"><input type="radio"
765         name="hide_from_header" value="N" @hide-from-header-n@
766         onclick="show_hide_from_header_opts(false)"></td>
767       <td class="noc1" align="center" valign="middle"><input type="radio"
768         name="hide_from_header" value="X" @hide-from-header-x@
769         onclick="show_hide_from_header_opts(false)"></td>
770       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
771       <td>Stop old web browsers from sending the user's e-mail address with
772         every request.</td>
773     </tr>
774     <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
775       <td class="en1">&nbsp;</td>
776       <td class="dis1">&nbsp;</td>
777       <td class="noc1">&nbsp;</td>
778       <td>&nbsp;</td>
779       <td><input type="radio" name="hide_from_header_mode" value="block"
780         onclick="hide_from_header_param_disable(true);"
781         @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
782         for="hide_from_header_mode_block">Remove completely</label><br>
783         <input type="radio" name="hide_from_header_mode" value="CUSTOM"
784         onclick="hide_from_header_param_disable(false);"
785         @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
786         for="hide_from_header_mode_set">Fake e-mail address:</label><br>
787         <input type="text" name="hide_from_header_param" id="hide_from_header_param"
788         size="40" value="@hide-from-header-param@"></td>
789     </tr>
790
791    <tr class="bg1" align="left" valign="top">
792       <td class="en1" align="center" valign="middle"><input type="radio"
793         name="hide_if_modified_since" value="Y" @hide-if-modified-since-y@
794         ></td>
795       <td class="dis1" align="center" valign="middle"><input type="radio"
796         name="hide_if_modified_since" value="N" @hide-if-modified-since-n@
797         ></td>
798       <td class="noc1" align="center" valign="middle"><input type="radio"
799         name="hide_if_modified_since" value="X" @hide-if-modified-since-x@
800         ></td>
801       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-IF-MODIFIED-SINCE">hide-if-modified-since</a></td>
802       <td>Remove or randomize the If-Modified-Since header.</td>
803     </tr>
804     <tr class="bg1" align="left" valign="top" id="hide_if-modifed-since_opts">
805       <td class="en1">&nbsp;</td>
806       <td class="dis1">&nbsp;</td>
807       <td class="noc1">&nbsp;</td>
808       <td>&nbsp;</td>
809       <td><input type="radio" name="hide_if_modified_since_mode" value="block"
810         onclick="hide_if_modified_since_param_disable(true)"
811         @hide-if-modified-since-param-block@ id="hide_if_modified_since_mode_block"><label
812         for="hide_if_modified_since_mode_block">Remove without replacement.</label>
813         Useful for filter testing.<br>
814         <input type="radio" name="hide_if_modified_since_mode" value="CUSTOM"
815         onclick="hide_if_modified_since_param_disable(true)"
816         @hide-if-modified-since-param-custom@ id="hide_if_modified_since_mode_set"><label
817         for="hide_if_modified_since_mode_set">Add random amount of seconds in the range of</label>
818         <input type="text" name="hide_if_modified_since_param"
819         id="hide_if_modified_since_param" size="4"
820         value="@hide-if-modified-since-param@"> minute(s).
821         To appreciate this option a small amount of paranoia is required,
822         but at least in theory the If-Modified-Since header could be used
823         to keep track of your visits.
824      </td>
825     </tr>
826 <!-- @if-multiple-forms-start -->
827    </table>
828    <p>
829     <input type="hidden" name="f" value="@f@">
830     <input type="hidden" name="v" value="@v@">
831     <input type="hidden" name="s" value="@s@">
832     <input type="submit" value="Submit changes in Section 3" name="Submit">
833    </p>
834   </form>
835  </td></tr>
836  <tr><td class="wrapbox">
837   <form method="GET" action="edit-actions-submit" id="myform-4" name="myform">
838   <h2>Edit Actions (Section 4)</h2>
839   <table summary="Action section 4" border="0" cellspacing="2" width="100%" class="wide">
840     <tr class="hdr" align="left">
841       <th class="enh" align="center">Enable</th>
842       <th class="dish" align="center">Disable</th>
843       <th class="noch" align="center">No Change</th>
844       <th>Action</th>
845       <th>Description</th>
846     </tr>
847 <!-- if-multiple-forms-end@ -->
848     <tr class="bg1" align="left" valign="top">
849       <td class="en1" align="center" valign="middle"><input type="radio"
850         name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
851         onclick="show_hide_referrer_opts(true)"></td>
852       <td class="dis1" align="center" valign="middle"><input type="radio"
853         name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
854         onclick="show_hide_referrer_opts(false)"></td>
855       <td class="noc1" align="center" valign="middle"><input type="radio"
856         name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
857         onclick="show_hide_referrer_opts(false)"
858         ></td>
859       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
860       <td>Helps prevent tracking by not sending the URL of the previous web
861         page.&nbsp;</td>
862     </tr>
863     <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
864       <td class="en1">&nbsp;</td>
865       <td class="dis1">&nbsp;</td>
866       <td class="noc1">&nbsp;</td>
867       <td>&nbsp;</td>
868       <td><input type="radio" name="hide_referrer_mode" value="block"
869         onclick="hide_referrer_param_disable(true)"
870         @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
871         for="hide_referrer_mode_block">Remove completely</label> (breaks images
872         on some free web hosts).<br>
873         <input type="radio" name="hide_referrer_mode" value="forge"
874         onclick="hide_referrer_param_disable(true)"
875         @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
876         for="hide_referrer_mode_forge">Fake as the root directory of the
877         site</label> (fools checks for in-site links.)<br>
878         <input type="radio" name="hide_referrer_mode" value="CUSTOM"
879         onclick="hide_referrer_param_disable(false)"
880         @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
881         for="hide_referrer_mode_set">Fake as this web address:</label><br>
882         <input type="text" name="hide_referrer_param"
883         id="hide_referrer_param" size="40"
884         value="@hide-referrer-param@"><br>
885         <input type="radio" name="hide_referrer_mode" value="conditional-block"
886         onclick="hide_referrer_param_disable(true)"
887         @hide-referrer-param-conditional-block@ id="hide_referrer_mode_conditional-block"><label
888         for="hide_referrer_mode_conditional-block">Remove completely if host has changed,
889         but don't touch in-site referrers.
890         Less suspicious than the options above.</label><br>
891         <input type="radio" name="hide_referrer_mode" value="conditional-forge"
892         onclick="hide_referrer_param_disable(true)"
893         @hide-referrer-param-conditional-forge@ id="hide_referrer_mode_conditional-forge"><label
894         for="hide_referrer_mode_conditional-forge">Forge referrer if host has
895         changed, but don't touch in-site referrers.</label><br>
896       </td>
897     </tr>
898     <tr class="bg1" align="left" valign="top">
899       <td class="en1" align="center" valign="middle"><input type="radio"
900         name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
901         onclick="show_user_agent_opts(true)"></td>
902       <td class="dis1" align="center" valign="middle"><input type="radio"
903         name="hide_user_agent" value="N" @hide-user-agent-n@
904         onclick="show_user_agent_opts(false)"></td>
905       <td class="noc1" align="center" valign="middle"><input type="radio"
906         name="hide_user_agent" value="X" @hide-user-agent-x@
907         onclick="show_user_agent_opts(false)"></td>
908       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
909       <td>Pretend to be using a different web browser.&nbsp; (May cause problems with broken web sites).</td>
910     </tr>
911     <tr class="bg1" align="left" valign="top" id="user_agent_opts">
912       <td class="en1">&nbsp;</td>
913       <td class="dis1">&nbsp;</td>
914       <td class="noc1">&nbsp;</td>
915       <td>&nbsp;</td>
916       <td>User Agent string to send:<br>
917         <input type="text" name="hide_user_agent_mode" size="40"
918         value="@hide-user-agent-param@"></td>
919     </tr>
920     <tr class="bg1" align="left" valign="top">
921       <td class="en1" align="center" valign="middle"><input type="radio"
922         name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
923         onclick="show_limit_connect_opts(true)"></td>
924       <td class="dis1" align="center" valign="middle"><input type="radio"
925         name="limit_connect" value="N" @limit-connect-n@
926         onclick="show_limit_connect_opts(false)"></td>
927       <td class="noc1" align="center" valign="middle"><input type="radio"
928         name="limit_connect" value="X" @limit-connect-x@
929         onclick="show_limit_connect_opts(false)"></td>
930       <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
931       <td>Limit which ports are allowed in HTTP CONNECT requests. These requests are
932         used to tunnel SSL and other protocols through HTTP proxies.</td>
933     </tr>
934     <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
935       <td class="en1">&nbsp;</td>
936       <td class="dis1">&nbsp;</td>
937       <td class="noc1">&nbsp;</td>
938       <td>&nbsp;</td>
939       <td>Legal ports (comma separated, ranges allowed):<br>
940         <input type="text" name="limit_connect_mode" size="40"
941         value="@limit-connect-param@"></td>
942     </tr>
943     <tr class="bg1" align="left" valign="top">
944       <td class="en1" align="center" valign="middle"><input type="radio"
945         name="limit_cookie_lifetime" id="limit_cookie_lifetime_y" value="Y" @limit-cookie-lifetime-y@
946         onclick="show_limit_cookie_lifetime_opts(true)"></td>
947       <td class="dis1" align="center" valign="middle"><input type="radio"
948         name="limit_cookie_lifetime" value="N" @limit-cookie-lifetime-n@
949         onclick="show_limit_cookie_lifetime_opts(false)"></td>
950       <td class="noc1" align="center" valign="middle"><input type="radio"
951         name="limit_cookie_lifetime" value="X" @limit-cookie-lifetime-x@
952         onclick="show_limit_cookie_lifetime_opts(false)"></td>
953       <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-COOKIE-LIFETIME">limit-cookie-lifetime</a></td>
954       <td>Limit the cookie lifetime specified in Set-Cookie headers.</td>
955     </tr>
956     <tr class="bg1" align="left" valign="top" id="limit_cookie_lifetime_opts">
957       <td class="en1">&nbsp;</td>
958       <td class="dis1">&nbsp;</td>
959       <td class="noc1">&nbsp;</td>
960       <td>&nbsp;</td>
961       <td>Lifetime limit in minutes (or 0 to behave like
962         <a href="@user-manual@@actions-help-prefix@LIMIT-COOKIE-LIFETIME">session-cookies-only</a>):<br>
963         <input type="text" name="limit_cookie_lifetime_mode" size="40"
964         value="@limit-cookie-lifetime-param@"></td>
965     </tr>
966     <tr class="bg1" align="left" valign="top">
967       <td class="en1" align="center" valign="middle"><input type="radio"
968         name="overwrite_last_modified" value="Y" @overwrite-last-modified-y@
969         ></td>
970       <td class="dis1" align="center" valign="middle"><input type="radio"
971         name="overwrite_last_modified" value="N" @overwrite-last-modified-n@
972         ></td>
973       <td class="noc1" align="center" valign="middle"><input type="radio"
974         name="overwrite_last_modified" value="X" @overwrite-last-modified-x@
975         ></td>
976       <td class="action"><a href="@user-manual@@actions-help-prefix@OVERWRITE-LAST-MODIFIED">overwrite-last-modified</a></td>
977       <td>Remove or randomize the Last-Modified header.</td>
978     </tr>
979     <tr class="bg1" align="left" valign="top" id="overwrite_last_modified_opts">
980       <td class="en1">&nbsp;</td>
981       <td class="dis1">&nbsp;</td>
982       <td class="noc1">&nbsp;</td>
983       <td>&nbsp;</td>
984       <td><input type="radio" name="overwrite_last_modified_mode" value="block"
985         onclick="overwrite_last_modified_param_disable(true)"
986         @overwrite-last-modified-param-block@ id="overwrite_last_modified_mode_block"><label
987         for="overwrite_last_modified_mode_block">Remove without replacement.</label>
988         <br>
989         <input type="radio" name="overwrite_last_modified_mode" value="reset-to-request-time"
990         onclick="overwrite_last_modified_param_disable(true)"
991         @overwrite-last-modified-param-reset-to-request-time@
992          id="overwrite_last_modified_mode_reset-to-request-time"><label
993         for="overwrite_last_modified_mode_reset-to-request-time">Reset to the time of the request.</label>
994         <br>
995         <input type="radio" name="overwrite_last_modified_mode" value="randomize"
996         onclick="overwrite_last_modified_param_disable(true)"
997         @overwrite-last-modified-param-randomize@
998          id="overwrite_last_modified_mode_randomize"><label
999         for="overwrite_last_modified_mode_randomize">Overwrite with random value
1000         between original header value and the time of the request.</label>
1001      </td>
1002     </tr>
1003
1004     <tr class="bg1" align="left" valign="top">
1005       <td class="en1" align="center" valign="middle"><input type="radio"
1006         name="prevent_compression" value="Y" @prevent-compression-y@
1007         ></td>
1008       <td class="dis1" align="center" valign="middle"><input type="radio"
1009         name="prevent_compression" value="N" @prevent-compression-n@
1010         ></td>
1011       <td class="noc1" align="center" valign="middle"><input type="radio"
1012         name="prevent_compression" value="X" @prevent-compression-x@
1013         ></td>
1014       <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
1015       <td>Disables compression.  Compressed web pages are faster to
1016         download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
1017         or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>
1018         if your Privoxy version was build without zlib support.</td>
1019     </tr>
1020    <tr class="bg1" align="left" valign="top">
1021       <td class="en1" align="center" valign="middle"><input type="radio"
1022         name="redirect" value="Y" @redirect-y@
1023         ></td>
1024       <td class="dis1" align="center" valign="middle"><input type="radio"
1025         name="redirect" value="N" @redirect-n@
1026         ></td>
1027       <td class="noc1" align="center" valign="middle"><input type="radio"
1028         name="redirect" value="X" @redirect-x@
1029         ></td>
1030       <td class="action"><a href="@user-manual@@actions-help-prefix@REDIRECT">redirect</a></td>
1031       <td>Redirect to another address.
1032     </tr>
1033     <tr class="bg1" align="left" valign="top" id="redirect_opts">
1034       <td class="en1">&nbsp;</td>
1035       <td class="dis1">&nbsp;</td>
1036       <td class="noc1">&nbsp;</td>
1037       <td>&nbsp;</td>
1038       <td>Static address or a single pcrs command to redirect to a rewritten version of the original URL:<br>
1039         <input type="text" name="redirect_mode" size="40"
1040         value="@redirect-param@"></td>
1041     </tr>
1042
1043     <tr class="bg1" align="left" valign="top">
1044       <td class="en1">&nbsp;</td>
1045       <td class="dis1" align="center" valign="middle"><input type="radio"
1046         name="server_header_filter_all" id="server_header_filter_all_n" value="N" @server-header-filter-all-n@ ></td>
1047       <td class="noc1" align="center" valign="middle"><input type="radio"
1048         name="server_header_filter_all" id="server_header_filter_all_x" value="X" @server-header-filter-all-x@ ></td>
1049       <td class="action"><a href="@user-manual@@actions-help-prefix@SERVER-HEADER-FILTER">server-header-filter</a> *</td>
1050       <td>Filter the server headers.
1051         You can use the radio buttons on this line to disable
1052         all server-header filters applied by previous rules, and/or
1053         you can enable or disable the filters individually below.</td>
1054     </tr>
1055 @server-header-filter-params@
1056     <tr class="bg1" align="left" valign="top">
1057       <td class="en1">&nbsp;</td>
1058       <td class="dis1" align="center" valign="middle"><input type="radio"
1059         name="server_header_tagger_all" id="server_header_tagger_all_n" value="N" @server-header-tagger-all-n@ ></td>
1060       <td class="noc1" align="center" valign="middle"><input type="radio"
1061         name="server_header_tagger_all" id="server_header_tagger_all_x" value="X" @server-header-tagger-all-x@ ></td>
1062       <td class="action"><a href="@user-manual@@actions-help-prefix@SERVER-HEADER-TAGGER">server-header-tagger</a> *</td>
1063       <td>Create tags based on the server headers.
1064         You can use the radio buttons on this line to disable
1065         all server-header taggers applied by previous rules, and/or
1066         you can enable or disable the taggers individually below.</td>
1067     </tr>
1068 @server-header-tagger-params@
1069     <tr class="bg1" align="left" valign="top">
1070       <td class="en1" align="center" valign="middle"><input type="radio"
1071         name="session_cookies_only" value="Y" @session-cookies-only-y@
1072         ></td>
1073       <td class="dis1" align="center" valign="middle"><input type="radio"
1074         name="session_cookies_only" value="N" @session-cookies-only-n@
1075         ></td>
1076       <td class="noc1" align="center" valign="middle"><input type="radio"
1077         name="session_cookies_only" value="X" @session-cookies-only-x@
1078         ></td>
1079       <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
1080       <td>HTTP cookies set by the website are changed to temporary
1081         ("per-session") ones, which only last until you close your web
1082         browser.  This will allow you to use sites that require cookies, but
1083         sites will not be able to track you across sessions.  For this to
1084         be useful, you should disable
1085         <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
1086         <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
1087     </tr>
1088     <tr class="bg1" align="left" valign="top">
1089       <td class="en1" align="center" valign="middle"><input type="radio"
1090         name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
1091         onclick="show_set_image_blocker_opts(true)"></td>
1092       <td class="dis1" align="center" valign="middle"><input type="radio"
1093         name="set_image_blocker" value="N" @set-image-blocker-n@
1094         onclick="show_set_image_blocker_opts(false)"></td>
1095       <td class="noc1" align="center" valign="middle"><input type="radio"
1096         name="set_image_blocker" value="X" @set-image-blocker-x@
1097         onclick="show_set_image_blocker_opts(false)"></td>
1098       <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
1099       <td>Specifies how to block images.</td>
1100     </tr>
1101     <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
1102       <td class="en1">&nbsp;</td>
1103       <td class="dis1">&nbsp;</td>
1104       <td class="noc1">&nbsp;</td>
1105       <td>&nbsp;</td>
1106       <td><input type="radio" name="set_image_blocker_mode"
1107         onclick="set_image_blocker_param_disable(true)"
1108         value="pattern" id="set_image_blocker_mode_pattern"
1109         @set-image-blocker-param-pattern@><label
1110         for="set_image_blocker_mode_pattern">Send a pattern (<img
1111         src="send-banner?type=p" width="12" height="12"
1112         alt="pattern">)</label><br>
1113         <input type="radio" name="set_image_blocker_mode" value="blank"
1114         onclick="set_image_blocker_param_disable(true)"
1115         id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
1116         for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
1117         <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
1118         onclick="set_image_blocker_param_disable(false)"
1119         id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
1120         for="set_image_blocker_mode_set">Redirect
1121         the browser to this image URL:</label><br>
1122         <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
1123         size="40" value="@set-image-blocker-param@"></td>
1124     </tr>
1125   </table>
1126
1127 <!-- @if-multiple-forms-start -->
1128   <p>
1129    <input type="hidden" name="f" value="@f@">
1130    <input type="hidden" name="v" value="@v@">
1131    <input type="hidden" name="s" value="@s@">
1132    <input type="submit" value="Submit changes in Section 4" name="Submit">
1133   </p>
1134  </form>
1135 <!-- if-multiple-forms-end@ -->
1136 </td></tr>
1137 <!-- @if-one-form-only-start -->
1138     <tr>
1139       <td class="green" align="center">
1140         <p><input type="submit" value="Submit" name="Submit"></p>
1141       </td>
1142     </tr>
1143 <!-- if-one-form-only-end@ -->
1144     <tr>
1145       <td class="box">
1146         <h2>More Privoxy:</h2>
1147         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
1148       </td>
1149     </tr>
1150
1151     <tr>
1152       <td class="info">
1153
1154 #include mod-support-and-service
1155
1156       </td>
1157     </tr>
1158
1159 <!-- @if-have-help-info-start -->
1160     <tr>
1161       <td class="info">
1162
1163 #include mod-local-help
1164
1165       </td>
1166     </tr>
1167 <!-- if-have-help-info-end@ -->
1168
1169   </table>
1170 <!-- @if-one-form-only-start -->
1171 </form>
1172 <!-- if-one-form-only-end@ -->
1173
1174 <script type="text/javascript">
1175 <!--
1176
1177 if (document.getElementById) {
1178     // alert("Netscape 6 or IE5");
1179     document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
1180     document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
1181     document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
1182
1183     show_add_header_opts    (document.getElementById("add_header_y").checked);
1184     show_deanimate_opts     (document.getElementById("deanimate_gifs_y").checked);
1185     show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
1186     show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
1187     show_user_agent_opts    (document.getElementById("hide_user_agent_y").checked);
1188     show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
1189     show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
1190     show_send_wafer_opts    (document.getElementById("send_wafer_y").checked);
1191 } else if (document.all) {
1192     // alert("IE4");
1193     document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
1194     document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
1195     document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
1196
1197     show_add_header_opts    (document.myform.add_header_y.checked);
1198     show_deanimate_opts     (document.myform.deanimate_gifs_y.checked);
1199     show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
1200     show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
1201     show_user_agent_opts    (document.myform.hide_user_agent_y.checked);
1202     show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
1203     show_limit_connect_opts (document.myform.limit_connect_y.checked);
1204     show_send_wafer_opts    (document.myform.send_wafer_y.checked);
1205 } else if (document.layers) {
1206     // alert("Netscape 4");
1207 }
1208 //-->
1209 </script>
1210
1211
1212 </body>
1213
1214 </html>