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-2007 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.42 2007/03/20 15:40:00 fabiankeil
36 # Adjust to new world order with dedicated header-filter actions.
38 # Revision 1.41 2007/01/23 16:03:16 fabiankeil
39 # - Add favicon links.
40 # - Remove useless W3C validator links.
42 # Revision 1.40 2006/12/21 13:01:03 fabiankeil
43 # Prepare for "split-large-forms".
45 # Mention that redirect{} now also understands
46 # a single pcrs job as argument.
48 # Add some table summaries and remove useless validator link.
50 # Revision 1.39 2006/10/04 17:37:54 fabiankeil
51 # JavaScript fix for bug report #1570678.
53 # Revision 1.38 2006/09/08 12:06:35 fabiankeil
54 # Have hide-if-modified-since interpret the random
55 # range value as minutes instead of hours. Allows
56 # more fine-grained configuration.
58 # Revision 1.37 2006/09/05 18:20:14 fabiankeil
59 # Sorted alphabetically, fixed spelling mistakes
60 # and shortened some descriptions.
62 # Revision 1.36 2006/08/14 08:29:17 fabiankeil
63 # Split filter-headers{} into filter-client-headers{}
64 # and filter-server-headers{}.
66 # Revision 1.35 2006/08/03 02:46:42 david__schmidt
67 # Incorporate Fabian Keil's patch work:
\rhttp://www.fabiankeil.de/sourcecode/privoxy/
69 # Revision 1.34 2006/07/18 14:49:13 david__schmidt
70 # Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
71 # with what was really the latest development (the v_3_0_branch branch)
73 # Revision 1.29.2.5 2004/10/05 03:17:26 david__schmidt
74 # Typo: inspect_jpegs, not inspect-jpegs in form
76 # Revision 1.29.2.4 2004/10/03 12:53:46 david__schmidt
77 # Add the ability to check jpeg images for invalid
78 # lengths of comment blocks. Defensive strategy
79 # against the exploit:
80 # Microsoft Security Bulletin MS04-028
81 # Buffer Overrun in JPEG Processing (GDI+) Could
82 # Allow Code Execution (833987)
83 # Enabled with +inspect-jpegs in actions files.
85 # Revision 1.29.2.3 2002/08/23 02:22:53 hal9
86 # Fix a perl brain fart with <li> in comments.
88 # Revision 1.29.2.1 2002/08/02 12:51:42 oes
89 # Added top submit button; Consistency with docs: Change default name for action from hide-referer to hide-referrer
91 # Revision 1.29 2002/05/21 19:10:57 oes
92 # Fixed JavaScript error
94 # Revision 1.28 2002/05/14 21:36:38 oes
95 # - Renamed prevent-(setting/reading)-cookies to
96 # crunch-(incoming/outgoing)-cookies
97 # - Renamed helplink export to actions-help-prefix
98 # - Restored alphabetical order of actions
100 # Revision 1.27 2002/04/26 22:55:26 jongfoster
101 # Removing the alternating colors because they've been wrong
102 # since the actions renames, they're high maintenance, they
103 # don't look particularly good, and now there are gaps between
104 # the table cells we don't need them.
106 # Revision 1.26 2002/04/26 21:55:17 jongfoster
107 # Cosmetic change: Making the +filter UI look the same as
110 # Revision 1.25 2002/04/26 21:37:50 jongfoster
111 # Fixing all(?) the substitutions that were broken in the
112 # recent actions rename.
114 # Revision 1.24 2002/04/26 18:24:28 jongfoster
115 # Fixing typos in help hyperlinks
117 # Revision 1.23 2002/04/26 12:57:02 oes
118 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
120 # Revision 1.22 2002/04/10 13:32:53 oes
121 # Made templates modular
123 # Revision 1.21 2002/04/08 17:05:18 oes
124 # Inline a style exception
126 # Revision 1.20 2002/04/05 16:01:30 oes
127 # Correct HTML, external Stylesheets, eye candy, some fixes
129 # Revision 1.19 2002/03/26 22:29:56 swa
130 # we have a new homepage!
132 # Revision 1.18 2002/03/24 16:32:08 jongfoster
133 # Removing logo option
135 # Revision 1.17 2002/03/24 15:23:33 jongfoster
138 # Revision 1.16 2002/03/24 11:01:06 swa
141 # Revision 1.15 2002/03/23 16:18:15 swa
142 # renamed every reference to the old name with foobar.
143 # fixed "application foobar application" tag, fixed
144 # "the foobar" with "foobar". left junkbuster in cvs
145 # comments and remarks to history untouched. should
146 # make final rename easier.
148 # Revision 1.14 2002/03/16 15:22:19 jongfoster
149 # Moving 'alpha' warning to the end of the page
151 # Revision 1.13 2002/03/16 14:28:38 jongfoster
152 # First version of modular filters support
154 # Revision 1.12 2002/03/12 01:42:50 oes
155 # Introduced modular filters
157 # Revision 1.11 2002/03/08 18:19:14 jongfoster
158 # Adding +image-blocker{pattern} option to edit interface
160 # Revision 1.10 2002/03/03 10:29:12 swa
161 # point users to the right feedback forms,
162 # not necessarily the developer list.
164 # Revision 1.9 2002/01/23 00:26:45 jongfoster
165 # Reducing length of URLs
166 # Where encoded and unencoded versions of a string existed, removing
169 # Revision 1.8 2002/01/17 21:33:00 jongfoster
170 # Replacing all references to the URL of the config interface
173 # Revision 1.7 2002/01/17 21:21:03 jongfoster
174 # DOS->Unix line endings
176 # Revision 1.6 2001/11/22 21:58:41 jongfoster
177 # Adding action +no-cookies-keep
179 # Revision 1.5 2001/11/13 21:12:17 jongfoster
180 # Added support for the following actions:
181 # +downgrade, +limit-connect, +no-compression
183 # Revision 1.4 2001/11/13 00:58:18 jongfoster
184 # New version of actions file editor templates
187 ##############################################################################
189 # Browser support for the JavaScript on this page:
190 # MS Internet Explorer 5.5 - Tested, Yes
191 # Netscape 6.0 - Tested, Yes
192 # Netscape 4.75 - Tested, NO
193 # Opera 5.12 - Tested, NO
194 # MS Internet Explorer 4+ - Untested, Yes
195 # MS IE 3.x, NS3.x - Untested, NO
196 # Mozilla >=0.6 - Untested, Yes
198 # All browsers should work, you just might not get the pretty DHTML effects.
200 # The effects that only work under the browsers marked "Yes" above are:
201 # - Text edit boxes that won't have any effect are disabled.
202 # - Table rows containing additional settings are hidden if the feature in
203 # question is disabled.
205 # There are major kludges to get around these problems with NS4, but they
206 # screw up the HTML too much for other browsers. If anyone wants to try,
207 # here's some descriptions of the kludges:
208 # http://www.webreference.com/js/tips/991114.html
209 # http://www.webreference.com/dhtml/column12/outDisplay.html
211 # If you're favorite browser isn't listed, please test and add it.
214 #############################################################################
218 # This file currently produces valid HTML 4.01 Strict.
220 # If you change it, please save the generated page from your web browser
221 # and then upload it to http://validator.w3.org/ for checking.
223 #############################################################################
225 # Available variables include:
231 # deanimate-gifs-param-first
232 # deanimate-gifs-param-last
233 # hide-from-param-block
234 # hide-from-param-custom
236 # hide-referrer-param-forge
237 # hide-referrer-param-block
238 # hide-referrer-param-custom
239 # hide-referrer-param
240 # hide-user-agent-param
241 # image-blocker-param-pattern
242 # image-blocker-param-blank
243 # image-blocker-param-custom
246 #############################################################################
247 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
251 <meta http-equiv="Content-Style-Type" content="text/css">
252 <meta http-equiv="Content-Script-Type" content="text/javascript">
253 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
254 <meta name="robots" content="noindex,nofollow">
255 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
256 <link rel="shortcut icon" href="@default-cgi@favicon.ico" type="image/x-icon">
258 <title>Privoxy@@my-hostname@: Edit actions</title>
260 <style type="text/css">
261 td.action { font-weight: bold;
263 white-space: nowrap }
264 td.subaction { font-style: italic }
265 th { font-weight: bold; }
266 # This is the key to the color names below:
267 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
268 # 1=odd rows, 2=even rows, h=Table header
269 tr.hdr { background-color: #999999 }
270 tr.bg1 { background-color: #eeeeee }
271 td.en1 { background-color: #ddffdd }
272 td.dis1 { background-color: #ffdddd }
273 td.noc1 { background-color: #ddddff }
274 th.enh { background-color: #99ff99 }
275 th.dish { background-color: #ff9999 }
276 th.noch { background-color: #9999ff }
277 table.wide { padding: 5px; }
278 td.green { border: solid black 1px; background-color: #ddffdd; }
284 border-left-width: 10px;
285 border-right-width: 10px;
286 border-top-width: 0px;
287 border-bottom-width: 0px }
290 <script type="text/javascript">
293 function hide_from_header_param_disable(tf)
295 if (document.getElementById) {
297 document.getElementById("hide_from_header_param").disabled = tf;
298 } else if (document.all) {
300 document.myform.hide_from_header_param.disabled = tf;
304 function hide_referrer_param_disable(tf)
306 if (document.getElementById) {
307 document.getElementById("hide_referrer_param").disabled = tf;
308 } else if (document.all) {
309 document.myform.hide_referrer_param.disabled = tf;
313 function set_image_blocker_param_disable(tf)
315 if (document.getElementById) {
316 document.getElementById("set_image_blocker_param").disabled = tf;
317 } else if (document.all) {
318 document.myform.set_image_blocker_param.disabled = tf;
322 function show_add_header_opts(tf)
324 if (document.getElementById) {
325 target = document.getElementById("add_header_opts");
326 } else if (document.all) {
327 target = document.add_header_opts;
331 target.style.display = (tf ? "" : "none");
334 function show_deanimate_opts(tf)
336 if (document.getElementById) {
337 target = document.getElementById("deanimate_opts");
338 } else if (document.all) {
339 target = document.deanimate_opts;
343 target.style.display = (tf ? "" : "none");
346 function show_hide_from_header_opts(tf)
348 if (document.getElementById) {
349 target = document.getElementById("hide_from_header_opts");
350 } else if (document.all) {
351 target = document.hide_from_header_opts;
355 target.style.display = (tf ? "" : "none");
358 function show_hide_referrer_opts(tf)
360 if (document.getElementById) {
361 target = document.getElementById("hide_referrer_opts");
362 } else if (document.all) {
363 target = document.hide_referrer_opts;
367 target.style.display = (tf ? "" : "none");
370 function show_user_agent_opts(tf)
372 if (document.getElementById) {
373 target = document.getElementById("user_agent_opts");
374 } else if (document.all) {
375 target = document.user_agent_opts;
379 target.style.display = (tf ? "" : "none");
382 function show_set_image_blocker_opts(tf)
384 if (document.getElementById) {
385 target = document.getElementById("set_image_blocker_opts");
386 } else if (document.all) {
387 target = document.set_image_blocker_opts;
391 target.style.display = (tf ? "" : "none");
394 function show_limit_connect_opts(tf)
396 if (document.getElementById) {
397 target = document.getElementById("limit_connect_opts");
398 } else if (document.all) {
399 target = document.limit_connect_opts;
403 target.style.display = (tf ? "" : "none");
406 function show_send_wafer_opts(tf)
408 if (document.getElementById) {
409 target = document.getElementById("send_wafer_opts");
410 } else if (document.all) {
411 target = document.send_wafer_opts;
415 target.style.display = (tf ? "" : "none");
424 <!-- @if-one-form-only-start -->
425 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
426 <!-- if-one-form-only-end@ -->
428 <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
437 <!-- @if-unstable-start -->
438 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
442 #include mod-unstable-warning
446 <!-- if-unstable-end@ -->
448 <!-- @if-one-form-only-start -->
452 <input type="hidden" name="f" value="@f@">
453 <input type="hidden" name="v" value="@v@">
454 <input type="hidden" name="s" value="@s@">
460 <td class="green" align="center">
461 <p><input type="submit" value="Submit" name="Submit"></p>
464 <!-- if-one-form-only-end@ -->
466 <tr><td class="wrapbox">
468 <!-- @if-multiple-forms-start -->
469 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
470 <h2>Edit Actions (Section 1)</h2>
471 <!-- if-multiple-forms-end@ -->
473 <table summary="Action section 1" border="0" cellspacing="2" width="100%" class="wide">
474 <tr class="hdr" align="left">
475 <th class="enh" align="center">Enable</th>
476 <th class="dish" align="center">Disable</th>
477 <th class="noch" align="center">No Change</th>
481 <tr class="bg1" align="left" valign="top">
482 <td class="en1" align="center" valign="middle"><input type="radio"
483 name="add_header" id="add_header_y" value="Y" @add-header-y@
484 onclick="show_add_header_opts(true)"></td>
485 <td class="dis1" align="center" valign="middle"><input type="radio"
486 name="add_header" value="N" @add-header-n@
487 onclick="show_add_header_opts(false)"></td>
488 <td class="noc1" align="center" valign="middle"><input type="radio"
489 name="add_header" value="X" @add-header-x@
490 onclick="show_add_header_opts(false)"></td>
491 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
492 <td>Adds HTTP headers.</td>
494 <tr class="bg1" align="left" valign="top" id="add_header_opts">
495 <td class="en1"> </td>
496 <td class="dis1"> </td>
497 <td class="noc1"> </td>
499 <td>Editing the settings for this option, or turning
500 it on if it was off, is not yet supported using this web-based
503 <tr class="bg1" align="left" valign="top">
504 <td class="en1" align="center" valign="middle"><input type="radio"
505 name="block" value="Y" @block-y@
507 <td class="dis1" align="center" valign="middle"><input type="radio"
508 name="block" value="N" @block-n@
510 <td class="noc1" align="center" valign="middle"><input type="radio"
511 name="block" value="X" @block-x@
513 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
514 <td>Block the request</td>
517 @client-header-filter-params@
519 <tr class="bg1" align="left" valign="top">
520 <td class="en1" align="center" valign="middle"><input type="radio"
521 name="content_type_overwrite" value="Y" @content-type-overwrite-y@
523 <td class="dis1" align="center" valign="middle"><input type="radio"
524 name="content_type_overwrite" value="N" @content-type-overwrite-n@
526 <td class="noc1" align="center" valign="middle"><input type="radio"
527 name="content_type_overwrite" value="X" @content-type-overwrite-x@
529 <td class="action"><a href="@user-manual@@actions-help-prefix@CONTENT_TYPE_OVERWRITE">content-type-overwrite</a></td>
530 <td>Replace Content-Type header. By default it only applies to
531 text documents, but if you know what you're doing you
532 can enable force-text-mode to modify binary content types as well.</td>
534 <tr class="bg1" align="left" valign="top" id="content_type_overwrite_opts">
535 <td class="en1"> </td>
536 <td class="dis1"> </td>
537 <td class="noc1"> </td>
539 <td>New Content-Type:<br>
540 <input type="text" name="content_type_overwrite_mode" size="40"
541 value="@content-type-overwrite-param@"></td>
543 <tr class="bg1" align="left" valign="top">
544 <td class="en1" align="center" valign="middle"><input type="radio"
545 name="crunch_client_header" id="crunch_client_header_y" value="Y" @crunch-client-header-y@
547 <td class="dis1" align="center" valign="middle"><input type="radio"
548 name="crunch_client_header" value="N" @crunch-client-header-n@
550 <td class="noc1" align="center" valign="middle"><input type="radio"
551 name="crunch_client_header" value="X" @crunch-client-header-x@
553 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-CLIENT-HEADER">crunch-client-header</a></td>
554 <td>Remove header(s) matching the supplied pattern.</td>
556 <tr class="bg1" align="left" valign="top" id="crunch_client_header_opts">
557 <td class="en1"> </td>
558 <td class="dis1"> </td>
559 <td class="noc1"> </td>
561 <td>Header string to suppress:<br>
562 <input type="text" name="crunch_client_header_mode" size="40"
563 value="@crunch-client-header-param@"></td>
565 <tr class="bg1" align="left" valign="top">
566 <td class="en1" align="center" valign="middle"><input type="radio"
567 name="crunch_if_none_match" value="Y" @crunch-if-none-match-y@
569 <td class="dis1" align="center" valign="middle"><input type="radio"
570 name="crunch_if_none_match" value="N" @crunch-if-none-match-n@
572 <td class="noc1" align="center" valign="middle"><input type="radio"
573 name="crunch_if_none_match" value="X" @crunch-if-none-match-x@
575 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH_IF_NONE_MATCH">crunch-if-none-match</a></td>
576 <td>Remove If-None-Match header. Useful for filter testing
577 and to make sure the header can't be used to track your visits.</td>
580 <tr class="bg1" align="left" valign="top">
581 <td class="en1" align="center" valign="middle"><input type="radio"
582 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
584 <td class="dis1" align="center" valign="middle"><input type="radio"
585 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
587 <td class="noc1" align="center" valign="middle"><input type="radio"
588 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
590 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
591 <td>Prevent the website from setting cookies on your system.</td>
593 <tr class="bg1" align="left" valign="top">
594 <td class="en1" align="center" valign="middle"><input type="radio"
595 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
597 <td class="dis1" align="center" valign="middle"><input type="radio"
598 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
600 <td class="noc1" align="center" valign="middle"><input type="radio"
601 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
603 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
604 <td>Prevent the website from reading cookies from your system.</td>
606 <tr class="bg1" align="left" valign="top">
607 <td class="en1" align="center" valign="middle"><input type="radio"
608 name="crunch_server_header" id="crunch_server_header_y" value="Y" @crunch-server-header-y@
610 <td class="dis1" align="center" valign="middle"><input type="radio"
611 name="crunch_server_header" value="N" @crunch-server-header-n@
613 <td class="noc1" align="center" valign="middle"><input type="radio"
614 name="crunch_server_header" value="X" @crunch-server-header-x@
616 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-SERVER-HEADER">crunch-server-header</a></td>
617 <td>Remove server header(s) matching the supplied pattern.</td>
619 <tr class="bg1" align="left" valign="top" id="crunch_server_header_opts">
620 <td class="en1"> </td>
621 <td class="dis1"> </td>
622 <td class="noc1"> </td>
624 <td>Header string to suppress:<br>
625 <input type="text" name="crunch_server_header_mode" size="40"
626 value="@crunch-server-header-param@"></td>
629 <tr class="bg1" align="left" valign="top">
630 <td class="en1" align="center" valign="middle"><input type="radio"
631 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
632 onclick="show_deanimate_opts(true)"></td>
633 <td class="dis1" align="center" valign="middle"><input type="radio"
634 name="deanimate_gifs" value="N" @deanimate-gifs-n@
635 onclick="show_deanimate_opts(false)"></td>
636 <td class="noc1" align="center" valign="middle"><input type="radio"
637 name="deanimate_gifs" value="X" @deanimate-gifs-x@
638 onclick="show_deanimate_opts(false)"></td>
639 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
640 <td>Replace animated GIFs with their (first/last) frame.</td>
642 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
643 <td class="en1"> </td>
644 <td class="dis1"> </td>
645 <td class="noc1"> </td>
647 <td>Use the <input type="radio" name="deanimate_gifs_mode"
648 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
649 for="deanimate_first">first frame</label> <input
650 type="radio" name="deanimate_gifs_mode" value="last"
651 id="deanimate_last" @deanimate-gifs-param-last@><label
652 for="deanimate_last">last frame</label></td>
654 <tr class="bg1" align="left" valign="top">
655 <td class="en1" align="center" valign="middle"><input type="radio"
656 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
657 <td class="dis1" align="center" valign="middle"><input type="radio"
658 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
659 <td class="noc1" align="center" valign="middle"><input type="radio"
660 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
661 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION"
662 >downgrade-http-version</a></td>
663 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
664 what you're doing!</td>
666 <tr class="bg1" align="left" valign="top">
667 <td class="en1" align="center" valign="middle"><input type="radio"
668 name="fast_redirects" value="Y" @fast-redirects-y@
670 <td class="dis1" align="center" valign="middle"><input type="radio"
671 name="fast_redirects" value="N" @fast-redirects-n@
673 <td class="noc1" align="center" valign="middle"><input type="radio"
674 name="fast_redirects" value="X" @fast-redirects-x@
676 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
677 <td>Bypass some click-tracking URLs.</td>
679 <tr class="bg1" align="left" valign="top" id="fast-redirects_opts">
680 <td class="en1"> </td>
681 <td class="dis1"> </td>
682 <td class="noc1"> </td>
685 <input type="radio" name="fast_redirects_mode"
686 value="simple-check" id="fast_redirects_simple_check" @fast-redirects-param-simple-check@><label
687 for="fast_redirects_simple_check">Simple check.</label>
689 <input type="radio" name="fast_redirects_mode" value="check-decoded-url"
690 id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@><label
691 for="fast_redirects_check_decoded_url">Decode URL before checking.</label></td>
693 <!-- @if-multiple-forms-start -->
696 <input type="hidden" name="f" value="@f@">
697 <input type="hidden" name="v" value="@v@">
698 <input type="hidden" name="s" value="@s@">
699 <input type="submit" value="Submit changes in Section 1" name="Submit">
703 <tr><td class="wrapbox">
704 <form method="GET" action="edit-actions-submit" id="myform-2" name="myform">
705 <h2>Edit Actions (Section 2)</h2>
706 <table summary="Action section 2" border="0" cellspacing="2" width="100%" class="wide">
707 <tr class="hdr" align="left">
708 <th class="enh" align="center">Enable</th>
709 <th class="dish" align="center">Disable</th>
710 <th class="noch" align="center">No Change</th>
714 <!-- if-multiple-forms-end@ -->
715 <tr class="bg1" align="left" valign="top">
716 <td class="en1"> </td>
717 <td class="dis1" align="center" valign="middle"><input type="radio"
718 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
719 <td class="noc1" align="center" valign="middle"><input type="radio"
720 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
721 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
722 <td>Filter the website through regular expression
723 filters. You can use the radio buttons on this line to disable
724 all filters applied by previous rules, and/or you can enable or
725 disable the filters individually below.</td>
728 @content-filter-params@
730 <!-- @if-multiple-forms-start -->
733 <input type="hidden" name="f" value="@f@">
734 <input type="hidden" name="v" value="@v@">
735 <input type="hidden" name="s" value="@s@">
736 <input type="submit" value="Submit changes in Section 2" name="Submit">
740 <tr><td class="wrapbox">
741 <form method="GET" action="edit-actions-submit" id="myform-3" name="myform">
742 <h2>Edit Actions (Section 3)</h2>
743 <table summary="Action section 3" border="0" cellspacing="2" width="100%" class="wide">
744 <tr class="hdr" align="left">
745 <th class="enh" align="center">Enable</th>
746 <th class="dish" align="center">Disable</th>
747 <th class="noch" align="center">No Change</th>
751 <!-- if-multiple-forms-end@ -->
752 <tr class="bg1" align="left" valign="top">
753 <td class="en1" align="center" valign="middle"><input type="radio"
754 name="force_text_mode" value="Y" @force-text-mode-y@
756 <td class="dis1" align="center" valign="middle"><input type="radio"
757 name="force_text_mode" value="N" @force-text-mode-n@
759 <td class="noc1" align="center" valign="middle"><input type="radio"
760 name="force_text_mode" value="X" @force-text-mode-x@
762 <td class="action"><a href="@user-manual@@actions-help-prefix@FORCE_TEXT_MODE">force-text-mode</a></td>
764 Enable filtering on documents whose Content-Type wasn't recognized as text.
765 Do think twice, nothing is alright.
768 <tr class="bg1" align="left" valign="top">
769 <td class="en1" align="center" valign="middle"><input type="radio"
770 name="handle_as_empty_document" value="Y" @handle-as-empty-document-y@
772 <td class="dis1" align="center" valign="middle"><input type="radio"
773 name="handle_as_empty_document" value="N" @handle-as-empty-document-n@
775 <td class="noc1" align="center" valign="middle"><input type="radio"
776 name="handle_as_empty_document" value="X" @handle-as-empty-document-x@
778 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE_AS_EMPTY_DOCUMENT">handle-as-empty-document</a></td>
780 Block with an <em>empty</em> document instead of an Image or HTML message.
781 The <em>empty</em> document contains only a space and can safely be parsed
782 as JavaScript or Style Sheet. Use content-type-overwrite to specify the
783 Content-Type, default is <q>text/html</q>.
786 <tr class="bg1" align="left" valign="top">
787 <td class="en1" align="center" valign="middle"><input type="radio"
788 name="handle_as_image" value="Y" @handle-as-image-y@
790 <td class="dis1" align="center" valign="middle"><input type="radio"
791 name="handle_as_image" value="N" @handle-as-image-n@
793 <td class="noc1" align="center" valign="middle"><input type="radio"
794 name="handle_as_image" value="X" @handle-as-image-x@
796 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
797 <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>
798 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
800 <tr class="bg1" align="left" valign="top">
801 <td class="en1" align="center" valign="middle"><input type="radio"
802 name="hide_accept_language" id="hide_accept_language_y" value="Y" @hide-accept-language-y@
803 onclick="show_hide_accept_language_opts(true)"></td>
804 <td class="dis1" align="center" valign="middle"><input type="radio"
805 name="hide_accept_language" id="hide_accept_language_n" value="N" @hide-accept-language-n@
806 onclick="show_hide_accept_language_opts(false)"></td>
807 <td class="noc1" align="center" valign="middle"><input type="radio"
808 name="hide_accept_language" id="hide_accept_language_x" value="X" @hide-accept-language-x@
809 onclick="show_hide_accept_language_opts(false)"
811 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-ACCEPT-LANGUAGE">hide-accept-language</a></td>
812 <td>Pretend to have different language settings. (Makes a fake User-Agent more believable,
813 but can lead to foreign content.)</td>
815 <tr class="bg1" align="left" valign="top" id="hide_accept-language_opts">
816 <td class="en1"> </td>
817 <td class="dis1"> </td>
818 <td class="noc1"> </td>
820 <td><input type="radio" name="hide_accept_language_mode" value="block"
821 onclick="hide_accept_language_param_disable(true)"
822 @hide-accept-language-param-block@ id="hide_accept_language_mode_block"><label
823 for="hide_accept_language_mode_block">Remove Accept-Language header without replacement.</label>
825 <input type="radio" name="hide_accept_language_mode" value="CUSTOM"
826 onclick="hide_accept_language_param_disable(false)"
827 @hide-accept-language-param-custom@ id="hide_accept_language_mode_set"><label
828 for="hide_accept_language_mode_set">Fake these language settings:</label><br>
829 <input type="text" name="hide_accept_language_param"
830 id="hide_accept_language_param" size="40"
831 value="@hide-accept-language-param@"><br>
834 <tr class="bg1" align="left" valign="top">
835 <td class="en1" align="center" valign="middle"><input type="radio"
836 name="hide_content_disposition" id="hide_content_disposition_y" value="Y" @hide-content-disposition-y@
837 onclick="show_hide_content_disposition_opts(true)"></td>
838 <td class="dis1" align="center" valign="middle"><input type="radio"
839 name="hide_content_disposition" id="hide_content_disposition_n" value="N" @hide-content-disposition-n@
840 onclick="show_hide_content_disposition_opts(false)"></td>
841 <td class="noc1" align="center" valign="middle"><input type="radio"
842 name="hide_content_disposition" id="hide_content_disposition_x" value="X" @hide-content-disposition-x@
843 onclick="show_hide_content_disposition_opts(false)"
845 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-CONTENT-DISPOSITION">hide-content-disposition</a></td>
846 <td>Block or overwrite the content-disposition header. Useful to view a document inside the browser,
847 even if you were supposed to save it first, or to change the suggested file name.</td>
849 <tr class="bg1" align="left" valign="top" id="hide_content_disposition_opts">
850 <td class="en1"> </td>
851 <td class="dis1"> </td>
852 <td class="noc1"> </td>
854 <td><input type="radio" name="hide_content_disposition_mode" value="block"
855 onclick="hide_content_disposition_param_disable(true)"
856 @hide-content-disposition-param-block@ id="hide_content_disposition_mode_block"><label
857 for="hide_content_disposition_mode_block">Remove content-disposition header without replacement.</label>
859 <input type="radio" name="hide_content_disposition_mode" value="CUSTOM"
860 onclick="hide_content_disposition_param_disable(false)"
861 @hide-content-disposition-param-custom@ id="hide_content_disposition_mode_set"><label
862 for="hide_content_disposition_mode_set">Overwrite content-dispostion header with:</label><br>
863 <input type="text" name="hide_content_disposition_param"
864 id="hide_content_disposition_param" size="40"
865 value="@hide-content-disposition-param@"><br>
869 <tr class="bg1" align="left" valign="top">
870 <td class="en1" align="center" valign="middle"><input type="radio"
871 name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
873 <td class="dis1" align="center" valign="middle"><input type="radio"
874 name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
876 <td class="noc1" align="center" valign="middle"><input type="radio"
877 name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
879 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
880 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
882 <tr class="bg1" align="left" valign="top">
883 <td class="en1" align="center" valign="middle"><input type="radio"
884 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
885 onclick="show_hide_from_header_opts(true)"></td>
886 <td class="dis1" align="center" valign="middle"><input type="radio"
887 name="hide_from_header" value="N" @hide-from-header-n@
888 onclick="show_hide_from_header_opts(false)"></td>
889 <td class="noc1" align="center" valign="middle"><input type="radio"
890 name="hide_from_header" value="X" @hide-from-header-x@
891 onclick="show_hide_from_header_opts(false)"></td>
892 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
893 <td>Stop old web browsers from sending the user's e-mail address with
896 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
897 <td class="en1"> </td>
898 <td class="dis1"> </td>
899 <td class="noc1"> </td>
901 <td><input type="radio" name="hide_from_header_mode" value="block"
902 onclick="hide_from_header_param_disable(true);"
903 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
904 for="hide_from_header_mode_block">Remove completely</label><br>
905 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
906 onclick="hide_from_header_param_disable(false);"
907 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
908 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
909 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
910 size="40" value="@hide-from-header-param@"></td>
913 <tr class="bg1" align="left" valign="top">
914 <td class="en1" align="center" valign="middle"><input type="radio"
915 name="hide_if_modified_since" value="Y" @hide-if-modified-since-y@
917 <td class="dis1" align="center" valign="middle"><input type="radio"
918 name="hide_if_modified_since" value="N" @hide-if-modified-since-n@
920 <td class="noc1" align="center" valign="middle"><input type="radio"
921 name="hide_if_modified_since" value="X" @hide-if-modified-since-x@
923 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE_IF_MODIFIED_SINCE">hide-if-modified-since</a></td>
924 <td>Remove or randomize If-Modified-Since header.</td>
926 <tr class="bg1" align="left" valign="top" id="hide_if-modifed-since_opts">
927 <td class="en1"> </td>
928 <td class="dis1"> </td>
929 <td class="noc1"> </td>
931 <td><input type="radio" name="hide_if_modified_since_mode" value="block"
932 onclick="hide_if_modified_since_param_disable(true)"
933 @hide-if-modified-since-param-block@ id="hide_if_modified_since_mode_block"><label
934 for="hide_if_modified_since_mode_block">Remove without replacement.</label>
935 Useful for filter testing.<br>
936 <input type="radio" name="hide_if_modified_since_mode" value="CUSTOM"
937 onclick="hide_if_modified_since_param_disable(true)"
938 @hide-if-modified-since-param-custom@ id="hide_if_modified_since_mode_set"><label
939 for="hide_if_modified_since_mode_set">Add random amount of seconds in the range of</label>
940 <input type="text" name="hide_if_modified_since_param"
941 id="hide_if_modified_since_param" size="4"
942 value="@hide-if-modified-since-param@"> minute(s).
943 To appreciate this option a small amount of paranoia is required,
944 but at least in theory the If-Modified-Since header could be used
945 to keep track of your visits.
948 <!-- @if-multiple-forms-start -->
951 <input type="hidden" name="f" value="@f@">
952 <input type="hidden" name="v" value="@v@">
953 <input type="hidden" name="s" value="@s@">
954 <input type="submit" value="Submit changes in Section 3" name="Submit">
958 <tr><td class="wrapbox">
959 <form method="GET" action="edit-actions-submit" id="myform-4" name="myform">
960 <h2>Edit Actions (Section 4)</h2>
961 <table summary="Action section 4" border="0" cellspacing="2" width="100%" class="wide">
962 <tr class="hdr" align="left">
963 <th class="enh" align="center">Enable</th>
964 <th class="dish" align="center">Disable</th>
965 <th class="noch" align="center">No Change</th>
969 <!-- if-multiple-forms-end@ -->
970 <tr class="bg1" align="left" valign="top">
971 <td class="en1" align="center" valign="middle"><input type="radio"
972 name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
973 onclick="show_hide_referrer_opts(true)"></td>
974 <td class="dis1" align="center" valign="middle"><input type="radio"
975 name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
976 onclick="show_hide_referrer_opts(false)"></td>
977 <td class="noc1" align="center" valign="middle"><input type="radio"
978 name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
979 onclick="show_hide_referrer_opts(false)"
981 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
982 <td>Helps prevent tracking by not sending the URL of the previous web
985 <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
986 <td class="en1"> </td>
987 <td class="dis1"> </td>
988 <td class="noc1"> </td>
990 <td><input type="radio" name="hide_referrer_mode" value="block"
991 onclick="hide_referrer_param_disable(true)"
992 @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
993 for="hide_referrer_mode_block">Remove completely</label> (breaks images
994 on some free web hosts).<br>
995 <input type="radio" name="hide_referrer_mode" value="forge"
996 onclick="hide_referrer_param_disable(true)"
997 @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
998 for="hide_referrer_mode_forge">Fake as the root directory of the
999 site</label> (fools checks for in-site links.)<br>
1000 <input type="radio" name="hide_referrer_mode" value="CUSTOM"
1001 onclick="hide_referrer_param_disable(false)"
1002 @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
1003 for="hide_referrer_mode_set">Fake as this web address:</label><br>
1004 <input type="text" name="hide_referrer_param"
1005 id="hide_referrer_param" size="40"
1006 value="@hide-referrer-param@"><br>
1007 <input type="radio" name="hide_referrer_mode" value="conditional-block"
1008 onclick="hide_referrer_param_disable(true)"
1009 @hide-referrer-param-conditional-block@ id="hide_referrer_mode_conditional-block"><label
1010 for="hide_referrer_mode_conditional-block">Remove completely if host has changed,
1011 but don't touch in-site referrers.
1012 Less suspicious than the options above.</label><br></td>
1014 <tr class="bg1" align="left" valign="top">
1015 <td class="en1" align="center" valign="middle"><input type="radio"
1016 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
1017 onclick="show_user_agent_opts(true)"></td>
1018 <td class="dis1" align="center" valign="middle"><input type="radio"
1019 name="hide_user_agent" value="N" @hide-user-agent-n@
1020 onclick="show_user_agent_opts(false)"></td>
1021 <td class="noc1" align="center" valign="middle"><input type="radio"
1022 name="hide_user_agent" value="X" @hide-user-agent-x@
1023 onclick="show_user_agent_opts(false)"></td>
1024 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
1025 <td>Pretend to be using a different web browser. (Breaks many web
1028 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
1029 <td class="en1"> </td>
1030 <td class="dis1"> </td>
1031 <td class="noc1"> </td>
1033 <td>User Agent string to send:<br>
1034 <input type="text" name="hide_user_agent_mode" size="40"
1035 value="@hide-user-agent-param@"></td>
1037 <tr class="bg1" align="left" valign="top">
1038 <td class="en1" align="center" valign="middle"><input type="radio"
1039 name="inspect_jpegs" value="Y" @inspect-jpegs-y@
1041 <td class="dis1" align="center" valign="middle"><input type="radio"
1042 name="inspect_jpegs" value="N" @inspect-jpegs-n@
1044 <td class="noc1" align="center" valign="middle"><input type="radio"
1045 name="inspect_jpegs" value="X" @inspect-jpegs-x@
1047 <td class="action"><a href="@user-manual@@actions-help-prefix@INSPECT-JPEGS">inspect-jpegs</a></td>
1048 <td>Checks jpeg images for malicious content.</td>
1050 <tr class="bg1" align="left" valign="top">
1051 <td class="en1" align="center" valign="middle"><input type="radio"
1052 name="kill_popups" value="Y" @kill-popups-y@
1054 <td class="dis1" align="center" valign="middle"><input type="radio"
1055 name="kill_popups" value="N" @kill-popups-n@
1057 <td class="noc1" align="center" valign="middle"><input type="radio"
1058 name="kill_popups" value="X" @kill-popups-x@
1060 <td class="action"><a href="@user-manual@@actions-help-prefix@KILL-POPUPS">kill-popups</a></td>
1061 <td>Filter the website through a built-in filter to disable many JavaScript
1062 pop-up windows.</td>
1064 <tr class="bg1" align="left" valign="top">
1065 <td class="en1" align="center" valign="middle"><input type="radio"
1066 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
1067 onclick="show_limit_connect_opts(true)"></td>
1068 <td class="dis1" align="center" valign="middle"><input type="radio"
1069 name="limit_connect" value="N" @limit-connect-n@
1070 onclick="show_limit_connect_opts(false)"></td>
1071 <td class="noc1" align="center" valign="middle"><input type="radio"
1072 name="limit_connect" value="X" @limit-connect-x@
1073 onclick="show_limit_connect_opts(false)"></td>
1074 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
1075 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
1076 Note that this allows arbitrary tunnelling, so opening all
1077 ports would be a security hole.</td>
1079 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
1080 <td class="en1"> </td>
1081 <td class="dis1"> </td>
1082 <td class="noc1"> </td>
1084 <td>Legal SSL ports (comma separated, ranges allowed):<br>
1085 <input type="text" name="limit_connect_mode" size="40"
1086 value="@limit-connect-param@"></td>
1088 <tr class="bg1" align="left" valign="top">
1089 <td class="en1" align="center" valign="middle"><input type="radio"
1090 name="overwrite_last_modified" value="Y" @overwrite-last-modified-y@
1092 <td class="dis1" align="center" valign="middle"><input type="radio"
1093 name="overwrite_last_modified" value="N" @overwrite-last-modified-n@
1095 <td class="noc1" align="center" valign="middle"><input type="radio"
1096 name="overwrite_last_modified" value="X" @overwrite-last-modified-x@
1098 <td class="action"><a href="@user-manual@@actions-help-prefix@OVERWRITE_LAST_MODIFIED">overwrite-last-modified</a></td>
1099 <td>Remove or randomize If-Modified-Since header.</td>
1101 <tr class="bg1" align="left" valign="top" id="overwrite_last_modified_opts">
1102 <td class="en1"> </td>
1103 <td class="dis1"> </td>
1104 <td class="noc1"> </td>
1106 <td><input type="radio" name="overwrite_last_modified_mode" value="block"
1107 onclick="overwrite_last_modified_param_disable(true)"
1108 @overwrite-last-modified-param-block@ id="overwrite_last_modified_mode_block"><label
1109 for="overwrite_last_modified_mode_block">Remove without replacement.</label>
1111 <input type="radio" name="overwrite_last_modified_mode" value="reset-to-request-time"
1112 onclick="overwrite_last_modified_param_disable(true)"
1113 @overwrite-last-modified-param-reset-to-request-time@
1114 id="overwrite_last_modified_mode_reset-to-request-time"><label
1115 for="overwrite_last_modified_mode_reset-to-request-time">Reset to the time of the request.</label>
1117 <input type="radio" name="overwrite_last_modified_mode" value="randomize"
1118 onclick="overwrite_last_modified_param_disable(true)"
1119 @overwrite-last-modified-param-randomize@
1120 id="overwrite_last_modified_mode_randomize"><label
1121 for="overwrite_last_modified_mode_randomize">Overwrite with random value
1122 between original header value and the time of the request.</label>
1126 <tr class="bg1" align="left" valign="top">
1127 <td class="en1" align="center" valign="middle"><input type="radio"
1128 name="prevent_compression" value="Y" @prevent-compression-y@
1130 <td class="dis1" align="center" valign="middle"><input type="radio"
1131 name="prevent_compression" value="N" @prevent-compression-n@
1133 <td class="noc1" align="center" valign="middle"><input type="radio"
1134 name="prevent_compression" value="X" @prevent-compression-x@
1136 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
1137 <td>Disables compression. Compressed web pages are faster to
1138 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
1139 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>.
1140 This setting only affects the few web sites which support
1143 <tr class="bg1" align="left" valign="top">
1144 <td class="en1" align="center" valign="middle"><input type="radio"
1145 name="redirect" value="Y" @redirect-y@
1147 <td class="dis1" align="center" valign="middle"><input type="radio"
1148 name="redirect" value="N" @redirect-n@
1150 <td class="noc1" align="center" valign="middle"><input type="radio"
1151 name="redirect" value="X" @redirect-x@
1153 <td class="action"><a href="@user-manual@@actions-help-prefix@REDIRECT">redirect</a></td>
1154 <td>Redirect to another address.
1156 <tr class="bg1" align="left" valign="top" id="redirect_opts">
1157 <td class="en1"> </td>
1158 <td class="dis1"> </td>
1159 <td class="noc1"> </td>
1161 <td>Static address or a single pcrs command to redirect to a rewritten version of the original URL:<br>
1162 <input type="text" name="redirect_mode" size="40"
1163 value="@redirect-param@"></td>
1166 <tr class="bg1" align="left" valign="top">
1167 <td class="en1" align="center" valign="middle"><input type="radio"
1168 name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
1170 <td class="dis1" align="center" valign="middle"><input type="radio"
1171 name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
1173 <td class="noc1" align="center" valign="middle"><input type="radio"
1174 name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
1176 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
1177 <td>Adds a special wafer (standard cookie) to all your requests.</td>
1179 <tr class="bg1" align="left" valign="top">
1180 <td class="en1" align="center" valign="middle"><input type="radio"
1181 name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
1182 onclick="show_send_wafer_opts(true)"></td>
1183 <td class="dis1" align="center" valign="middle"><input type="radio"
1184 name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
1185 onclick="show_send_wafer_opts(false)"></td>
1186 <td class="noc1" align="center" valign="middle"><input type="radio"
1187 name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
1188 onclick="show_send_wafer_opts(false)"></td>
1189 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-WAFER">send-wafer</a></td>
1190 <td>Adds user-specified cookies.</td>
1192 <tr class="bg1" align="left" valign="top" id="send_wafer_opts">
1193 <td class="en1"> </td>
1194 <td class="dis1"> </td>
1195 <td class="noc1"> </td>
1197 <td>Editing the settings for this option, or turning
1198 it on if it was off, is not yet supported using this web-based
1202 @server-header-filter-params@
1204 <tr class="bg1" align="left" valign="top">
1205 <td class="en1" align="center" valign="middle"><input type="radio"
1206 name="session_cookies_only" value="Y" @session-cookies-only-y@
1208 <td class="dis1" align="center" valign="middle"><input type="radio"
1209 name="session_cookies_only" value="N" @session-cookies-only-n@
1211 <td class="noc1" align="center" valign="middle"><input type="radio"
1212 name="session_cookies_only" value="X" @session-cookies-only-x@
1214 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
1215 <td>Any cookies set by the website are changed to temporary
1216 ("per-session") ones, which only last until you close your web
1217 browser. This will allow you to use sites that require cookies, but
1218 sites will not be able to track you across sessions. For this to
1219 be useful, you should disable
1220 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
1221 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
1223 <tr class="bg1" align="left" valign="top">
1224 <td class="en1" align="center" valign="middle"><input type="radio"
1225 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
1226 onclick="show_set_image_blocker_opts(true)"></td>
1227 <td class="dis1" align="center" valign="middle"><input type="radio"
1228 name="set_image_blocker" value="N" @set-image-blocker-n@
1229 onclick="show_set_image_blocker_opts(false)"></td>
1230 <td class="noc1" align="center" valign="middle"><input type="radio"
1231 name="set_image_blocker" value="X" @set-image-blocker-x@
1232 onclick="show_set_image_blocker_opts(false)"></td>
1233 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
1234 <td>Specifies how to block images.</td>
1236 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
1237 <td class="en1"> </td>
1238 <td class="dis1"> </td>
1239 <td class="noc1"> </td>
1241 <td><input type="radio" name="set_image_blocker_mode"
1242 onclick="set_image_blocker_param_disable(true)"
1243 value="pattern" id="set_image_blocker_mode_pattern"
1244 @set-image-blocker-param-pattern@><label
1245 for="set_image_blocker_mode_pattern">Send a pattern (<img
1246 src="send-banner?type=p" width="12" height="12"
1247 alt="pattern">)</label><br>
1248 <input type="radio" name="set_image_blocker_mode" value="blank"
1249 onclick="set_image_blocker_param_disable(true)"
1250 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
1251 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
1252 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
1253 onclick="set_image_blocker_param_disable(false)"
1254 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
1255 for="set_image_blocker_mode_set">Redirect
1256 the browser to this image URL:</label><br>
1257 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
1258 size="40" value="@set-image-blocker-param@"></td>
1260 <tr class="bg1" align="left" valign="top">
1261 <td class="en1" align="center" valign="middle"><input type="radio"
1262 name="treat_forbidden_connects_like_blocks" value="Y" @treat-forbidden-connects-like-blocks-y@
1264 <td class="dis1" align="center" valign="middle"><input type="radio"
1265 name="treat_forbidden_connects_like_blocks" value="N" @treat-forbidden-connects-like-blocks-n@
1267 <td class="noc1" align="center" valign="middle"><input type="radio"
1268 name="treat_forbidden_connects_like_blocks" value="X" @treat-forbidden-connects-like-blocks-x@
1270 <td class="action"><a href="@user-manual@@actions-help-prefix@TREAT_FORBIDDEN_CONNECTS_LIKE_BLOCKS">treat-forbidden-connects-like-blocks</a></td>
1272 Answer forbidden Connect requests with the usual block message.
1273 Makes unblocking easier, but the <q>go there anyway</q> link will not work
1279 <!-- @if-multiple-forms-start -->
1281 <input type="hidden" name="f" value="@f@">
1282 <input type="hidden" name="v" value="@v@">
1283 <input type="hidden" name="s" value="@s@">
1284 <input type="submit" value="Submit changes in Section 4" name="Submit">
1287 <!-- if-multiple-forms-end@ -->
1289 <!-- @if-one-form-only-start -->
1291 <td class="green" align="center">
1292 <p><input type="submit" value="Submit" name="Submit"></p>
1295 <!-- if-one-form-only-end@ -->
1298 <h2>More Privoxy:</h2>
1299 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
1306 #include mod-support-and-service
1311 <!-- @if-have-help-info-start -->
1315 #include mod-local-help
1319 <!-- if-have-help-info-end@ -->
1322 <!-- @if-one-form-only-start -->
1324 <!-- if-one-form-only-end@ -->
1326 <script type="text/javascript">
1329 if (document.getElementById) {
1330 // alert("Netscape 6 or IE5");
1331 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
1332 document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
1333 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
1335 show_add_header_opts (document.getElementById("add_header_y").checked);
1336 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
1337 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
1338 show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
1339 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
1340 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
1341 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
1342 show_send_wafer_opts (document.getElementById("send_wafer_y").checked);
1343 } else if (document.all) {
1345 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
1346 document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
1347 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
1349 show_add_header_opts (document.myform.add_header_y.checked);
1350 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
1351 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
1352 show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
1353 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
1354 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
1355 show_limit_connect_opts (document.myform.limit_connect_y.checked);
1356 show_send_wafer_opts (document.myform.send_wafer_y.checked);
1357 } else if (document.layers) {
1358 // alert("Netscape 4");