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 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.39 2006/10/04 17:37:54 fabiankeil
36 # JavaScript fix for bug report #1570678.
38 # Revision 1.38 2006/09/08 12:06:35 fabiankeil
39 # Have hide-if-modified-since interpret the random
40 # range value as minutes instead of hours. Allows
41 # more fine-grained configuration.
43 # Revision 1.37 2006/09/05 18:20:14 fabiankeil
44 # Sorted alphabetically, fixed spelling mistakes
45 # and shortened some descriptions.
47 # Revision 1.36 2006/08/14 08:29:17 fabiankeil
48 # Split filter-headers{} into filter-client-headers{}
49 # and filter-server-headers{}.
51 # Revision 1.35 2006/08/03 02:46:42 david__schmidt
52 # Incorporate Fabian Keil's patch work:
\rhttp://www.fabiankeil.de/sourcecode/privoxy/
54 # Revision 1.34 2006/07/18 14:49:13 david__schmidt
55 # Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
56 # with what was really the latest development (the v_3_0_branch branch)
58 # Revision 1.29.2.5 2004/10/05 03:17:26 david__schmidt
59 # Typo: inspect_jpegs, not inspect-jpegs in form
61 # Revision 1.29.2.4 2004/10/03 12:53:46 david__schmidt
62 # Add the ability to check jpeg images for invalid
63 # lengths of comment blocks. Defensive strategy
64 # against the exploit:
65 # Microsoft Security Bulletin MS04-028
66 # Buffer Overrun in JPEG Processing (GDI+) Could
67 # Allow Code Execution (833987)
68 # Enabled with +inspect-jpegs in actions files.
70 # Revision 1.29.2.3 2002/08/23 02:22:53 hal9
71 # Fix a perl brain fart with <li> in comments.
73 # Revision 1.29.2.1 2002/08/02 12:51:42 oes
74 # Added top submit button; Consistency with docs: Change default name for action from hide-referer to hide-referrer
76 # Revision 1.29 2002/05/21 19:10:57 oes
77 # Fixed JavaScript error
79 # Revision 1.28 2002/05/14 21:36:38 oes
80 # - Renamed prevent-(setting/reading)-cookies to
81 # crunch-(incoming/outgoing)-cookies
82 # - Renamed helplink export to actions-help-prefix
83 # - Restored alphabetical order of actions
85 # Revision 1.27 2002/04/26 22:55:26 jongfoster
86 # Removing the alternating colors because they've been wrong
87 # since the actions renames, they're high maintenance, they
88 # don't look particularly good, and now there are gaps between
89 # the table cells we don't need them.
91 # Revision 1.26 2002/04/26 21:55:17 jongfoster
92 # Cosmetic change: Making the +filter UI look the same as
95 # Revision 1.25 2002/04/26 21:37:50 jongfoster
96 # Fixing all(?) the substitutions that were broken in the
97 # recent actions rename.
99 # Revision 1.24 2002/04/26 18:24:28 jongfoster
100 # Fixing typos in help hyperlinks
102 # Revision 1.23 2002/04/26 12:57:02 oes
103 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
105 # Revision 1.22 2002/04/10 13:32:53 oes
106 # Made templates modular
108 # Revision 1.21 2002/04/08 17:05:18 oes
109 # Inline a style exception
111 # Revision 1.20 2002/04/05 16:01:30 oes
112 # Correct HTML, external Stylesheets, eye candy, some fixes
114 # Revision 1.19 2002/03/26 22:29:56 swa
115 # we have a new homepage!
117 # Revision 1.18 2002/03/24 16:32:08 jongfoster
118 # Removing logo option
120 # Revision 1.17 2002/03/24 15:23:33 jongfoster
123 # Revision 1.16 2002/03/24 11:01:06 swa
126 # Revision 1.15 2002/03/23 16:18:15 swa
127 # renamed every reference to the old name with foobar.
128 # fixed "application foobar application" tag, fixed
129 # "the foobar" with "foobar". left junkbuster in cvs
130 # comments and remarks to history untouched. should
131 # make final rename easier.
133 # Revision 1.14 2002/03/16 15:22:19 jongfoster
134 # Moving 'alpha' warning to the end of the page
136 # Revision 1.13 2002/03/16 14:28:38 jongfoster
137 # First version of modular filters support
139 # Revision 1.12 2002/03/12 01:42:50 oes
140 # Introduced modular filters
142 # Revision 1.11 2002/03/08 18:19:14 jongfoster
143 # Adding +image-blocker{pattern} option to edit interface
145 # Revision 1.10 2002/03/03 10:29:12 swa
146 # point users to the right feedback forms,
147 # not necessarily the developer list.
149 # Revision 1.9 2002/01/23 00:26:45 jongfoster
150 # Reducing length of URLs
151 # Where encoded and unencoded versions of a string existed, removing
154 # Revision 1.8 2002/01/17 21:33:00 jongfoster
155 # Replacing all references to the URL of the config interface
158 # Revision 1.7 2002/01/17 21:21:03 jongfoster
159 # DOS->Unix line endings
161 # Revision 1.6 2001/11/22 21:58:41 jongfoster
162 # Adding action +no-cookies-keep
164 # Revision 1.5 2001/11/13 21:12:17 jongfoster
165 # Added support for the following actions:
166 # +downgrade, +limit-connect, +no-compression
168 # Revision 1.4 2001/11/13 00:58:18 jongfoster
169 # New version of actions file editor templates
172 ##############################################################################
174 # Browser support for the JavaScript on this page:
175 # MS Internet Explorer 5.5 - Tested, Yes
176 # Netscape 6.0 - Tested, Yes
177 # Netscape 4.75 - Tested, NO
178 # Opera 5.12 - Tested, NO
179 # MS Internet Explorer 4+ - Untested, Yes
180 # MS IE 3.x, NS3.x - Untested, NO
181 # Mozilla >=0.6 - Untested, Yes
183 # All browsers should work, you just might not get the pretty DHTML effects.
185 # The effects that only work under the browsers marked "Yes" above are:
186 # - Text edit boxes that won't have any effect are disabled.
187 # - Table rows containing additional settings are hidden if the feature in
188 # question is disabled.
190 # There are major kludges to get around these problems with NS4, but they
191 # screw up the HTML too much for other browsers. If anyone wants to try,
192 # here's some descriptions of the kludges:
193 # http://www.webreference.com/js/tips/991114.html
194 # http://www.webreference.com/dhtml/column12/outDisplay.html
196 # If you're favorite browser isn't listed, please test and add it.
199 #############################################################################
203 # This file currently produces valid HTML 4.01 Strict.
205 # If you change it, please save the generated page from your web browser
206 # and then upload it to http://validator.w3.org/ for checking.
208 #############################################################################
210 # Available variables include:
216 # deanimate-gifs-param-first
217 # deanimate-gifs-param-last
218 # hide-from-param-block
219 # hide-from-param-custom
221 # hide-referrer-param-forge
222 # hide-referrer-param-block
223 # hide-referrer-param-custom
224 # hide-referrer-param
225 # hide-user-agent-param
226 # image-blocker-param-pattern
227 # image-blocker-param-blank
228 # image-blocker-param-custom
231 #############################################################################
232 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
236 <meta http-equiv="Content-Style-Type" content="text/css">
237 <meta http-equiv="Content-Script-Type" content="text/javascript">
238 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
239 <meta name="robots" content="noindex,nofollow">
240 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
242 <title>Privoxy@@my-hostname@: Edit actions</title>
244 <style type="text/css">
245 td.action { font-weight: bold;
247 white-space: nowrap }
248 td.subaction { font-style: italic }
249 th { font-weight: bold; }
250 # This is the key to the color names below:
251 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
252 # 1=odd rows, 2=even rows, h=Table header
253 tr.hdr { background-color: #999999 }
254 tr.bg1 { background-color: #eeeeee }
255 td.en1 { background-color: #ddffdd }
256 td.dis1 { background-color: #ffdddd }
257 td.noc1 { background-color: #ddddff }
258 th.enh { background-color: #99ff99 }
259 th.dish { background-color: #ff9999 }
260 th.noch { background-color: #9999ff }
261 table.wide { padding: 5px; }
262 td.green { border: solid black 1px; background-color: #ddffdd; }
268 border-left-width: 10px;
269 border-right-width: 10px;
270 border-top-width: 0px;
271 border-bottom-width: 0px }
274 <script type="text/javascript">
277 function hide_from_header_param_disable(tf)
279 if (document.getElementById) {
281 document.getElementById("hide_from_header_param").disabled = tf;
282 } else if (document.all) {
284 document.myform.hide_from_header_param.disabled = tf;
288 function hide_referrer_param_disable(tf)
290 if (document.getElementById) {
291 document.getElementById("hide_referrer_param").disabled = tf;
292 } else if (document.all) {
293 document.myform.hide_referrer_param.disabled = tf;
297 function set_image_blocker_param_disable(tf)
299 if (document.getElementById) {
300 document.getElementById("set_image_blocker_param").disabled = tf;
301 } else if (document.all) {
302 document.myform.set_image_blocker_param.disabled = tf;
306 function show_add_header_opts(tf)
308 if (document.getElementById) {
309 target = document.getElementById("add_header_opts");
310 } else if (document.all) {
311 target = document.add_header_opts;
315 target.style.display = (tf ? "" : "none");
318 function show_deanimate_opts(tf)
320 if (document.getElementById) {
321 target = document.getElementById("deanimate_opts");
322 } else if (document.all) {
323 target = document.deanimate_opts;
327 target.style.display = (tf ? "" : "none");
330 function show_hide_from_header_opts(tf)
332 if (document.getElementById) {
333 target = document.getElementById("hide_from_header_opts");
334 } else if (document.all) {
335 target = document.hide_from_header_opts;
339 target.style.display = (tf ? "" : "none");
342 function show_hide_referrer_opts(tf)
344 if (document.getElementById) {
345 target = document.getElementById("hide_referrer_opts");
346 } else if (document.all) {
347 target = document.hide_referrer_opts;
351 target.style.display = (tf ? "" : "none");
354 function show_user_agent_opts(tf)
356 if (document.getElementById) {
357 target = document.getElementById("user_agent_opts");
358 } else if (document.all) {
359 target = document.user_agent_opts;
363 target.style.display = (tf ? "" : "none");
366 function show_set_image_blocker_opts(tf)
368 if (document.getElementById) {
369 target = document.getElementById("set_image_blocker_opts");
370 } else if (document.all) {
371 target = document.set_image_blocker_opts;
375 target.style.display = (tf ? "" : "none");
378 function show_limit_connect_opts(tf)
380 if (document.getElementById) {
381 target = document.getElementById("limit_connect_opts");
382 } else if (document.all) {
383 target = document.limit_connect_opts;
387 target.style.display = (tf ? "" : "none");
390 function show_send_wafer_opts(tf)
392 if (document.getElementById) {
393 target = document.getElementById("send_wafer_opts");
394 } else if (document.all) {
395 target = document.send_wafer_opts;
399 target.style.display = (tf ? "" : "none");
408 <!-- @if-one-form-only-start -->
409 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
410 <!-- if-one-form-only-end@ -->
412 <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
421 <!-- @if-unstable-start -->
422 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
426 #include mod-unstable-warning
430 <!-- if-unstable-end@ -->
432 <!-- @if-one-form-only-start -->
436 <input type="hidden" name="f" value="@f@">
437 <input type="hidden" name="v" value="@v@">
438 <input type="hidden" name="s" value="@s@">
444 <td class="green" align="center">
445 <p><input type="submit" value="Submit" name="Submit"></p>
448 <!-- if-one-form-only-end@ -->
450 <tr><td class="wrapbox">
452 <!-- @if-multiple-forms-start -->
453 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
454 <h2>Edit Actions (Section 1)</h2>
455 <!-- if-multiple-forms-end@ -->
457 <table summary="Action section 1" border="0" cellspacing="2" width="100%" class="wide">
458 <tr class="hdr" align="left">
459 <th class="enh" align="center">Enable</th>
460 <th class="dish" align="center">Disable</th>
461 <th class="noch" align="center">No Change</th>
465 <tr class="bg1" align="left" valign="top">
466 <td class="en1" align="center" valign="middle"><input type="radio"
467 name="add_header" id="add_header_y" value="Y" @add-header-y@
468 onclick="show_add_header_opts(true)"></td>
469 <td class="dis1" align="center" valign="middle"><input type="radio"
470 name="add_header" value="N" @add-header-n@
471 onclick="show_add_header_opts(false)"></td>
472 <td class="noc1" align="center" valign="middle"><input type="radio"
473 name="add_header" value="X" @add-header-x@
474 onclick="show_add_header_opts(false)"></td>
475 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
476 <td>Adds HTTP headers.</td>
478 <tr class="bg1" align="left" valign="top" id="add_header_opts">
479 <td class="en1"> </td>
480 <td class="dis1"> </td>
481 <td class="noc1"> </td>
483 <td>Editing the settings for this option, or turning
484 it on if it was off, is not yet supported using this web-based
487 <tr class="bg1" align="left" valign="top">
488 <td class="en1" align="center" valign="middle"><input type="radio"
489 name="block" value="Y" @block-y@
491 <td class="dis1" align="center" valign="middle"><input type="radio"
492 name="block" value="N" @block-n@
494 <td class="noc1" align="center" valign="middle"><input type="radio"
495 name="block" value="X" @block-x@
497 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
498 <td>Block the request</td>
500 <tr class="bg1" align="left" valign="top">
501 <td class="en1" align="center" valign="middle"><input type="radio"
502 name="content_type_overwrite" value="Y" @content-type-overwrite-y@
504 <td class="dis1" align="center" valign="middle"><input type="radio"
505 name="content_type_overwrite" value="N" @content-type-overwrite-n@
507 <td class="noc1" align="center" valign="middle"><input type="radio"
508 name="content_type_overwrite" value="X" @content-type-overwrite-x@
510 <td class="action"><a href="@user-manual@@actions-help-prefix@CONTENT_TYPE_OVERWRITE">content-type-overwrite</a></td>
511 <td>Replace Content-Type header. By default it only applies to
512 text documents, but if you know what you're doing you
513 can enable force-text-mode to modify binary content types as well.</td>
515 <tr class="bg1" align="left" valign="top" id="content_type_overwrite_opts">
516 <td class="en1"> </td>
517 <td class="dis1"> </td>
518 <td class="noc1"> </td>
520 <td>New Content-Type:<br>
521 <input type="text" name="content_type_overwrite_mode" size="40"
522 value="@content-type-overwrite-param@"></td>
524 <tr class="bg1" align="left" valign="top">
525 <td class="en1" align="center" valign="middle"><input type="radio"
526 name="crunch_client_header" id="crunch_client_header_y" value="Y" @crunch-client-header-y@
528 <td class="dis1" align="center" valign="middle"><input type="radio"
529 name="crunch_client_header" value="N" @crunch-client-header-n@
531 <td class="noc1" align="center" valign="middle"><input type="radio"
532 name="crunch_client_header" value="X" @crunch-client-header-x@
534 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-CLIENT-HEADER">crunch-client-header</a></td>
535 <td>Remove header(s) matching the supplied pattern.</td>
537 <tr class="bg1" align="left" valign="top" id="crunch_client_header_opts">
538 <td class="en1"> </td>
539 <td class="dis1"> </td>
540 <td class="noc1"> </td>
542 <td>Header string to suppress:<br>
543 <input type="text" name="crunch_client_header_mode" size="40"
544 value="@crunch-client-header-param@"></td>
546 <tr class="bg1" align="left" valign="top">
547 <td class="en1" align="center" valign="middle"><input type="radio"
548 name="crunch_if_none_match" value="Y" @crunch-if-none-match-y@
550 <td class="dis1" align="center" valign="middle"><input type="radio"
551 name="crunch_if_none_match" value="N" @crunch-if-none-match-n@
553 <td class="noc1" align="center" valign="middle"><input type="radio"
554 name="crunch_if_none_match" value="X" @crunch-if-none-match-x@
556 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH_IF_NONE_MATCH">crunch-if-none-match</a></td>
557 <td>Remove If-None-Match header. Useful for filter testing
558 and to make sure the header can't be used to track your visits.</td>
561 <tr class="bg1" align="left" valign="top">
562 <td class="en1" align="center" valign="middle"><input type="radio"
563 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
565 <td class="dis1" align="center" valign="middle"><input type="radio"
566 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
568 <td class="noc1" align="center" valign="middle"><input type="radio"
569 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
571 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
572 <td>Prevent the website from setting cookies on your system.</td>
574 <tr class="bg1" align="left" valign="top">
575 <td class="en1" align="center" valign="middle"><input type="radio"
576 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
578 <td class="dis1" align="center" valign="middle"><input type="radio"
579 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
581 <td class="noc1" align="center" valign="middle"><input type="radio"
582 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
584 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
585 <td>Prevent the website from reading cookies from your system.</td>
587 <tr class="bg1" align="left" valign="top">
588 <td class="en1" align="center" valign="middle"><input type="radio"
589 name="crunch_server_header" id="crunch_server_header_y" value="Y" @crunch-server-header-y@
591 <td class="dis1" align="center" valign="middle"><input type="radio"
592 name="crunch_server_header" value="N" @crunch-server-header-n@
594 <td class="noc1" align="center" valign="middle"><input type="radio"
595 name="crunch_server_header" value="X" @crunch-server-header-x@
597 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-SERVER-HEADER">crunch-server-header</a></td>
598 <td>Remove server header(s) matching the supplied pattern.</td>
600 <tr class="bg1" align="left" valign="top" id="crunch_server_header_opts">
601 <td class="en1"> </td>
602 <td class="dis1"> </td>
603 <td class="noc1"> </td>
605 <td>Header string to suppress:<br>
606 <input type="text" name="crunch_server_header_mode" size="40"
607 value="@crunch-server-header-param@"></td>
610 <tr class="bg1" align="left" valign="top">
611 <td class="en1" align="center" valign="middle"><input type="radio"
612 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
613 onclick="show_deanimate_opts(true)"></td>
614 <td class="dis1" align="center" valign="middle"><input type="radio"
615 name="deanimate_gifs" value="N" @deanimate-gifs-n@
616 onclick="show_deanimate_opts(false)"></td>
617 <td class="noc1" align="center" valign="middle"><input type="radio"
618 name="deanimate_gifs" value="X" @deanimate-gifs-x@
619 onclick="show_deanimate_opts(false)"></td>
620 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
621 <td>Replace animated GIFs with their (first/last) frame.</td>
623 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
624 <td class="en1"> </td>
625 <td class="dis1"> </td>
626 <td class="noc1"> </td>
628 <td>Use the <input type="radio" name="deanimate_gifs_mode"
629 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
630 for="deanimate_first">first frame</label> <input
631 type="radio" name="deanimate_gifs_mode" value="last"
632 id="deanimate_last" @deanimate-gifs-param-last@><label
633 for="deanimate_last">last frame</label></td>
635 <tr class="bg1" align="left" valign="top">
636 <td class="en1" align="center" valign="middle"><input type="radio"
637 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
638 <td class="dis1" align="center" valign="middle"><input type="radio"
639 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
640 <td class="noc1" align="center" valign="middle"><input type="radio"
641 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
642 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION"
643 >downgrade-http-version</a></td>
644 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
645 what you're doing!</td>
647 <tr class="bg1" align="left" valign="top">
648 <td class="en1" align="center" valign="middle"><input type="radio"
649 name="fast_redirects" value="Y" @fast-redirects-y@
651 <td class="dis1" align="center" valign="middle"><input type="radio"
652 name="fast_redirects" value="N" @fast-redirects-n@
654 <td class="noc1" align="center" valign="middle"><input type="radio"
655 name="fast_redirects" value="X" @fast-redirects-x@
657 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
658 <td>Bypass some click-tracking URLs.</td>
660 <tr class="bg1" align="left" valign="top" id="fast-redirects_opts">
661 <td class="en1"> </td>
662 <td class="dis1"> </td>
663 <td class="noc1"> </td>
666 <input type="radio" name="fast_redirects_mode"
667 value="simple-check" id="fast_redirects_simple_check" @fast-redirects-param-simple-check@><label
668 for="fast_redirects_simple_check">Simple check.</label>
670 <input type="radio" name="fast_redirects_mode" value="check-decoded-url"
671 id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@><label
672 for="fast_redirects_check_decoded_url">Decode URL before checking.</label></td>
674 <!-- @if-multiple-forms-start -->
677 <input type="hidden" name="f" value="@f@">
678 <input type="hidden" name="v" value="@v@">
679 <input type="hidden" name="s" value="@s@">
680 <input type="submit" value="Submit changes in Section 1" name="Submit">
684 <tr><td class="wrapbox">
685 <form method="GET" action="edit-actions-submit" id="myform-2" name="myform">
686 <h2>Edit Actions (Section 2)</h2>
687 <table summary="Action section 2" border="0" cellspacing="2" width="100%" class="wide">
688 <tr class="hdr" align="left">
689 <th class="enh" align="center">Enable</th>
690 <th class="dish" align="center">Disable</th>
691 <th class="noch" align="center">No Change</th>
695 <!-- if-multiple-forms-end@ -->
696 <tr class="bg1" align="left" valign="top">
697 <td class="en1"> </td>
698 <td class="dis1" align="center" valign="middle"><input type="radio"
699 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
700 <td class="noc1" align="center" valign="middle"><input type="radio"
701 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
702 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
703 <td>Filter the website through regular expression
704 filters. You can use the radio buttons on this line to disable
705 all filters applied by previous rules, and/or you can enable or
706 disable the filters individually below.</td>
709 <!-- @if-multiple-forms-start -->
712 <input type="hidden" name="f" value="@f@">
713 <input type="hidden" name="v" value="@v@">
714 <input type="hidden" name="s" value="@s@">
715 <input type="submit" value="Submit changes in Section 2" name="Submit">
719 <tr><td class="wrapbox">
720 <form method="GET" action="edit-actions-submit" id="myform-3" name="myform">
721 <h2>Edit Actions (Section 3)</h2>
722 <table summary="Action section 3" border="0" cellspacing="2" width="100%" class="wide">
723 <tr class="hdr" align="left">
724 <th class="enh" align="center">Enable</th>
725 <th class="dish" align="center">Disable</th>
726 <th class="noch" align="center">No Change</th>
730 <!-- if-multiple-forms-end@ -->
731 <tr class="bg1" align="left" valign="top">
732 <td class="en1" align="center" valign="middle"><input type="radio"
733 name="filter_client_headers" value="Y" @filter-client-headers-y@
735 <td class="dis1" align="center" valign="middle"><input type="radio"
736 name="filter_client_headers" value="N" @filter-client-headers-n@
738 <td class="noc1" align="center" valign="middle"><input type="radio"
739 name="filter_client_headers" value="X" @filter-client-headers-x@
741 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER-CLIENT-HEADERS">filter-client-headers</a></td>
742 <td>Apply filters to the client headers as well. Only enable this if you know what you're doing.</td>
744 <tr class="bg1" align="left" valign="top">
745 <td class="en1" align="center" valign="middle"><input type="radio"
746 name="filter_server_headers" value="Y" @filter-server-headers-y@
748 <td class="dis1" align="center" valign="middle"><input type="radio"
749 name="filter_server_headers" value="N" @filter-server-headers-n@
751 <td class="noc1" align="center" valign="middle"><input type="radio"
752 name="filter_server_headers" value="X" @filter-server-headers-x@
754 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER-SERVER-HEADERS">filter-server-headers</a></td>
755 <td>Apply filters to the server headers as well. Only enable this if you know what you're doing.</td>
758 <tr class="bg1" align="left" valign="top">
759 <td class="en1" align="center" valign="middle"><input type="radio"
760 name="force_text_mode" value="Y" @force-text-mode-y@
762 <td class="dis1" align="center" valign="middle"><input type="radio"
763 name="force_text_mode" value="N" @force-text-mode-n@
765 <td class="noc1" align="center" valign="middle"><input type="radio"
766 name="force_text_mode" value="X" @force-text-mode-x@
768 <td class="action"><a href="@user-manual@@actions-help-prefix@FORCE_TEXT_MODE">force-text-mode</a></td>
770 Enable filtering on documents whose Content-Type wasn't recognized as text.
771 Do think twice, nothing is alright.
774 <tr class="bg1" align="left" valign="top">
775 <td class="en1" align="center" valign="middle"><input type="radio"
776 name="handle_as_empty_document" value="Y" @handle-as-empty-document-y@
778 <td class="dis1" align="center" valign="middle"><input type="radio"
779 name="handle_as_empty_document" value="N" @handle-as-empty-document-n@
781 <td class="noc1" align="center" valign="middle"><input type="radio"
782 name="handle_as_empty_document" value="X" @handle-as-empty-document-x@
784 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE_AS_EMPTY_DOCUMENT">handle-as-empty-document</a></td>
786 Block with an <em>empty</em> document instead of an Image or HTML message.
787 The <em>empty</em> document contains only a space and can safely be parsed
788 as JavaScript or Style Sheet. Use content-type-overwrite to specify the
789 Content-Type, default is <q>text/html</q>.
792 <tr class="bg1" align="left" valign="top">
793 <td class="en1" align="center" valign="middle"><input type="radio"
794 name="handle_as_image" value="Y" @handle-as-image-y@
796 <td class="dis1" align="center" valign="middle"><input type="radio"
797 name="handle_as_image" value="N" @handle-as-image-n@
799 <td class="noc1" align="center" valign="middle"><input type="radio"
800 name="handle_as_image" value="X" @handle-as-image-x@
802 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
803 <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>
804 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
806 <tr class="bg1" align="left" valign="top">
807 <td class="en1" align="center" valign="middle"><input type="radio"
808 name="hide_accept_language" id="hide_accept_language_y" value="Y" @hide-accept-language-y@
809 onclick="show_hide_accept_language_opts(true)"></td>
810 <td class="dis1" align="center" valign="middle"><input type="radio"
811 name="hide_accept_language" id="hide_accept_language_n" value="N" @hide-accept-language-n@
812 onclick="show_hide_accept_language_opts(false)"></td>
813 <td class="noc1" align="center" valign="middle"><input type="radio"
814 name="hide_accept_language" id="hide_accept_language_x" value="X" @hide-accept-language-x@
815 onclick="show_hide_accept_language_opts(false)"
817 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-ACCEPT-LANGUAGE">hide-accept-language</a></td>
818 <td>Pretend to have different language settings. (Makes a fake User-Agent more believable,
819 but can lead to foreign content.)</td>
821 <tr class="bg1" align="left" valign="top" id="hide_accept-language_opts">
822 <td class="en1"> </td>
823 <td class="dis1"> </td>
824 <td class="noc1"> </td>
826 <td><input type="radio" name="hide_accept_language_mode" value="block"
827 onclick="hide_accept_language_param_disable(true)"
828 @hide-accept-language-param-block@ id="hide_accept_language_mode_block"><label
829 for="hide_accept_language_mode_block">Remove Accept-Language header without replacement.</label>
831 <input type="radio" name="hide_accept_language_mode" value="CUSTOM"
832 onclick="hide_accept_language_param_disable(false)"
833 @hide-accept-language-param-custom@ id="hide_accept_language_mode_set"><label
834 for="hide_accept_language_mode_set">Fake these language settings:</label><br>
835 <input type="text" name="hide_accept_language_param"
836 id="hide_accept_language_param" size="40"
837 value="@hide-accept-language-param@"><br>
840 <tr class="bg1" align="left" valign="top">
841 <td class="en1" align="center" valign="middle"><input type="radio"
842 name="hide_content_disposition" id="hide_content_disposition_y" value="Y" @hide-content-disposition-y@
843 onclick="show_hide_content_disposition_opts(true)"></td>
844 <td class="dis1" align="center" valign="middle"><input type="radio"
845 name="hide_content_disposition" id="hide_content_disposition_n" value="N" @hide-content-disposition-n@
846 onclick="show_hide_content_disposition_opts(false)"></td>
847 <td class="noc1" align="center" valign="middle"><input type="radio"
848 name="hide_content_disposition" id="hide_content_disposition_x" value="X" @hide-content-disposition-x@
849 onclick="show_hide_content_disposition_opts(false)"
851 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-CONTENT-DISPOSITION">hide-content-disposition</a></td>
852 <td>Block or overwrite the content-disposition header. Useful to view a document inside the browser,
853 even if you were supposed to save it first, or to change the suggested file name.</td>
855 <tr class="bg1" align="left" valign="top" id="hide_content_disposition_opts">
856 <td class="en1"> </td>
857 <td class="dis1"> </td>
858 <td class="noc1"> </td>
860 <td><input type="radio" name="hide_content_disposition_mode" value="block"
861 onclick="hide_content_disposition_param_disable(true)"
862 @hide-content-disposition-param-block@ id="hide_content_disposition_mode_block"><label
863 for="hide_content_disposition_mode_block">Remove content-disposition header without replacement.</label>
865 <input type="radio" name="hide_content_disposition_mode" value="CUSTOM"
866 onclick="hide_content_disposition_param_disable(false)"
867 @hide-content-disposition-param-custom@ id="hide_content_disposition_mode_set"><label
868 for="hide_content_disposition_mode_set">Overwrite content-dispostion header with:</label><br>
869 <input type="text" name="hide_content_disposition_param"
870 id="hide_content_disposition_param" size="40"
871 value="@hide-content-disposition-param@"><br>
875 <tr class="bg1" align="left" valign="top">
876 <td class="en1" align="center" valign="middle"><input type="radio"
877 name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
879 <td class="dis1" align="center" valign="middle"><input type="radio"
880 name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
882 <td class="noc1" align="center" valign="middle"><input type="radio"
883 name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
885 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
886 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
888 <tr class="bg1" align="left" valign="top">
889 <td class="en1" align="center" valign="middle"><input type="radio"
890 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
891 onclick="show_hide_from_header_opts(true)"></td>
892 <td class="dis1" align="center" valign="middle"><input type="radio"
893 name="hide_from_header" value="N" @hide-from-header-n@
894 onclick="show_hide_from_header_opts(false)"></td>
895 <td class="noc1" align="center" valign="middle"><input type="radio"
896 name="hide_from_header" value="X" @hide-from-header-x@
897 onclick="show_hide_from_header_opts(false)"></td>
898 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
899 <td>Stop old web browsers from sending the user's e-mail address with
902 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
903 <td class="en1"> </td>
904 <td class="dis1"> </td>
905 <td class="noc1"> </td>
907 <td><input type="radio" name="hide_from_header_mode" value="block"
908 onclick="hide_from_header_param_disable(true);"
909 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
910 for="hide_from_header_mode_block">Remove completely</label><br>
911 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
912 onclick="hide_from_header_param_disable(false);"
913 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
914 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
915 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
916 size="40" value="@hide-from-header-param@"></td>
919 <tr class="bg1" align="left" valign="top">
920 <td class="en1" align="center" valign="middle"><input type="radio"
921 name="hide_if_modified_since" value="Y" @hide-if-modified-since-y@
923 <td class="dis1" align="center" valign="middle"><input type="radio"
924 name="hide_if_modified_since" value="N" @hide-if-modified-since-n@
926 <td class="noc1" align="center" valign="middle"><input type="radio"
927 name="hide_if_modified_since" value="X" @hide-if-modified-since-x@
929 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE_IF_MODIFIED_SINCE">hide-if-modified-since</a></td>
930 <td>Remove or randomize If-Modified-Since header.</td>
932 <tr class="bg1" align="left" valign="top" id="hide_if-modifed-since_opts">
933 <td class="en1"> </td>
934 <td class="dis1"> </td>
935 <td class="noc1"> </td>
937 <td><input type="radio" name="hide_if_modified_since_mode" value="block"
938 onclick="hide_if_modified_since_param_disable(true)"
939 @hide-if-modified-since-param-block@ id="hide_if_modified_since_mode_block"><label
940 for="hide_if_modified_since_mode_block">Remove without replacement.</label>
941 Useful for filter testing.<br>
942 <input type="radio" name="hide_if_modified_since_mode" value="CUSTOM"
943 onclick="hide_if_modified_since_param_disable(true)"
944 @hide-if-modified-since-param-custom@ id="hide_if_modified_since_mode_set"><label
945 for="hide_if_modified_since_mode_set">Add random amount of seconds in the range of</label>
946 <input type="text" name="hide_if_modified_since_param"
947 id="hide_if_modified_since_param" size="4"
948 value="@hide-if-modified-since-param@"> minute(s).
949 To appreciate this option a small amount of paranoia is required,
950 but at least in theory the If-Modified-Since header could be used
951 to keep track of your visits.
954 <!-- @if-multiple-forms-start -->
957 <input type="hidden" name="f" value="@f@">
958 <input type="hidden" name="v" value="@v@">
959 <input type="hidden" name="s" value="@s@">
960 <input type="submit" value="Submit changes in Section 3" name="Submit">
964 <tr><td class="wrapbox">
965 <form method="GET" action="edit-actions-submit" id="myform-4" name="myform">
966 <h2>Edit Actions (Section 4)</h2>
967 <table summary="Action section 4" border="0" cellspacing="2" width="100%" class="wide">
968 <tr class="hdr" align="left">
969 <th class="enh" align="center">Enable</th>
970 <th class="dish" align="center">Disable</th>
971 <th class="noch" align="center">No Change</th>
975 <!-- if-multiple-forms-end@ -->
976 <tr class="bg1" align="left" valign="top">
977 <td class="en1" align="center" valign="middle"><input type="radio"
978 name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
979 onclick="show_hide_referrer_opts(true)"></td>
980 <td class="dis1" align="center" valign="middle"><input type="radio"
981 name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
982 onclick="show_hide_referrer_opts(false)"></td>
983 <td class="noc1" align="center" valign="middle"><input type="radio"
984 name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
985 onclick="show_hide_referrer_opts(false)"
987 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
988 <td>Helps prevent tracking by not sending the URL of the previous web
991 <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
992 <td class="en1"> </td>
993 <td class="dis1"> </td>
994 <td class="noc1"> </td>
996 <td><input type="radio" name="hide_referrer_mode" value="block"
997 onclick="hide_referrer_param_disable(true)"
998 @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
999 for="hide_referrer_mode_block">Remove completely</label> (breaks images
1000 on some free web hosts).<br>
1001 <input type="radio" name="hide_referrer_mode" value="forge"
1002 onclick="hide_referrer_param_disable(true)"
1003 @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
1004 for="hide_referrer_mode_forge">Fake as the root directory of the
1005 site</label> (fools checks for in-site links.)<br>
1006 <input type="radio" name="hide_referrer_mode" value="CUSTOM"
1007 onclick="hide_referrer_param_disable(false)"
1008 @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
1009 for="hide_referrer_mode_set">Fake as this web address:</label><br>
1010 <input type="text" name="hide_referrer_param"
1011 id="hide_referrer_param" size="40"
1012 value="@hide-referrer-param@"><br>
1013 <input type="radio" name="hide_referrer_mode" value="conditional-block"
1014 onclick="hide_referrer_param_disable(true)"
1015 @hide-referrer-param-conditional-block@ id="hide_referrer_mode_conditional-block"><label
1016 for="hide_referrer_mode_conditional-block">Remove completely if host has changed,
1017 but don't touch in-site referrers.
1018 Less suspicious than the options above.</label><br></td>
1020 <tr class="bg1" align="left" valign="top">
1021 <td class="en1" align="center" valign="middle"><input type="radio"
1022 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
1023 onclick="show_user_agent_opts(true)"></td>
1024 <td class="dis1" align="center" valign="middle"><input type="radio"
1025 name="hide_user_agent" value="N" @hide-user-agent-n@
1026 onclick="show_user_agent_opts(false)"></td>
1027 <td class="noc1" align="center" valign="middle"><input type="radio"
1028 name="hide_user_agent" value="X" @hide-user-agent-x@
1029 onclick="show_user_agent_opts(false)"></td>
1030 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
1031 <td>Pretend to be using a different web browser. (Breaks many web
1034 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
1035 <td class="en1"> </td>
1036 <td class="dis1"> </td>
1037 <td class="noc1"> </td>
1039 <td>User Agent string to send:<br>
1040 <input type="text" name="hide_user_agent_mode" size="40"
1041 value="@hide-user-agent-param@"></td>
1043 <tr class="bg1" align="left" valign="top">
1044 <td class="en1" align="center" valign="middle"><input type="radio"
1045 name="inspect_jpegs" value="Y" @inspect-jpegs-y@
1047 <td class="dis1" align="center" valign="middle"><input type="radio"
1048 name="inspect_jpegs" value="N" @inspect-jpegs-n@
1050 <td class="noc1" align="center" valign="middle"><input type="radio"
1051 name="inspect_jpegs" value="X" @inspect-jpegs-x@
1053 <td class="action"><a href="@user-manual@@actions-help-prefix@INSPECT-JPEGS">inspect-jpegs</a></td>
1054 <td>Checks jpeg images for malicious content.</td>
1056 <tr class="bg1" align="left" valign="top">
1057 <td class="en1" align="center" valign="middle"><input type="radio"
1058 name="kill_popups" value="Y" @kill-popups-y@
1060 <td class="dis1" align="center" valign="middle"><input type="radio"
1061 name="kill_popups" value="N" @kill-popups-n@
1063 <td class="noc1" align="center" valign="middle"><input type="radio"
1064 name="kill_popups" value="X" @kill-popups-x@
1066 <td class="action"><a href="@user-manual@@actions-help-prefix@KILL-POPUPS">kill-popups</a></td>
1067 <td>Filter the website through a built-in filter to disable many JavaScript
1068 pop-up windows.</td>
1070 <tr class="bg1" align="left" valign="top">
1071 <td class="en1" align="center" valign="middle"><input type="radio"
1072 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
1073 onclick="show_limit_connect_opts(true)"></td>
1074 <td class="dis1" align="center" valign="middle"><input type="radio"
1075 name="limit_connect" value="N" @limit-connect-n@
1076 onclick="show_limit_connect_opts(false)"></td>
1077 <td class="noc1" align="center" valign="middle"><input type="radio"
1078 name="limit_connect" value="X" @limit-connect-x@
1079 onclick="show_limit_connect_opts(false)"></td>
1080 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
1081 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
1082 Note that this allows arbitrary tunnelling, so opening all
1083 ports would be a security hole.</td>
1085 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
1086 <td class="en1"> </td>
1087 <td class="dis1"> </td>
1088 <td class="noc1"> </td>
1090 <td>Legal SSL ports (comma separated, ranges allowed):<br>
1091 <input type="text" name="limit_connect_mode" size="40"
1092 value="@limit-connect-param@"></td>
1094 <tr class="bg1" align="left" valign="top">
1095 <td class="en1" align="center" valign="middle"><input type="radio"
1096 name="overwrite_last_modified" value="Y" @overwrite-last-modified-y@
1098 <td class="dis1" align="center" valign="middle"><input type="radio"
1099 name="overwrite_last_modified" value="N" @overwrite-last-modified-n@
1101 <td class="noc1" align="center" valign="middle"><input type="radio"
1102 name="overwrite_last_modified" value="X" @overwrite-last-modified-x@
1104 <td class="action"><a href="@user-manual@@actions-help-prefix@OVERWRITE_LAST_MODIFIED">overwrite-last-modified</a></td>
1105 <td>Remove or randomize If-Modified-Since header.</td>
1107 <tr class="bg1" align="left" valign="top" id="overwrite_last_modified_opts">
1108 <td class="en1"> </td>
1109 <td class="dis1"> </td>
1110 <td class="noc1"> </td>
1112 <td><input type="radio" name="overwrite_last_modified_mode" value="block"
1113 onclick="overwrite_last_modified_param_disable(true)"
1114 @overwrite-last-modified-param-block@ id="overwrite_last_modified_mode_block"><label
1115 for="overwrite_last_modified_mode_block">Remove without replacement.</label>
1117 <input type="radio" name="overwrite_last_modified_mode" value="reset-to-request-time"
1118 onclick="overwrite_last_modified_param_disable(true)"
1119 @overwrite-last-modified-param-reset-to-request-time@
1120 id="overwrite_last_modified_mode_reset-to-request-time"><label
1121 for="overwrite_last_modified_mode_reset-to-request-time">Reset to the time of the request.</label>
1123 <input type="radio" name="overwrite_last_modified_mode" value="randomize"
1124 onclick="overwrite_last_modified_param_disable(true)"
1125 @overwrite-last-modified-param-randomize@
1126 id="overwrite_last_modified_mode_randomize"><label
1127 for="overwrite_last_modified_mode_randomize">Overwrite with random value
1128 between original header value and the time of the request.</label>
1132 <tr class="bg1" align="left" valign="top">
1133 <td class="en1" align="center" valign="middle"><input type="radio"
1134 name="prevent_compression" value="Y" @prevent-compression-y@
1136 <td class="dis1" align="center" valign="middle"><input type="radio"
1137 name="prevent_compression" value="N" @prevent-compression-n@
1139 <td class="noc1" align="center" valign="middle"><input type="radio"
1140 name="prevent_compression" value="X" @prevent-compression-x@
1142 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
1143 <td>Disables compression. Compressed web pages are faster to
1144 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
1145 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>.
1146 This setting only affects the few web sites which support
1149 <tr class="bg1" align="left" valign="top">
1150 <td class="en1" align="center" valign="middle"><input type="radio"
1151 name="redirect" value="Y" @redirect-y@
1153 <td class="dis1" align="center" valign="middle"><input type="radio"
1154 name="redirect" value="N" @redirect-n@
1156 <td class="noc1" align="center" valign="middle"><input type="radio"
1157 name="redirect" value="X" @redirect-x@
1159 <td class="action"><a href="@user-manual@@actions-help-prefix@REDIRECT">redirect</a></td>
1160 <td>Redirect to another address.
1162 <tr class="bg1" align="left" valign="top" id="redirect_opts">
1163 <td class="en1"> </td>
1164 <td class="dis1"> </td>
1165 <td class="noc1"> </td>
1167 <td>Static address or a single pcrs command to redirect to a rewritten version of the original URL:<br>
1168 <input type="text" name="redirect_mode" size="40"
1169 value="@redirect-param@"></td>
1172 <tr class="bg1" align="left" valign="top">
1173 <td class="en1" align="center" valign="middle"><input type="radio"
1174 name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
1176 <td class="dis1" align="center" valign="middle"><input type="radio"
1177 name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
1179 <td class="noc1" align="center" valign="middle"><input type="radio"
1180 name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
1182 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
1183 <td>Adds a special wafer (standard cookie) to all your requests.</td>
1185 <tr class="bg1" align="left" valign="top">
1186 <td class="en1" align="center" valign="middle"><input type="radio"
1187 name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
1188 onclick="show_send_wafer_opts(true)"></td>
1189 <td class="dis1" align="center" valign="middle"><input type="radio"
1190 name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
1191 onclick="show_send_wafer_opts(false)"></td>
1192 <td class="noc1" align="center" valign="middle"><input type="radio"
1193 name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
1194 onclick="show_send_wafer_opts(false)"></td>
1195 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-WAFER">send-wafer</a></td>
1196 <td>Adds user-specified cookies.</td>
1198 <tr class="bg1" align="left" valign="top" id="send_wafer_opts">
1199 <td class="en1"> </td>
1200 <td class="dis1"> </td>
1201 <td class="noc1"> </td>
1203 <td>Editing the settings for this option, or turning
1204 it on if it was off, is not yet supported using this web-based
1207 <tr class="bg1" align="left" valign="top">
1208 <td class="en1" align="center" valign="middle"><input type="radio"
1209 name="session_cookies_only" value="Y" @session-cookies-only-y@
1211 <td class="dis1" align="center" valign="middle"><input type="radio"
1212 name="session_cookies_only" value="N" @session-cookies-only-n@
1214 <td class="noc1" align="center" valign="middle"><input type="radio"
1215 name="session_cookies_only" value="X" @session-cookies-only-x@
1217 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
1218 <td>Any cookies set by the website are changed to temporary
1219 ("per-session") ones, which only last until you close your web
1220 browser. This will allow you to use sites that require cookies, but
1221 sites will not be able to track you across sessions. For this to
1222 be useful, you should disable
1223 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
1224 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
1226 <tr class="bg1" align="left" valign="top">
1227 <td class="en1" align="center" valign="middle"><input type="radio"
1228 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
1229 onclick="show_set_image_blocker_opts(true)"></td>
1230 <td class="dis1" align="center" valign="middle"><input type="radio"
1231 name="set_image_blocker" value="N" @set-image-blocker-n@
1232 onclick="show_set_image_blocker_opts(false)"></td>
1233 <td class="noc1" align="center" valign="middle"><input type="radio"
1234 name="set_image_blocker" value="X" @set-image-blocker-x@
1235 onclick="show_set_image_blocker_opts(false)"></td>
1236 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
1237 <td>Specifies how to block images.</td>
1239 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
1240 <td class="en1"> </td>
1241 <td class="dis1"> </td>
1242 <td class="noc1"> </td>
1244 <td><input type="radio" name="set_image_blocker_mode"
1245 onclick="set_image_blocker_param_disable(true)"
1246 value="pattern" id="set_image_blocker_mode_pattern"
1247 @set-image-blocker-param-pattern@><label
1248 for="set_image_blocker_mode_pattern">Send a pattern (<img
1249 src="send-banner?type=p" width="12" height="12"
1250 alt="pattern">)</label><br>
1251 <input type="radio" name="set_image_blocker_mode" value="blank"
1252 onclick="set_image_blocker_param_disable(true)"
1253 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
1254 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
1255 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
1256 onclick="set_image_blocker_param_disable(false)"
1257 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
1258 for="set_image_blocker_mode_set">Redirect
1259 the browser to this image URL:</label><br>
1260 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
1261 size="40" value="@set-image-blocker-param@"></td>
1263 <tr class="bg1" align="left" valign="top">
1264 <td class="en1" align="center" valign="middle"><input type="radio"
1265 name="treat_forbidden_connects_like_blocks" value="Y" @treat-forbidden-connects-like-blocks-y@
1267 <td class="dis1" align="center" valign="middle"><input type="radio"
1268 name="treat_forbidden_connects_like_blocks" value="N" @treat-forbidden-connects-like-blocks-n@
1270 <td class="noc1" align="center" valign="middle"><input type="radio"
1271 name="treat_forbidden_connects_like_blocks" value="X" @treat-forbidden-connects-like-blocks-x@
1273 <td class="action"><a href="@user-manual@@actions-help-prefix@TREAT_FORBIDDEN_CONNECTS_LIKE_BLOCKS">treat-forbidden-connects-like-blocks</a></td>
1275 Answer forbidden Connect requests with the usual block message.
1276 Makes unblocking easier, but the <q>go there anyway</q> link will not work
1282 <!-- @if-multiple-forms-start -->
1284 <input type="hidden" name="f" value="@f@">
1285 <input type="hidden" name="v" value="@v@">
1286 <input type="hidden" name="s" value="@s@">
1287 <input type="submit" value="Submit changes in Section 4" name="Submit">
1290 <!-- if-multiple-forms-end@ -->
1292 <!-- @if-one-form-only-start -->
1294 <td class="green" align="center">
1295 <p><input type="submit" value="Submit" name="Submit"></p>
1298 <!-- if-one-form-only-end@ -->
1301 <h2>More Privoxy:</h2>
1302 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
1309 #include mod-support-and-service
1314 <!-- @if-have-help-info-start -->
1318 #include mod-local-help
1322 <!-- if-have-help-info-end@ -->
1325 <!-- @if-one-form-only-start -->
1327 <!-- if-one-form-only-end@ -->
1329 <script type="text/javascript">
1332 if (document.getElementById) {
1333 // alert("Netscape 6 or IE5");
1334 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
1335 document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
1336 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
1338 show_add_header_opts (document.getElementById("add_header_y").checked);
1339 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
1340 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
1341 show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
1342 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
1343 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
1344 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
1345 show_send_wafer_opts (document.getElementById("send_wafer_y").checked);
1346 } else if (document.all) {
1348 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
1349 document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
1350 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
1352 show_add_header_opts (document.myform.add_header_y.checked);
1353 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
1354 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
1355 show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
1356 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
1357 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
1358 show_limit_connect_opts (document.myform.limit_connect_y.checked);
1359 show_send_wafer_opts (document.myform.send_wafer_y.checked);
1360 } else if (document.layers) {
1361 // alert("Netscape 4");