1 ##############################################################################
3 # File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $
5 # Purpose : Template used to edit the actions associated with a
6 # particular section in an actions file.
9 # Copyright : Written by and Copyright (C) 2001-2008 the SourceForge
10 # Privoxy team. http://www.privoxy.org/
12 # Original Author: Copyright (C) 2001 Jonathan Foster
13 # http://www.jon-foster.co.uk/
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.
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.
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.
34 # $Log: edit-actions-for-url,v $
35 # Revision 1.50 2008/03/04 18:30:44 fabiankeil
36 # Remove the treat-forbidden-connects-like-blocks action. We now
37 # use the "blocked" page for forbidden CONNECT requests by default.
39 # Revision 1.49 2008/03/01 14:00:47 fabiankeil
40 # Let the block action take the reason for the block
41 # as argument and show it on the "blocked" page.
43 # Revision 1.48 2007/12/11 21:18:55 fabiankeil
44 # Make forward-override accessible through the CGI editor.
46 # Revision 1.47 2007/12/06 18:21:55 fabiankeil
47 # Update hide-forwarded-for-headers description.
49 # Revision 1.46 2007/11/10 15:06:10 fabiankeil
50 # - Add support for +hide-referrer{conditional-forge}.
53 # Revision 1.45 2007/05/24 13:38:45 fabiankeil
56 # Revision 1.44 2007/04/15 16:39:21 fabiankeil
57 # Introduce tags as alternative way to specify which
58 # actions apply to a request. At the moment tags can be
59 # created based on client and server headers.
61 # Revision 1.43 2007/03/29 11:40:34 fabiankeil
62 # Divide @filter-params@ into @client-header-filter-params@
63 # @content-filter-params@ and @server-header-filter-params@.
65 # Revision 1.42 2007/03/20 15:40:00 fabiankeil
66 # Adjust to new world order with dedicated header-filter actions.
68 # Revision 1.41 2007/01/23 16:03:16 fabiankeil
69 # - Add favicon links.
70 # - Remove useless W3C validator links.
72 # Revision 1.40 2006/12/21 13:01:03 fabiankeil
73 # Prepare for "split-large-forms".
75 # Mention that redirect{} now also understands
76 # a single pcrs job as argument.
78 # Add some table summaries and remove useless validator link.
80 # Revision 1.39 2006/10/04 17:37:54 fabiankeil
81 # JavaScript fix for bug report #1570678.
83 # Revision 1.38 2006/09/08 12:06:35 fabiankeil
84 # Have hide-if-modified-since interpret the random
85 # range value as minutes instead of hours. Allows
86 # more fine-grained configuration.
88 # Revision 1.37 2006/09/05 18:20:14 fabiankeil
89 # Sorted alphabetically, fixed spelling mistakes
90 # and shortened some descriptions.
92 # Revision 1.36 2006/08/14 08:29:17 fabiankeil
93 # Split filter-headers{} into filter-client-headers{}
94 # and filter-server-headers{}.
96 # Revision 1.35 2006/08/03 02:46:42 david__schmidt
97 # Incorporate Fabian Keil's patch work:
\rhttp://www.fabiankeil.de/sourcecode/privoxy/
99 # Revision 1.34 2006/07/18 14:49:13 david__schmidt
100 # Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
101 # with what was really the latest development (the v_3_0_branch branch)
103 # Revision 1.29.2.5 2004/10/05 03:17:26 david__schmidt
104 # Typo: inspect_jpegs, not inspect-jpegs in form
106 # Revision 1.29.2.4 2004/10/03 12:53:46 david__schmidt
107 # Add the ability to check jpeg images for invalid
108 # lengths of comment blocks. Defensive strategy
109 # against the exploit:
110 # Microsoft Security Bulletin MS04-028
111 # Buffer Overrun in JPEG Processing (GDI+) Could
112 # Allow Code Execution (833987)
113 # Enabled with +inspect-jpegs in actions files.
115 # Revision 1.29.2.3 2002/08/23 02:22:53 hal9
116 # Fix a perl brain fart with <li> in comments.
118 # Revision 1.29.2.1 2002/08/02 12:51:42 oes
119 # Added top submit button; Consistency with docs: Change default name for action from hide-referer to hide-referrer
121 # Revision 1.29 2002/05/21 19:10:57 oes
122 # Fixed JavaScript error
124 # Revision 1.28 2002/05/14 21:36:38 oes
125 # - Renamed prevent-(setting/reading)-cookies to
126 # crunch-(incoming/outgoing)-cookies
127 # - Renamed helplink export to actions-help-prefix
128 # - Restored alphabetical order of actions
130 # Revision 1.27 2002/04/26 22:55:26 jongfoster
131 # Removing the alternating colors because they've been wrong
132 # since the actions renames, they're high maintenance, they
133 # don't look particularly good, and now there are gaps between
134 # the table cells we don't need them.
136 # Revision 1.26 2002/04/26 21:55:17 jongfoster
137 # Cosmetic change: Making the +filter UI look the same as
140 # Revision 1.25 2002/04/26 21:37:50 jongfoster
141 # Fixing all(?) the substitutions that were broken in the
142 # recent actions rename.
144 # Revision 1.24 2002/04/26 18:24:28 jongfoster
145 # Fixing typos in help hyperlinks
147 # Revision 1.23 2002/04/26 12:57:02 oes
148 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
150 # Revision 1.22 2002/04/10 13:32:53 oes
151 # Made templates modular
153 # Revision 1.21 2002/04/08 17:05:18 oes
154 # Inline a style exception
156 # Revision 1.20 2002/04/05 16:01:30 oes
157 # Correct HTML, external Stylesheets, eye candy, some fixes
159 # Revision 1.19 2002/03/26 22:29:56 swa
160 # we have a new homepage!
162 # Revision 1.18 2002/03/24 16:32:08 jongfoster
163 # Removing logo option
165 # Revision 1.17 2002/03/24 15:23:33 jongfoster
168 # Revision 1.16 2002/03/24 11:01:06 swa
171 # Revision 1.15 2002/03/23 16:18:15 swa
172 # renamed every reference to the old name with foobar.
173 # fixed "application foobar application" tag, fixed
174 # "the foobar" with "foobar". left junkbuster in cvs
175 # comments and remarks to history untouched. should
176 # make final rename easier.
178 # Revision 1.14 2002/03/16 15:22:19 jongfoster
179 # Moving 'alpha' warning to the end of the page
181 # Revision 1.13 2002/03/16 14:28:38 jongfoster
182 # First version of modular filters support
184 # Revision 1.12 2002/03/12 01:42:50 oes
185 # Introduced modular filters
187 # Revision 1.11 2002/03/08 18:19:14 jongfoster
188 # Adding +image-blocker{pattern} option to edit interface
190 # Revision 1.10 2002/03/03 10:29:12 swa
191 # point users to the right feedback forms,
192 # not necessarily the developer list.
194 # Revision 1.9 2002/01/23 00:26:45 jongfoster
195 # Reducing length of URLs
196 # Where encoded and unencoded versions of a string existed, removing
199 # Revision 1.8 2002/01/17 21:33:00 jongfoster
200 # Replacing all references to the URL of the config interface
203 # Revision 1.7 2002/01/17 21:21:03 jongfoster
204 # DOS->Unix line endings
206 # Revision 1.6 2001/11/22 21:58:41 jongfoster
207 # Adding action +no-cookies-keep
209 # Revision 1.5 2001/11/13 21:12:17 jongfoster
210 # Added support for the following actions:
211 # +downgrade, +limit-connect, +no-compression
213 # Revision 1.4 2001/11/13 00:58:18 jongfoster
214 # New version of actions file editor templates
217 ##############################################################################
219 # Browser support for the JavaScript on this page:
220 # MS Internet Explorer 5.5 - Tested, Yes
221 # Netscape 6.0 - Tested, Yes
222 # Netscape 4.75 - Tested, NO
223 # Opera 5.12 - Tested, NO
224 # MS Internet Explorer 4+ - Untested, Yes
225 # MS IE 3.x, NS3.x - Untested, NO
226 # Mozilla >=0.6 - Untested, Yes
228 # All browsers should work, you just might not get the pretty DHTML effects.
230 # The effects that only work under the browsers marked "Yes" above are:
231 # - Text edit boxes that won't have any effect are disabled.
232 # - Table rows containing additional settings are hidden if the feature in
233 # question is disabled.
235 # There are major kludges to get around these problems with NS4, but they
236 # screw up the HTML too much for other browsers. If anyone wants to try,
237 # here's some descriptions of the kludges:
238 # http://www.webreference.com/js/tips/991114.html
239 # http://www.webreference.com/dhtml/column12/outDisplay.html
241 # If you're favorite browser isn't listed, please test and add it.
244 #############################################################################
248 # This file currently produces valid HTML 4.01 Strict.
250 # If you change it, please save the generated page from your web browser
251 # and then upload it to http://validator.w3.org/ for checking.
253 #############################################################################
255 # Available variables include:
261 # deanimate-gifs-param-first
262 # deanimate-gifs-param-last
263 # hide-from-param-block
264 # hide-from-param-custom
266 # hide-referrer-param-forge
267 # hide-referrer-param-block
268 # hide-referrer-param-custom
269 # hide-referrer-param
270 # hide-user-agent-param
271 # image-blocker-param-pattern
272 # image-blocker-param-blank
273 # image-blocker-param-custom
276 #############################################################################
277 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
281 <meta http-equiv="Content-Style-Type" content="text/css">
282 <meta http-equiv="Content-Script-Type" content="text/javascript">
283 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
284 <meta name="robots" content="noindex,nofollow">
285 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
286 <link rel="shortcut icon" href="@default-cgi@favicon.ico" type="image/x-icon">
288 <title>Privoxy@@my-hostname@: Edit actions</title>
290 <style type="text/css">
291 td.action { font-weight: bold;
293 white-space: nowrap }
294 td.subaction { font-style: italic }
295 th { font-weight: bold; }
296 # This is the key to the color names below:
297 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
298 # 1=odd rows, 2=even rows, h=Table header
299 tr.hdr { background-color: #999999 }
300 tr.bg1 { background-color: #eeeeee }
301 td.en1 { background-color: #ddffdd }
302 td.dis1 { background-color: #ffdddd }
303 td.noc1 { background-color: #ddddff }
304 th.enh { background-color: #99ff99 }
305 th.dish { background-color: #ff9999 }
306 th.noch { background-color: #9999ff }
307 table.wide { padding: 5px; }
308 td.green { border: solid black 1px; background-color: #ddffdd; }
314 border-left-width: 10px;
315 border-right-width: 10px;
316 border-top-width: 0px;
317 border-bottom-width: 0px }
320 <script type="text/javascript">
323 function hide_from_header_param_disable(tf)
325 if (document.getElementById) {
327 document.getElementById("hide_from_header_param").disabled = tf;
328 } else if (document.all) {
330 document.myform.hide_from_header_param.disabled = tf;
334 function hide_referrer_param_disable(tf)
336 if (document.getElementById) {
337 document.getElementById("hide_referrer_param").disabled = tf;
338 } else if (document.all) {
339 document.myform.hide_referrer_param.disabled = tf;
343 function set_image_blocker_param_disable(tf)
345 if (document.getElementById) {
346 document.getElementById("set_image_blocker_param").disabled = tf;
347 } else if (document.all) {
348 document.myform.set_image_blocker_param.disabled = tf;
352 function show_add_header_opts(tf)
354 if (document.getElementById) {
355 target = document.getElementById("add_header_opts");
356 } else if (document.all) {
357 target = document.add_header_opts;
361 target.style.display = (tf ? "" : "none");
364 function show_deanimate_opts(tf)
366 if (document.getElementById) {
367 target = document.getElementById("deanimate_opts");
368 } else if (document.all) {
369 target = document.deanimate_opts;
373 target.style.display = (tf ? "" : "none");
376 function show_hide_from_header_opts(tf)
378 if (document.getElementById) {
379 target = document.getElementById("hide_from_header_opts");
380 } else if (document.all) {
381 target = document.hide_from_header_opts;
385 target.style.display = (tf ? "" : "none");
388 function show_hide_referrer_opts(tf)
390 if (document.getElementById) {
391 target = document.getElementById("hide_referrer_opts");
392 } else if (document.all) {
393 target = document.hide_referrer_opts;
397 target.style.display = (tf ? "" : "none");
400 function show_user_agent_opts(tf)
402 if (document.getElementById) {
403 target = document.getElementById("user_agent_opts");
404 } else if (document.all) {
405 target = document.user_agent_opts;
409 target.style.display = (tf ? "" : "none");
412 function show_set_image_blocker_opts(tf)
414 if (document.getElementById) {
415 target = document.getElementById("set_image_blocker_opts");
416 } else if (document.all) {
417 target = document.set_image_blocker_opts;
421 target.style.display = (tf ? "" : "none");
424 function show_limit_connect_opts(tf)
426 if (document.getElementById) {
427 target = document.getElementById("limit_connect_opts");
428 } else if (document.all) {
429 target = document.limit_connect_opts;
433 target.style.display = (tf ? "" : "none");
436 function show_send_wafer_opts(tf)
438 if (document.getElementById) {
439 target = document.getElementById("send_wafer_opts");
440 } else if (document.all) {
441 target = document.send_wafer_opts;
445 target.style.display = (tf ? "" : "none");
454 <!-- @if-one-form-only-start -->
455 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
456 <!-- if-one-form-only-end@ -->
458 <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
467 <!-- @if-unstable-start -->
468 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
472 #include mod-unstable-warning
476 <!-- if-unstable-end@ -->
478 <!-- @if-one-form-only-start -->
482 <input type="hidden" name="f" value="@f@">
483 <input type="hidden" name="v" value="@v@">
484 <input type="hidden" name="s" value="@s@">
490 <td class="green" align="center">
491 <p><input type="submit" value="Submit" name="Submit"></p>
494 <!-- if-one-form-only-end@ -->
496 <tr><td class="wrapbox">
498 <!-- @if-multiple-forms-start -->
499 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
500 <h2>Edit Actions (Section 1)</h2>
501 <!-- if-multiple-forms-end@ -->
503 <table summary="Action section 1" border="0" cellspacing="2" width="100%" class="wide">
504 <tr class="hdr" align="left">
505 <th class="enh" align="center">Enable</th>
506 <th class="dish" align="center">Disable</th>
507 <th class="noch" align="center">No Change</th>
511 <tr class="bg1" align="left" valign="top">
512 <td class="en1" align="center" valign="middle"><input type="radio"
513 name="add_header" id="add_header_y" value="Y" @add-header-y@
514 onclick="show_add_header_opts(true)"></td>
515 <td class="dis1" align="center" valign="middle"><input type="radio"
516 name="add_header" value="N" @add-header-n@
517 onclick="show_add_header_opts(false)"></td>
518 <td class="noc1" align="center" valign="middle"><input type="radio"
519 name="add_header" value="X" @add-header-x@
520 onclick="show_add_header_opts(false)"></td>
521 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
522 <td>Adds HTTP headers.</td>
524 <tr class="bg1" align="left" valign="top" id="add_header_opts">
525 <td class="en1"> </td>
526 <td class="dis1"> </td>
527 <td class="noc1"> </td>
529 <td>Editing the settings for this option, or turning
530 it on if it was off, is not yet supported using this web-based
533 <tr class="bg1" align="left" valign="top">
534 <td class="en1" align="center" valign="middle"><input type="radio"
535 name="block" value="Y" @block-y@
537 <td class="dis1" align="center" valign="middle"><input type="radio"
538 name="block" value="N" @block-n@
540 <td class="noc1" align="center" valign="middle"><input type="radio"
541 name="block" value="X" @block-x@
543 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
544 <td>Block the request.</td>
546 <tr class="bg1" align="left" valign="top" id="block_opts">
547 <td class="en1"> </td>
548 <td class="dis1"> </td>
549 <td class="noc1"> </td>
551 <td>Block reason to tell the user:<br>
552 <input type="text" name="block_mode" size="40" value="@block-param@">
556 @client-header-filter-params@
557 @client-header-tagger-params@
559 <tr class="bg1" align="left" valign="top">
560 <td class="en1" align="center" valign="middle"><input type="radio"
561 name="content_type_overwrite" value="Y" @content-type-overwrite-y@
563 <td class="dis1" align="center" valign="middle"><input type="radio"
564 name="content_type_overwrite" value="N" @content-type-overwrite-n@
566 <td class="noc1" align="center" valign="middle"><input type="radio"
567 name="content_type_overwrite" value="X" @content-type-overwrite-x@
569 <td class="action"><a href="@user-manual@@actions-help-prefix@CONTENT_TYPE_OVERWRITE">content-type-overwrite</a></td>
570 <td>Replace Content-Type header. By default it only applies to
571 text documents, but if you know what you're doing you
572 can enable force-text-mode to modify binary content types as well.</td>
574 <tr class="bg1" align="left" valign="top" id="content_type_overwrite_opts">
575 <td class="en1"> </td>
576 <td class="dis1"> </td>
577 <td class="noc1"> </td>
579 <td>New Content-Type:<br>
580 <input type="text" name="content_type_overwrite_mode" size="40"
581 value="@content-type-overwrite-param@"></td>
583 <tr class="bg1" align="left" valign="top">
584 <td class="en1" align="center" valign="middle"><input type="radio"
585 name="crunch_client_header" id="crunch_client_header_y" value="Y" @crunch-client-header-y@
587 <td class="dis1" align="center" valign="middle"><input type="radio"
588 name="crunch_client_header" value="N" @crunch-client-header-n@
590 <td class="noc1" align="center" valign="middle"><input type="radio"
591 name="crunch_client_header" value="X" @crunch-client-header-x@
593 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-CLIENT-HEADER">crunch-client-header</a></td>
594 <td>Remove header(s) matching the supplied pattern.</td>
596 <tr class="bg1" align="left" valign="top" id="crunch_client_header_opts">
597 <td class="en1"> </td>
598 <td class="dis1"> </td>
599 <td class="noc1"> </td>
601 <td>Header string to suppress:<br>
602 <input type="text" name="crunch_client_header_mode" size="40"
603 value="@crunch-client-header-param@"></td>
605 <tr class="bg1" align="left" valign="top">
606 <td class="en1" align="center" valign="middle"><input type="radio"
607 name="crunch_if_none_match" value="Y" @crunch-if-none-match-y@
609 <td class="dis1" align="center" valign="middle"><input type="radio"
610 name="crunch_if_none_match" value="N" @crunch-if-none-match-n@
612 <td class="noc1" align="center" valign="middle"><input type="radio"
613 name="crunch_if_none_match" value="X" @crunch-if-none-match-x@
615 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH_IF_NONE_MATCH">crunch-if-none-match</a></td>
616 <td>Remove If-None-Match header. Useful for filter testing
617 and to make sure the header can't be used to track your visits.</td>
620 <tr class="bg1" align="left" valign="top">
621 <td class="en1" align="center" valign="middle"><input type="radio"
622 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
624 <td class="dis1" align="center" valign="middle"><input type="radio"
625 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
627 <td class="noc1" align="center" valign="middle"><input type="radio"
628 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
630 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
631 <td>Prevent the website from setting HTTP cookies on your system.</td>
633 <tr class="bg1" align="left" valign="top">
634 <td class="en1" align="center" valign="middle"><input type="radio"
635 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
637 <td class="dis1" align="center" valign="middle"><input type="radio"
638 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
640 <td class="noc1" align="center" valign="middle"><input type="radio"
641 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
643 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
644 <td>Prevent the website from reading HTTP cookies from your system.</td>
646 <tr class="bg1" align="left" valign="top">
647 <td class="en1" align="center" valign="middle"><input type="radio"
648 name="crunch_server_header" id="crunch_server_header_y" value="Y" @crunch-server-header-y@
650 <td class="dis1" align="center" valign="middle"><input type="radio"
651 name="crunch_server_header" value="N" @crunch-server-header-n@
653 <td class="noc1" align="center" valign="middle"><input type="radio"
654 name="crunch_server_header" value="X" @crunch-server-header-x@
656 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-SERVER-HEADER">crunch-server-header</a></td>
657 <td>Remove server header(s) matching the supplied pattern.</td>
659 <tr class="bg1" align="left" valign="top" id="crunch_server_header_opts">
660 <td class="en1"> </td>
661 <td class="dis1"> </td>
662 <td class="noc1"> </td>
664 <td>Header string to suppress:<br>
665 <input type="text" name="crunch_server_header_mode" size="40"
666 value="@crunch-server-header-param@"></td>
669 <tr class="bg1" align="left" valign="top">
670 <td class="en1" align="center" valign="middle"><input type="radio"
671 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
672 onclick="show_deanimate_opts(true)"></td>
673 <td class="dis1" align="center" valign="middle"><input type="radio"
674 name="deanimate_gifs" value="N" @deanimate-gifs-n@
675 onclick="show_deanimate_opts(false)"></td>
676 <td class="noc1" align="center" valign="middle"><input type="radio"
677 name="deanimate_gifs" value="X" @deanimate-gifs-x@
678 onclick="show_deanimate_opts(false)"></td>
679 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
680 <td>Replace animated GIFs with their (first/last) frame.</td>
682 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
683 <td class="en1"> </td>
684 <td class="dis1"> </td>
685 <td class="noc1"> </td>
687 <td>Use the <input type="radio" name="deanimate_gifs_mode"
688 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
689 for="deanimate_first">first frame</label> <input
690 type="radio" name="deanimate_gifs_mode" value="last"
691 id="deanimate_last" @deanimate-gifs-param-last@><label
692 for="deanimate_last">last frame</label></td>
694 <tr class="bg1" align="left" valign="top">
695 <td class="en1" align="center" valign="middle"><input type="radio"
696 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
697 <td class="dis1" align="center" valign="middle"><input type="radio"
698 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
699 <td class="noc1" align="center" valign="middle"><input type="radio"
700 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
701 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION"
702 >downgrade-http-version</a></td>
703 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
704 what you're doing!</td>
706 <tr class="bg1" align="left" valign="top">
707 <td class="en1" align="center" valign="middle"><input type="radio"
708 name="fast_redirects" value="Y" @fast-redirects-y@
710 <td class="dis1" align="center" valign="middle"><input type="radio"
711 name="fast_redirects" value="N" @fast-redirects-n@
713 <td class="noc1" align="center" valign="middle"><input type="radio"
714 name="fast_redirects" value="X" @fast-redirects-x@
716 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
717 <td>Bypass some click-tracking URLs.</td>
719 <tr class="bg1" align="left" valign="top" id="fast-redirects_opts">
720 <td class="en1"> </td>
721 <td class="dis1"> </td>
722 <td class="noc1"> </td>
725 <input type="radio" name="fast_redirects_mode"
726 value="simple-check" id="fast_redirects_simple_check" @fast-redirects-param-simple-check@><label
727 for="fast_redirects_simple_check">Simple check.</label>
729 <input type="radio" name="fast_redirects_mode" value="check-decoded-url"
730 id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@><label
731 for="fast_redirects_check_decoded_url">Decode URL before checking.</label></td>
733 <!-- @if-multiple-forms-start -->
736 <input type="hidden" name="f" value="@f@">
737 <input type="hidden" name="v" value="@v@">
738 <input type="hidden" name="s" value="@s@">
739 <input type="submit" value="Submit changes in Section 1" name="Submit">
743 <tr><td class="wrapbox">
744 <form method="GET" action="edit-actions-submit" id="myform-2" name="myform">
745 <h2>Edit Actions (Section 2)</h2>
746 <table summary="Action section 2" border="0" cellspacing="2" width="100%" class="wide">
747 <tr class="hdr" align="left">
748 <th class="enh" align="center">Enable</th>
749 <th class="dish" align="center">Disable</th>
750 <th class="noch" align="center">No Change</th>
754 <!-- if-multiple-forms-end@ -->
755 <tr class="bg1" align="left" valign="top">
756 <td class="en1"> </td>
757 <td class="dis1" align="center" valign="middle"><input type="radio"
758 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
759 <td class="noc1" align="center" valign="middle"><input type="radio"
760 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
761 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
762 <td>Filter the website through regular expression
763 filters. You can use the radio buttons on this line to disable
764 all filters applied by previous rules, and/or you can enable or
765 disable the filters individually below.</td>
768 @content-filter-params@
770 <!-- @if-multiple-forms-start -->
773 <input type="hidden" name="f" value="@f@">
774 <input type="hidden" name="v" value="@v@">
775 <input type="hidden" name="s" value="@s@">
776 <input type="submit" value="Submit changes in Section 2" name="Submit">
780 <tr><td class="wrapbox">
781 <form method="GET" action="edit-actions-submit" id="myform-3" name="myform">
782 <h2>Edit Actions (Section 3)</h2>
783 <table summary="Action section 3" border="0" cellspacing="2" width="100%" class="wide">
784 <tr class="hdr" align="left">
785 <th class="enh" align="center">Enable</th>
786 <th class="dish" align="center">Disable</th>
787 <th class="noch" align="center">No Change</th>
791 <!-- if-multiple-forms-end@ -->
792 <tr class="bg1" align="left" valign="top">
793 <td class="en1" align="center" valign="middle"><input type="radio"
794 name="force_text_mode" value="Y" @force-text-mode-y@
796 <td class="dis1" align="center" valign="middle"><input type="radio"
797 name="force_text_mode" value="N" @force-text-mode-n@
799 <td class="noc1" align="center" valign="middle"><input type="radio"
800 name="force_text_mode" value="X" @force-text-mode-x@
802 <td class="action"><a href="@user-manual@@actions-help-prefix@FORCE_TEXT_MODE">force-text-mode</a></td>
804 Enable filtering on documents whose Content-Type wasn't recognized as text.
805 Do think twice, nothing is alright.
808 <tr class="bg1" align="left" valign="top">
809 <td class="en1" align="center" valign="middle"><input type="radio"
810 name="forward_override" id="forward_override_y" value="Y" @forward-override-y@
812 <td class="dis1" align="center" valign="middle"><input type="radio"
813 name="forward_override" id="forward_override_n" value="N" @forward-override-n@
815 <td class="noc1" align="center" valign="middle"><input type="radio"
816 name="forward_override" id="forward_override_x" value="X" @forward-override-x@
818 <td class="action"><a href="@user-manual@@actions-help-prefix@FORWARD-OVERRIDE">forward-override</a></td>
819 <td>Override forward directives in the configuration file.
820 Note that the <a href="@user-manual@actions-file.html#FORWARD-OVERRIDE">parameter syntax</a>
821 isn't checked until the action is used. <strong class="warning">Syntax errors
822 will cause Privoxy to exit.</strong></td>
824 <tr class="bg1" align="left" valign="top" id="forward_override_language_opts">
825 <td class="en1"> </td>
826 <td class="dis1"> </td>
827 <td class="noc1"> </td>
830 Overriding forward directive:<br>
831 <input type="text" name="forward_override_param"
832 id="forward_override_param" size="40"
833 value="@forward-override-param@"><br>
836 <tr class="bg1" align="left" valign="top">
837 <td class="en1" align="center" valign="middle"><input type="radio"
838 name="handle_as_empty_document" value="Y" @handle-as-empty-document-y@
840 <td class="dis1" align="center" valign="middle"><input type="radio"
841 name="handle_as_empty_document" value="N" @handle-as-empty-document-n@
843 <td class="noc1" align="center" valign="middle"><input type="radio"
844 name="handle_as_empty_document" value="X" @handle-as-empty-document-x@
846 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE_AS_EMPTY_DOCUMENT">handle-as-empty-document</a></td>
848 Block with an <em>empty</em> document instead of an Image or HTML message.
849 The <em>empty</em> document contains only a space and can safely be parsed
850 as JavaScript or Style Sheet. Use content-type-overwrite to specify the
851 Content-Type, default is <q>text/html</q>.
854 <tr class="bg1" align="left" valign="top">
855 <td class="en1" align="center" valign="middle"><input type="radio"
856 name="handle_as_image" value="Y" @handle-as-image-y@
858 <td class="dis1" align="center" valign="middle"><input type="radio"
859 name="handle_as_image" value="N" @handle-as-image-n@
861 <td class="noc1" align="center" valign="middle"><input type="radio"
862 name="handle_as_image" value="X" @handle-as-image-x@
864 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
865 <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>
866 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
868 <tr class="bg1" align="left" valign="top">
869 <td class="en1" align="center" valign="middle"><input type="radio"
870 name="hide_accept_language" id="hide_accept_language_y" value="Y" @hide-accept-language-y@
871 onclick="show_hide_accept_language_opts(true)"></td>
872 <td class="dis1" align="center" valign="middle"><input type="radio"
873 name="hide_accept_language" id="hide_accept_language_n" value="N" @hide-accept-language-n@
874 onclick="show_hide_accept_language_opts(false)"></td>
875 <td class="noc1" align="center" valign="middle"><input type="radio"
876 name="hide_accept_language" id="hide_accept_language_x" value="X" @hide-accept-language-x@
877 onclick="show_hide_accept_language_opts(false)"
879 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-ACCEPT-LANGUAGE">hide-accept-language</a></td>
880 <td>Pretend to have different language settings. (Makes a fake User-Agent more believable,
881 but you may end up with content in the language you pretended to understand.)</td>
883 <tr class="bg1" align="left" valign="top" id="hide_accept-language_opts">
884 <td class="en1"> </td>
885 <td class="dis1"> </td>
886 <td class="noc1"> </td>
888 <td><input type="radio" name="hide_accept_language_mode" value="block"
889 onclick="hide_accept_language_param_disable(true)"
890 @hide-accept-language-param-block@ id="hide_accept_language_mode_block"><label
891 for="hide_accept_language_mode_block">Remove Accept-Language header without replacement.</label>
893 <input type="radio" name="hide_accept_language_mode" value="CUSTOM"
894 onclick="hide_accept_language_param_disable(false)"
895 @hide-accept-language-param-custom@ id="hide_accept_language_mode_set"><label
896 for="hide_accept_language_mode_set">Fake these language settings:</label><br>
897 <input type="text" name="hide_accept_language_param"
898 id="hide_accept_language_param" size="40"
899 value="@hide-accept-language-param@"><br>
902 <tr class="bg1" align="left" valign="top">
903 <td class="en1" align="center" valign="middle"><input type="radio"
904 name="hide_content_disposition" id="hide_content_disposition_y" value="Y" @hide-content-disposition-y@
905 onclick="show_hide_content_disposition_opts(true)"></td>
906 <td class="dis1" align="center" valign="middle"><input type="radio"
907 name="hide_content_disposition" id="hide_content_disposition_n" value="N" @hide-content-disposition-n@
908 onclick="show_hide_content_disposition_opts(false)"></td>
909 <td class="noc1" align="center" valign="middle"><input type="radio"
910 name="hide_content_disposition" id="hide_content_disposition_x" value="X" @hide-content-disposition-x@
911 onclick="show_hide_content_disposition_opts(false)"
913 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-CONTENT-DISPOSITION">hide-content-disposition</a></td>
914 <td>Block or overwrite the content-disposition header. Useful to view a document inside the browser,
915 even if you were supposed to save it first, or to change the suggested file name.</td>
917 <tr class="bg1" align="left" valign="top" id="hide_content_disposition_opts">
918 <td class="en1"> </td>
919 <td class="dis1"> </td>
920 <td class="noc1"> </td>
922 <td><input type="radio" name="hide_content_disposition_mode" value="block"
923 onclick="hide_content_disposition_param_disable(true)"
924 @hide-content-disposition-param-block@ id="hide_content_disposition_mode_block"><label
925 for="hide_content_disposition_mode_block">Remove content-disposition header without replacement.</label>
927 <input type="radio" name="hide_content_disposition_mode" value="CUSTOM"
928 onclick="hide_content_disposition_param_disable(false)"
929 @hide-content-disposition-param-custom@ id="hide_content_disposition_mode_set"><label
930 for="hide_content_disposition_mode_set">Overwrite content-dispostion header with:</label><br>
931 <input type="text" name="hide_content_disposition_param"
932 id="hide_content_disposition_param" size="40"
933 value="@hide-content-disposition-param@"><br>
937 <tr class="bg1" align="left" valign="top">
938 <td class="en1" align="center" valign="middle"><input type="radio"
939 name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
941 <td class="dis1" align="center" valign="middle"><input type="radio"
942 name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
944 <td class="noc1" align="center" valign="middle"><input type="radio"
945 name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
947 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
948 <td>Remove any existing X-Forwarded-for header.</td>
950 <tr class="bg1" align="left" valign="top">
951 <td class="en1" align="center" valign="middle"><input type="radio"
952 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
953 onclick="show_hide_from_header_opts(true)"></td>
954 <td class="dis1" align="center" valign="middle"><input type="radio"
955 name="hide_from_header" value="N" @hide-from-header-n@
956 onclick="show_hide_from_header_opts(false)"></td>
957 <td class="noc1" align="center" valign="middle"><input type="radio"
958 name="hide_from_header" value="X" @hide-from-header-x@
959 onclick="show_hide_from_header_opts(false)"></td>
960 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
961 <td>Stop old web browsers from sending the user's e-mail address with
964 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
965 <td class="en1"> </td>
966 <td class="dis1"> </td>
967 <td class="noc1"> </td>
969 <td><input type="radio" name="hide_from_header_mode" value="block"
970 onclick="hide_from_header_param_disable(true);"
971 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
972 for="hide_from_header_mode_block">Remove completely</label><br>
973 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
974 onclick="hide_from_header_param_disable(false);"
975 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
976 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
977 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
978 size="40" value="@hide-from-header-param@"></td>
981 <tr class="bg1" align="left" valign="top">
982 <td class="en1" align="center" valign="middle"><input type="radio"
983 name="hide_if_modified_since" value="Y" @hide-if-modified-since-y@
985 <td class="dis1" align="center" valign="middle"><input type="radio"
986 name="hide_if_modified_since" value="N" @hide-if-modified-since-n@
988 <td class="noc1" align="center" valign="middle"><input type="radio"
989 name="hide_if_modified_since" value="X" @hide-if-modified-since-x@
991 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE_IF_MODIFIED_SINCE">hide-if-modified-since</a></td>
992 <td>Remove or randomize the If-Modified-Since header.</td>
994 <tr class="bg1" align="left" valign="top" id="hide_if-modifed-since_opts">
995 <td class="en1"> </td>
996 <td class="dis1"> </td>
997 <td class="noc1"> </td>
999 <td><input type="radio" name="hide_if_modified_since_mode" value="block"
1000 onclick="hide_if_modified_since_param_disable(true)"
1001 @hide-if-modified-since-param-block@ id="hide_if_modified_since_mode_block"><label
1002 for="hide_if_modified_since_mode_block">Remove without replacement.</label>
1003 Useful for filter testing.<br>
1004 <input type="radio" name="hide_if_modified_since_mode" value="CUSTOM"
1005 onclick="hide_if_modified_since_param_disable(true)"
1006 @hide-if-modified-since-param-custom@ id="hide_if_modified_since_mode_set"><label
1007 for="hide_if_modified_since_mode_set">Add random amount of seconds in the range of</label>
1008 <input type="text" name="hide_if_modified_since_param"
1009 id="hide_if_modified_since_param" size="4"
1010 value="@hide-if-modified-since-param@"> minute(s).
1011 To appreciate this option a small amount of paranoia is required,
1012 but at least in theory the If-Modified-Since header could be used
1013 to keep track of your visits.
1016 <!-- @if-multiple-forms-start -->
1019 <input type="hidden" name="f" value="@f@">
1020 <input type="hidden" name="v" value="@v@">
1021 <input type="hidden" name="s" value="@s@">
1022 <input type="submit" value="Submit changes in Section 3" name="Submit">
1026 <tr><td class="wrapbox">
1027 <form method="GET" action="edit-actions-submit" id="myform-4" name="myform">
1028 <h2>Edit Actions (Section 4)</h2>
1029 <table summary="Action section 4" border="0" cellspacing="2" width="100%" class="wide">
1030 <tr class="hdr" align="left">
1031 <th class="enh" align="center">Enable</th>
1032 <th class="dish" align="center">Disable</th>
1033 <th class="noch" align="center">No Change</th>
1035 <th>Description</th>
1037 <!-- if-multiple-forms-end@ -->
1038 <tr class="bg1" align="left" valign="top">
1039 <td class="en1" align="center" valign="middle"><input type="radio"
1040 name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
1041 onclick="show_hide_referrer_opts(true)"></td>
1042 <td class="dis1" align="center" valign="middle"><input type="radio"
1043 name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
1044 onclick="show_hide_referrer_opts(false)"></td>
1045 <td class="noc1" align="center" valign="middle"><input type="radio"
1046 name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
1047 onclick="show_hide_referrer_opts(false)"
1049 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
1050 <td>Helps prevent tracking by not sending the URL of the previous web
1053 <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
1054 <td class="en1"> </td>
1055 <td class="dis1"> </td>
1056 <td class="noc1"> </td>
1058 <td><input type="radio" name="hide_referrer_mode" value="block"
1059 onclick="hide_referrer_param_disable(true)"
1060 @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
1061 for="hide_referrer_mode_block">Remove completely</label> (breaks images
1062 on some free web hosts).<br>
1063 <input type="radio" name="hide_referrer_mode" value="forge"
1064 onclick="hide_referrer_param_disable(true)"
1065 @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
1066 for="hide_referrer_mode_forge">Fake as the root directory of the
1067 site</label> (fools checks for in-site links.)<br>
1068 <input type="radio" name="hide_referrer_mode" value="CUSTOM"
1069 onclick="hide_referrer_param_disable(false)"
1070 @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
1071 for="hide_referrer_mode_set">Fake as this web address:</label><br>
1072 <input type="text" name="hide_referrer_param"
1073 id="hide_referrer_param" size="40"
1074 value="@hide-referrer-param@"><br>
1075 <input type="radio" name="hide_referrer_mode" value="conditional-block"
1076 onclick="hide_referrer_param_disable(true)"
1077 @hide-referrer-param-conditional-block@ id="hide_referrer_mode_conditional-block"><label
1078 for="hide_referrer_mode_conditional-block">Remove completely if host has changed,
1079 but don't touch in-site referrers.
1080 Less suspicious than the options above.</label><br>
1081 <input type="radio" name="hide_referrer_mode" value="conditional-forge"
1082 onclick="hide_referrer_param_disable(true)"
1083 @hide-referrer-param-conditional-forge@ id="hide_referrer_mode_conditional-forge"><label
1084 for="hide_referrer_mode_conditional-forge">Forge referrer if host has
1085 changed, but don't touch in-site referrers.</label><br>
1088 <tr class="bg1" align="left" valign="top">
1089 <td class="en1" align="center" valign="middle"><input type="radio"
1090 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
1091 onclick="show_user_agent_opts(true)"></td>
1092 <td class="dis1" align="center" valign="middle"><input type="radio"
1093 name="hide_user_agent" value="N" @hide-user-agent-n@
1094 onclick="show_user_agent_opts(false)"></td>
1095 <td class="noc1" align="center" valign="middle"><input type="radio"
1096 name="hide_user_agent" value="X" @hide-user-agent-x@
1097 onclick="show_user_agent_opts(false)"></td>
1098 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
1099 <td>Pretend to be using a different web browser. (May cause problems with broken web sites).</td>
1101 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
1102 <td class="en1"> </td>
1103 <td class="dis1"> </td>
1104 <td class="noc1"> </td>
1106 <td>User Agent string to send:<br>
1107 <input type="text" name="hide_user_agent_mode" size="40"
1108 value="@hide-user-agent-param@"></td>
1110 <tr class="bg1" align="left" valign="top">
1111 <td class="en1" align="center" valign="middle"><input type="radio"
1112 name="inspect_jpegs" value="Y" @inspect-jpegs-y@
1114 <td class="dis1" align="center" valign="middle"><input type="radio"
1115 name="inspect_jpegs" value="N" @inspect-jpegs-n@
1117 <td class="noc1" align="center" valign="middle"><input type="radio"
1118 name="inspect_jpegs" value="X" @inspect-jpegs-x@
1120 <td class="action"><a href="@user-manual@@actions-help-prefix@INSPECT-JPEGS">inspect-jpegs</a></td>
1121 <td>Checks jpeg images for malicious content.</td>
1123 <tr class="bg1" align="left" valign="top">
1124 <td class="en1" align="center" valign="middle"><input type="radio"
1125 name="kill_popups" value="Y" @kill-popups-y@
1127 <td class="dis1" align="center" valign="middle"><input type="radio"
1128 name="kill_popups" value="N" @kill-popups-n@
1130 <td class="noc1" align="center" valign="middle"><input type="radio"
1131 name="kill_popups" value="X" @kill-popups-x@
1133 <td class="action"><a href="@user-manual@@actions-help-prefix@KILL-POPUPS">kill-popups</a></td>
1134 <td>Filter the website through a built-in filter to disable many JavaScript
1135 pop-up windows. Not recommended.</td>
1137 <tr class="bg1" align="left" valign="top">
1138 <td class="en1" align="center" valign="middle"><input type="radio"
1139 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
1140 onclick="show_limit_connect_opts(true)"></td>
1141 <td class="dis1" align="center" valign="middle"><input type="radio"
1142 name="limit_connect" value="N" @limit-connect-n@
1143 onclick="show_limit_connect_opts(false)"></td>
1144 <td class="noc1" align="center" valign="middle"><input type="radio"
1145 name="limit_connect" value="X" @limit-connect-x@
1146 onclick="show_limit_connect_opts(false)"></td>
1147 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
1148 <td>Limit which ports are allowed in HTTP CONNECT requests. These requests are
1149 used to tunnel SSL and other protocols through HTTP proxies.</td>
1151 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
1152 <td class="en1"> </td>
1153 <td class="dis1"> </td>
1154 <td class="noc1"> </td>
1156 <td>Legal ports (comma separated, ranges allowed):<br>
1157 <input type="text" name="limit_connect_mode" size="40"
1158 value="@limit-connect-param@"></td>
1160 <tr class="bg1" align="left" valign="top">
1161 <td class="en1" align="center" valign="middle"><input type="radio"
1162 name="overwrite_last_modified" value="Y" @overwrite-last-modified-y@
1164 <td class="dis1" align="center" valign="middle"><input type="radio"
1165 name="overwrite_last_modified" value="N" @overwrite-last-modified-n@
1167 <td class="noc1" align="center" valign="middle"><input type="radio"
1168 name="overwrite_last_modified" value="X" @overwrite-last-modified-x@
1170 <td class="action"><a href="@user-manual@@actions-help-prefix@OVERWRITE_LAST_MODIFIED">overwrite-last-modified</a></td>
1171 <td>Remove or randomize the Last-Modified header.</td>
1173 <tr class="bg1" align="left" valign="top" id="overwrite_last_modified_opts">
1174 <td class="en1"> </td>
1175 <td class="dis1"> </td>
1176 <td class="noc1"> </td>
1178 <td><input type="radio" name="overwrite_last_modified_mode" value="block"
1179 onclick="overwrite_last_modified_param_disable(true)"
1180 @overwrite-last-modified-param-block@ id="overwrite_last_modified_mode_block"><label
1181 for="overwrite_last_modified_mode_block">Remove without replacement.</label>
1183 <input type="radio" name="overwrite_last_modified_mode" value="reset-to-request-time"
1184 onclick="overwrite_last_modified_param_disable(true)"
1185 @overwrite-last-modified-param-reset-to-request-time@
1186 id="overwrite_last_modified_mode_reset-to-request-time"><label
1187 for="overwrite_last_modified_mode_reset-to-request-time">Reset to the time of the request.</label>
1189 <input type="radio" name="overwrite_last_modified_mode" value="randomize"
1190 onclick="overwrite_last_modified_param_disable(true)"
1191 @overwrite-last-modified-param-randomize@
1192 id="overwrite_last_modified_mode_randomize"><label
1193 for="overwrite_last_modified_mode_randomize">Overwrite with random value
1194 between original header value and the time of the request.</label>
1198 <tr class="bg1" align="left" valign="top">
1199 <td class="en1" align="center" valign="middle"><input type="radio"
1200 name="prevent_compression" value="Y" @prevent-compression-y@
1202 <td class="dis1" align="center" valign="middle"><input type="radio"
1203 name="prevent_compression" value="N" @prevent-compression-n@
1205 <td class="noc1" align="center" valign="middle"><input type="radio"
1206 name="prevent_compression" value="X" @prevent-compression-x@
1208 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
1209 <td>Disables compression. Compressed web pages are faster to
1210 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
1211 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>
1212 if your Privoxy version was build without zlib support.</td>
1214 <tr class="bg1" align="left" valign="top">
1215 <td class="en1" align="center" valign="middle"><input type="radio"
1216 name="redirect" value="Y" @redirect-y@
1218 <td class="dis1" align="center" valign="middle"><input type="radio"
1219 name="redirect" value="N" @redirect-n@
1221 <td class="noc1" align="center" valign="middle"><input type="radio"
1222 name="redirect" value="X" @redirect-x@
1224 <td class="action"><a href="@user-manual@@actions-help-prefix@REDIRECT">redirect</a></td>
1225 <td>Redirect to another address.
1227 <tr class="bg1" align="left" valign="top" id="redirect_opts">
1228 <td class="en1"> </td>
1229 <td class="dis1"> </td>
1230 <td class="noc1"> </td>
1232 <td>Static address or a single pcrs command to redirect to a rewritten version of the original URL:<br>
1233 <input type="text" name="redirect_mode" size="40"
1234 value="@redirect-param@"></td>
1237 <tr class="bg1" align="left" valign="top">
1238 <td class="en1" align="center" valign="middle"><input type="radio"
1239 name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
1241 <td class="dis1" align="center" valign="middle"><input type="radio"
1242 name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
1244 <td class="noc1" align="center" valign="middle"><input type="radio"
1245 name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
1247 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
1248 <td>Adds a special wafer (standard cookie) to all your requests. Not recommended.</td>
1250 <tr class="bg1" align="left" valign="top">
1251 <td class="en1" align="center" valign="middle"><input type="radio"
1252 name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
1253 onclick="show_send_wafer_opts(true)"></td>
1254 <td class="dis1" align="center" valign="middle"><input type="radio"
1255 name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
1256 onclick="show_send_wafer_opts(false)"></td>
1257 <td class="noc1" align="center" valign="middle"><input type="radio"
1258 name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
1259 onclick="show_send_wafer_opts(false)"></td>
1260 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-WAFER">send-wafer</a></td>
1261 <td>Adds user-specified cookies.</td>
1263 <tr class="bg1" align="left" valign="top" id="send_wafer_opts">
1264 <td class="en1"> </td>
1265 <td class="dis1"> </td>
1266 <td class="noc1"> </td>
1268 <td>Editing the settings for this option, or turning
1269 it on if it was off, is not yet supported using this web-based
1273 @server-header-filter-params@
1274 @server-header-tagger-params@
1276 <tr class="bg1" align="left" valign="top">
1277 <td class="en1" align="center" valign="middle"><input type="radio"
1278 name="session_cookies_only" value="Y" @session-cookies-only-y@
1280 <td class="dis1" align="center" valign="middle"><input type="radio"
1281 name="session_cookies_only" value="N" @session-cookies-only-n@
1283 <td class="noc1" align="center" valign="middle"><input type="radio"
1284 name="session_cookies_only" value="X" @session-cookies-only-x@
1286 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
1287 <td>HTTP cookies set by the website are changed to temporary
1288 ("per-session") ones, which only last until you close your web
1289 browser. This will allow you to use sites that require cookies, but
1290 sites will not be able to track you across sessions. For this to
1291 be useful, you should disable
1292 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
1293 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
1295 <tr class="bg1" align="left" valign="top">
1296 <td class="en1" align="center" valign="middle"><input type="radio"
1297 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
1298 onclick="show_set_image_blocker_opts(true)"></td>
1299 <td class="dis1" align="center" valign="middle"><input type="radio"
1300 name="set_image_blocker" value="N" @set-image-blocker-n@
1301 onclick="show_set_image_blocker_opts(false)"></td>
1302 <td class="noc1" align="center" valign="middle"><input type="radio"
1303 name="set_image_blocker" value="X" @set-image-blocker-x@
1304 onclick="show_set_image_blocker_opts(false)"></td>
1305 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
1306 <td>Specifies how to block images.</td>
1308 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
1309 <td class="en1"> </td>
1310 <td class="dis1"> </td>
1311 <td class="noc1"> </td>
1313 <td><input type="radio" name="set_image_blocker_mode"
1314 onclick="set_image_blocker_param_disable(true)"
1315 value="pattern" id="set_image_blocker_mode_pattern"
1316 @set-image-blocker-param-pattern@><label
1317 for="set_image_blocker_mode_pattern">Send a pattern (<img
1318 src="send-banner?type=p" width="12" height="12"
1319 alt="pattern">)</label><br>
1320 <input type="radio" name="set_image_blocker_mode" value="blank"
1321 onclick="set_image_blocker_param_disable(true)"
1322 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
1323 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
1324 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
1325 onclick="set_image_blocker_param_disable(false)"
1326 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
1327 for="set_image_blocker_mode_set">Redirect
1328 the browser to this image URL:</label><br>
1329 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
1330 size="40" value="@set-image-blocker-param@"></td>
1334 <!-- @if-multiple-forms-start -->
1336 <input type="hidden" name="f" value="@f@">
1337 <input type="hidden" name="v" value="@v@">
1338 <input type="hidden" name="s" value="@s@">
1339 <input type="submit" value="Submit changes in Section 4" name="Submit">
1342 <!-- if-multiple-forms-end@ -->
1344 <!-- @if-one-form-only-start -->
1346 <td class="green" align="center">
1347 <p><input type="submit" value="Submit" name="Submit"></p>
1350 <!-- if-one-form-only-end@ -->
1353 <h2>More Privoxy:</h2>
1354 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
1361 #include mod-support-and-service
1366 <!-- @if-have-help-info-start -->
1370 #include mod-local-help
1374 <!-- if-have-help-info-end@ -->
1377 <!-- @if-one-form-only-start -->
1379 <!-- if-one-form-only-end@ -->
1381 <script type="text/javascript">
1384 if (document.getElementById) {
1385 // alert("Netscape 6 or IE5");
1386 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
1387 document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
1388 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
1390 show_add_header_opts (document.getElementById("add_header_y").checked);
1391 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
1392 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
1393 show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
1394 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
1395 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
1396 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
1397 show_send_wafer_opts (document.getElementById("send_wafer_y").checked);
1398 } else if (document.all) {
1400 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
1401 document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
1402 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
1404 show_add_header_opts (document.myform.add_header_y.checked);
1405 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
1406 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
1407 show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
1408 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
1409 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
1410 show_limit_connect_opts (document.myform.limit_connect_y.checked);
1411 show_send_wafer_opts (document.myform.send_wafer_y.checked);
1412 } else if (document.layers) {
1413 // alert("Netscape 4");