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.36 2006/08/14 08:29:17 fabiankeil
36 # Split filter-headers{} into filter-client-headers{}
37 # and filter-server-headers{}.
39 # Revision 1.35 2006/08/03 02:46:42 david__schmidt
40 # Incorporate Fabian Keil's patch work:
\rhttp://www.fabiankeil.de/sourcecode/privoxy/
42 # Revision 1.34 2006/07/18 14:49:13 david__schmidt
43 # Reorganizing the repository: swapping out what was HEAD (the old 3.1 branch)
44 # with what was really the latest development (the v_3_0_branch branch)
46 # Revision 1.29.2.5 2004/10/05 03:17:26 david__schmidt
47 # Typo: inspect_jpegs, not inspect-jpegs in form
49 # Revision 1.29.2.4 2004/10/03 12:53:46 david__schmidt
50 # Add the ability to check jpeg images for invalid
51 # lengths of comment blocks. Defensive strategy
52 # against the exploit:
53 # Microsoft Security Bulletin MS04-028
54 # Buffer Overrun in JPEG Processing (GDI+) Could
55 # Allow Code Execution (833987)
56 # Enabled with +inspect-jpegs in actions files.
58 # Revision 1.29.2.3 2002/08/23 02:22:53 hal9
59 # Fix a perl brain fart with <li> in comments.
61 # Revision 1.29.2.1 2002/08/02 12:51:42 oes
62 # Added top submit button; Consistency with docs: Change default name for action from hide-referer to hide-referrer
64 # Revision 1.29 2002/05/21 19:10:57 oes
65 # Fixed JavaScript error
67 # Revision 1.28 2002/05/14 21:36:38 oes
68 # - Renamed prevent-(setting/reading)-cookies to
69 # crunch-(incoming/outgoing)-cookies
70 # - Renamed helplink export to actions-help-prefix
71 # - Restored alphabetical order of actions
73 # Revision 1.27 2002/04/26 22:55:26 jongfoster
74 # Removing the alternating colors because they've been wrong
75 # since the actions renames, they're high maintenance, they
76 # don't look particularly good, and now there are gaps between
77 # the table cells we don't need them.
79 # Revision 1.26 2002/04/26 21:55:17 jongfoster
80 # Cosmetic change: Making the +filter UI look the same as
83 # Revision 1.25 2002/04/26 21:37:50 jongfoster
84 # Fixing all(?) the substitutions that were broken in the
85 # recent actions rename.
87 # Revision 1.24 2002/04/26 18:24:28 jongfoster
88 # Fixing typos in help hyperlinks
90 # Revision 1.23 2002/04/26 12:57:02 oes
91 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
93 # Revision 1.22 2002/04/10 13:32:53 oes
94 # Made templates modular
96 # Revision 1.21 2002/04/08 17:05:18 oes
97 # Inline a style exception
99 # Revision 1.20 2002/04/05 16:01:30 oes
100 # Correct HTML, external Stylesheets, eye candy, some fixes
102 # Revision 1.19 2002/03/26 22:29:56 swa
103 # we have a new homepage!
105 # Revision 1.18 2002/03/24 16:32:08 jongfoster
106 # Removing logo option
108 # Revision 1.17 2002/03/24 15:23:33 jongfoster
111 # Revision 1.16 2002/03/24 11:01:06 swa
114 # Revision 1.15 2002/03/23 16:18:15 swa
115 # renamed every reference to the old name with foobar.
116 # fixed "application foobar application" tag, fixed
117 # "the foobar" with "foobar". left junkbuster in cvs
118 # comments and remarks to history untouched. should
119 # make final rename easier.
121 # Revision 1.14 2002/03/16 15:22:19 jongfoster
122 # Moving 'alpha' warning to the end of the page
124 # Revision 1.13 2002/03/16 14:28:38 jongfoster
125 # First version of modular filters support
127 # Revision 1.12 2002/03/12 01:42:50 oes
128 # Introduced modular filters
130 # Revision 1.11 2002/03/08 18:19:14 jongfoster
131 # Adding +image-blocker{pattern} option to edit interface
133 # Revision 1.10 2002/03/03 10:29:12 swa
134 # point users to the right feedback forms,
135 # not necessarily the developer list.
137 # Revision 1.9 2002/01/23 00:26:45 jongfoster
138 # Reducing length of URLs
139 # Where encoded and unencoded versions of a string existed, removing
142 # Revision 1.8 2002/01/17 21:33:00 jongfoster
143 # Replacing all references to the URL of the config interface
146 # Revision 1.7 2002/01/17 21:21:03 jongfoster
147 # DOS->Unix line endings
149 # Revision 1.6 2001/11/22 21:58:41 jongfoster
150 # Adding action +no-cookies-keep
152 # Revision 1.5 2001/11/13 21:12:17 jongfoster
153 # Added support for the following actions:
154 # +downgrade, +limit-connect, +no-compression
156 # Revision 1.4 2001/11/13 00:58:18 jongfoster
157 # New version of actions file editor templates
160 ##############################################################################
162 # Browser support for the JavaScript on this page:
163 # MS Internet Explorer 5.5 - Tested, Yes
164 # Netscape 6.0 - Tested, Yes
165 # Netscape 4.75 - Tested, NO
166 # Opera 5.12 - Tested, NO
167 # MS Internet Explorer 4+ - Untested, Yes
168 # MS IE 3.x, NS3.x - Untested, NO
169 # Mozilla >=0.6 - Untested, Yes
171 # All browsers should work, you just might not get the pretty DHTML effects.
173 # The effects that only work under the browsers marked "Yes" above are:
174 # - Text edit boxes that won't have any effect are disabled.
175 # - Table rows containing additional settings are hidden if the feature in
176 # question is disabled.
178 # There are major kludges to get around these problems with NS4, but they
179 # screw up the HTML too much for other browsers. If anyone wants to try,
180 # here's some descriptions of the kludges:
181 # http://www.webreference.com/js/tips/991114.html
182 # http://www.webreference.com/dhtml/column12/outDisplay.html
184 # If you're favorite browser isn't listed, please test and add it.
187 #############################################################################
191 # This file currently produces valid HTML 4.01 Strict.
193 # If you change it, please save the generated page from your web browser
194 # and then upload it to http://validator.w3.org/ for checking.
196 #############################################################################
198 # Available variables include:
204 # deanimate-gifs-param-first
205 # deanimate-gifs-param-last
206 # hide-from-param-block
207 # hide-from-param-custom
209 # hide-referrer-param-forge
210 # hide-referrer-param-block
211 # hide-referrer-param-custom
212 # hide-referrer-param
213 # hide-user-agent-param
214 # image-blocker-param-pattern
215 # image-blocker-param-blank
216 # image-blocker-param-custom
219 #############################################################################
220 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
224 <meta http-equiv="Content-Style-Type" content="text/css">
225 <meta http-equiv="Content-Script-Type" content="text/javascript">
226 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
227 <meta name="robots" content="noindex,nofollow">
228 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
230 <title>Privoxy@@my-hostname@: Edit actions</title>
232 <style type="text/css">
233 td.action { font-weight: bold;
235 white-space: nowrap }
236 td.subaction { font-style: italic }
237 th { font-weight: bold; }
238 # This is the key to the color names below:
239 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
240 # 1=odd rows, 2=even rows, h=Table header
241 tr.hdr { background-color: #999999 }
242 tr.bg1 { background-color: #eeeeee }
243 td.en1 { background-color: #ddffdd }
244 td.dis1 { background-color: #ffdddd }
245 td.noc1 { background-color: #ddddff }
246 th.enh { background-color: #99ff99 }
247 th.dish { background-color: #ff9999 }
248 th.noch { background-color: #9999ff }
249 table.wide { padding: 5px; }
250 td.green { border: solid black 1px; background-color: #ddffdd; }
256 border-left-width: 10px;
257 border-right-width: 10px;
258 border-top-width: 0px;
259 border-bottom-width: 0px }
262 <script type="text/javascript">
265 function hide_from_header_param_disable(tf)
267 if (document.getElementById) {
269 document.getElementById("hide_from_header_param").disabled = tf;
270 } else if (document.all) {
272 document.myform.hide_from_header_param.disabled = tf;
276 function hide_referrer_param_disable(tf)
278 if (document.getElementById) {
279 document.getElementById("hide_referrer_param").disabled = tf;
280 } else if (document.all) {
281 document.myform.hide_referrer_param.disabled = tf;
285 function set_image_blocker_param_disable(tf)
287 if (document.getElementById) {
288 document.getElementById("set_image_blocker_param").disabled = tf;
289 } else if (document.all) {
290 document.myform.set_image_blocker_param.disabled = tf;
294 function show_add_header_opts(tf)
296 if (document.getElementById) {
297 target = document.getElementById("add_header_opts");
298 } else if (document.all) {
299 target = document.add_header_opts;
303 target.style.display = (tf ? "" : "none");
306 function show_deanimate_opts(tf)
308 if (document.getElementById) {
309 target = document.getElementById("deanimate_opts");
310 } else if (document.all) {
311 target = document.deanimate_opts;
315 target.style.display = (tf ? "" : "none");
318 function show_hide_from_header_opts(tf)
320 if (document.getElementById) {
321 target = document.getElementById("hide_from_header_opts");
322 } else if (document.all) {
323 target = document.hide_from_header_opts;
327 target.style.display = (tf ? "" : "none");
330 function show_hide_referrer_opts(tf)
332 if (document.getElementById) {
333 target = document.getElementById("hide_referrer_opts");
334 } else if (document.all) {
335 target = document.hide_referrer_opts;
339 target.style.display = (tf ? "" : "none");
342 function show_user_agent_opts(tf)
344 if (document.getElementById) {
345 target = document.getElementById("user_agent_opts");
346 } else if (document.all) {
347 target = document.user_agent_opts;
351 target.style.display = (tf ? "" : "none");
354 function show_set_image_blocker_opts(tf)
356 if (document.getElementById) {
357 target = document.getElementById("set_image_blocker_opts");
358 } else if (document.all) {
359 target = document.set_image_blocker_opts;
363 target.style.display = (tf ? "" : "none");
366 function show_limit_connect_opts(tf)
368 if (document.getElementById) {
369 target = document.getElementById("limit_connect_opts");
370 } else if (document.all) {
371 target = document.limit_connect_opts;
375 target.style.display = (tf ? "" : "none");
378 function show_send_wafer_opts(tf)
380 if (document.getElementById) {
381 target = document.getElementById("send_wafer_opts");
382 } else if (document.all) {
383 target = document.send_wafer_opts;
387 target.style.display = (tf ? "" : "none");
396 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
398 <table cellpadding="20" cellspacing="10" border="0" width="100%">
407 <!-- @if-unstable-start -->
408 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
412 #include mod-unstable-warning
416 <!-- if-unstable-end@ -->
421 <input type="hidden" name="f" value="@f@">
422 <input type="hidden" name="v" value="@v@">
423 <input type="hidden" name="s" value="@s@">
429 <td class="green" align="center">
430 <p><input type="submit" value="Submit" name="Submit"></p>
434 <tr><td class="wrapbox">
436 <table border="0" cellspacing="2" width="100%" class="wide">
437 <tr class="hdr" align="left">
438 <th class="enh" align="center">Enable</th>
439 <th class="dish" align="center">Disable</th>
440 <th class="noch" align="center">No Change</th>
444 <tr class="bg1" align="left" valign="top">
445 <td class="en1" align="center" valign="middle"><input type="radio"
446 name="add_header" id="add_header_y" value="Y" @add-header-y@
447 onclick="show_add_header_opts(true)"></td>
448 <td class="dis1" align="center" valign="middle"><input type="radio"
449 name="add_header" value="N" @add-header-n@
450 onclick="show_add_header_opts(false)"></td>
451 <td class="noc1" align="center" valign="middle"><input type="radio"
452 name="add_header" value="X" @add-header-x@
453 onclick="show_add_header_opts(false)"></td>
454 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
455 <td>Adds HTTP headers.</td>
457 <tr class="bg1" align="left" valign="top" id="add_header_opts">
458 <td class="en1"> </td>
459 <td class="dis1"> </td>
460 <td class="noc1"> </td>
462 <td>Editing the settings for this option, or turning
463 it on if it was off, is not yet supported using this web-based
466 <tr class="bg1" align="left" valign="top">
467 <td class="en1" align="center" valign="middle"><input type="radio"
468 name="block" value="Y" @block-y@
470 <td class="dis1" align="center" valign="middle"><input type="radio"
471 name="block" value="N" @block-n@
473 <td class="noc1" align="center" valign="middle"><input type="radio"
474 name="block" value="X" @block-x@
476 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
477 <td>Block the request</td>
479 <tr class="bg1" align="left" valign="top">
480 <td class="en1" align="center" valign="middle"><input type="radio"
481 name="content_type_overwrite" value="Y" @content-type-overwrite-y@
483 <td class="dis1" align="center" valign="middle"><input type="radio"
484 name="content_type_overwrite" value="N" @content-type-overwrite-n@
486 <td class="noc1" align="center" valign="middle"><input type="radio"
487 name="content_type_overwrite" value="X" @content-type-overwrite-x@
489 <td class="action"><a href="@user-manual@@actions-help-prefix@CONTENT_TYPE_OVERWRITE">content-type-overwrite</a></td>
490 <td>Replace Content-Type header. By default it only applies to
491 text documents, but if you know what you're doing you
492 can enable force-text-mode to modify binary content types as well.</td>
494 <tr class="bg1" align="left" valign="top" id="content_type_overwrite_opts">
495 <td class="en1"> </td>
496 <td class="dis1"> </td>
497 <td class="noc1"> </td>
499 <td>New Content-Type:<br>
500 <input type="text" name="content_type_overwrite_mode" size="40"
501 value="@content-type-overwrite-param@"></td>
503 <tr class="bg1" align="left" valign="top">
504 <td class="en1" align="center" valign="middle"><input type="radio"
505 name="crunch_client_header" id="crunch_client_header_y" value="Y" @crunch-client-header-y@
507 <td class="dis1" align="center" valign="middle"><input type="radio"
508 name="crunch_client_header" value="N" @crunch-client-header-n@
510 <td class="noc1" align="center" valign="middle"><input type="radio"
511 name="crunch_client_header" value="X" @crunch-client-header-x@
513 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-CLIENT-HEADER">crunch-client-header</a></td>
514 <td>Remove header(s) matching the supplied pattern.</td>
516 <tr class="bg1" align="left" valign="top" id="crunch_client_header_opts">
517 <td class="en1"> </td>
518 <td class="dis1"> </td>
519 <td class="noc1"> </td>
521 <td>Header string to suppress:<br>
522 <input type="text" name="crunch_client_header_mode" size="40"
523 value="@crunch-client-header-param@"></td>
525 <tr class="bg1" align="left" valign="top">
526 <td class="en1" align="center" valign="middle"><input type="radio"
527 name="crunch_if_none_match" value="Y" @crunch-if-none-match-y@
529 <td class="dis1" align="center" valign="middle"><input type="radio"
530 name="crunch_if_none_match" value="N" @crunch-if-none-match-n@
532 <td class="noc1" align="center" valign="middle"><input type="radio"
533 name="crunch_if_none_match" value="X" @crunch-if-none-match-x@
535 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH_IF_NONE_MATCH">crunch-if-none-match</a></td>
536 <td>Remove If-None-Match header. Useful for filter testing
537 and to make sure the header can't be used to track your visits.</td>
540 <tr class="bg1" align="left" valign="top">
541 <td class="en1" align="center" valign="middle"><input type="radio"
542 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
544 <td class="dis1" align="center" valign="middle"><input type="radio"
545 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
547 <td class="noc1" align="center" valign="middle"><input type="radio"
548 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
550 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
551 <td>Prevent the website from setting cookies on your system.</td>
553 <tr class="bg1" align="left" valign="top">
554 <td class="en1" align="center" valign="middle"><input type="radio"
555 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
557 <td class="dis1" align="center" valign="middle"><input type="radio"
558 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
560 <td class="noc1" align="center" valign="middle"><input type="radio"
561 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
563 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
564 <td>Prevent the website from reading cookies from your system.</td>
566 <tr class="bg1" align="left" valign="top">
567 <td class="en1" align="center" valign="middle"><input type="radio"
568 name="crunch_server_header" id="crunch_server_header_y" value="Y" @crunch-server-header-y@
570 <td class="dis1" align="center" valign="middle"><input type="radio"
571 name="crunch_server_header" value="N" @crunch-server-header-n@
573 <td class="noc1" align="center" valign="middle"><input type="radio"
574 name="crunch_server_header" value="X" @crunch-server-header-x@
576 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-SERVER-HEADER">crunch-server-header</a></td>
577 <td>Remove server header(s) matching the supplied pattern.</td>
579 <tr class="bg1" align="left" valign="top" id="crunch_server_header_opts">
580 <td class="en1"> </td>
581 <td class="dis1"> </td>
582 <td class="noc1"> </td>
584 <td>Header string to suppress:<br>
585 <input type="text" name="crunch_server_header_mode" size="40"
586 value="@crunch-server-header-param@"></td>
589 <tr class="bg1" align="left" valign="top">
590 <td class="en1" align="center" valign="middle"><input type="radio"
591 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
592 onclick="show_deanimate_opts(true)"></td>
593 <td class="dis1" align="center" valign="middle"><input type="radio"
594 name="deanimate_gifs" value="N" @deanimate-gifs-n@
595 onclick="show_deanimate_opts(false)"></td>
596 <td class="noc1" align="center" valign="middle"><input type="radio"
597 name="deanimate_gifs" value="X" @deanimate-gifs-x@
598 onclick="show_deanimate_opts(false)"></td>
599 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
600 <td>Replace animated GIFs with their (first/last) frame.</td>
602 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
603 <td class="en1"> </td>
604 <td class="dis1"> </td>
605 <td class="noc1"> </td>
607 <td>Use the <input type="radio" name="deanimate_gifs_mode"
608 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
609 for="deanimate_first">first frame</label> <input
610 type="radio" name="deanimate_gifs_mode" value="last"
611 id="deanimate_last" @deanimate-gifs-param-last@><label
612 for="deanimate_last">last frame</label></td>
614 <tr class="bg1" align="left" valign="top">
615 <td class="en1" align="center" valign="middle"><input type="radio"
616 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
617 <td class="dis1" align="center" valign="middle"><input type="radio"
618 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
619 <td class="noc1" align="center" valign="middle"><input type="radio"
620 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
621 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION"
622 >downgrade-http-version</a></td>
623 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
624 what you're doing!</td>
626 <tr class="bg1" align="left" valign="top">
627 <td class="en1" align="center" valign="middle"><input type="radio"
628 name="fast_redirects" value="Y" @fast-redirects-y@
630 <td class="dis1" align="center" valign="middle"><input type="radio"
631 name="fast_redirects" value="N" @fast-redirects-n@
633 <td class="noc1" align="center" valign="middle"><input type="radio"
634 name="fast_redirects" value="X" @fast-redirects-x@
636 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
637 <td>Bypass some click-tracking URLs.</td>
639 <tr class="bg1" align="left" valign="top" id="fast-redirects_opts">
640 <td class="en1"> </td>
641 <td class="dis1"> </td>
642 <td class="noc1"> </td>
645 <input type="radio" name="fast_redirects_mode"
646 value="simple-check" id="fast_redirects_simple_check" @fast-redirects-param-simple-check@><label
647 for="fast_redirects_simple_check">Simple check.</label>
649 <input type="radio" name="fast_redirects_mode" value="check-decoded-url"
650 id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@><label
651 for="fast_redirects_check_decoded_url">Decode URL before checking.</label></td>
653 <tr class="bg1" align="left" valign="top">
654 <td class="en1"> </td>
655 <td class="dis1" align="center" valign="middle"><input type="radio"
656 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
657 <td class="noc1" align="center" valign="middle"><input type="radio"
658 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
659 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
660 <td>Filter the website through regular expression
661 filters. You can use the radio buttons on this line to disable
662 all filters applied by previous rules, and/or you can enable or
663 disable the filters individually below.</td>
666 <tr class="bg1" align="left" valign="top">
667 <td class="en1" align="center" valign="middle"><input type="radio"
668 name="filter_client_headers" value="Y" @filter-client-headers-y@
670 <td class="dis1" align="center" valign="middle"><input type="radio"
671 name="filter_client_headers" value="N" @filter-client-headers-n@
673 <td class="noc1" align="center" valign="middle"><input type="radio"
674 name="filter_client_headers" value="X" @filter-client-headers-x@
676 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER-CLIENT-HEADERS">filter-client-headers</a></td>
677 <td>Apply filters to the client headers as well. Only enable this if you know what you're doing.</td>
679 <tr class="bg1" align="left" valign="top">
680 <td class="en1" align="center" valign="middle"><input type="radio"
681 name="filter_server_headers" value="Y" @filter-server-headers-y@
683 <td class="dis1" align="center" valign="middle"><input type="radio"
684 name="filter_server_headers" value="N" @filter-server-headers-n@
686 <td class="noc1" align="center" valign="middle"><input type="radio"
687 name="filter_server_headers" value="X" @filter-server-headers-x@
689 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER-SERVER-HEADERS">filter-server-headers</a></td>
690 <td>Apply filters to the server headers as well. Only enable this if you know what you're doing.</td>
693 <tr class="bg1" align="left" valign="top">
694 <td class="en1" align="center" valign="middle"><input type="radio"
695 name="force_text_mode" value="Y" @force-text-mode-y@
697 <td class="dis1" align="center" valign="middle"><input type="radio"
698 name="force_text_mode" value="N" @force-text-mode-n@
700 <td class="noc1" align="center" valign="middle"><input type="radio"
701 name="force_text_mode" value="X" @force-text-mode-x@
703 <td class="action"><a href="@user-manual@@actions-help-prefix@FORCE_TEXT_MODE">force-text-mode</a></td>
705 Enable filtering on documents whose Content-Type wasn't recognized as text.
706 Do think twice, nothing is alright.
709 <tr class="bg1" align="left" valign="top">
710 <td class="en1" align="center" valign="middle"><input type="radio"
711 name="handle_as_empty_document" value="Y" @handle-as-empty-document-y@
713 <td class="dis1" align="center" valign="middle"><input type="radio"
714 name="handle_as_empty_document" value="N" @handle-as-empty-document-n@
716 <td class="noc1" align="center" valign="middle"><input type="radio"
717 name="handle_as_empty_document" value="X" @handle-as-empty-document-x@
719 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE_AS_EMPTY_DOCUMENT">handle-as-empty-document</a></td>
721 Block with an <em>empty</em> document instead of an Image or HTML message.
722 The <em>empty</em> document contains only a space and can safely be parsed
723 as JavaScript or Style Sheet. Use content-type-overwrite to specify the
724 Content-Type, default is <q>text/html</q>.
727 <tr class="bg1" align="left" valign="top">
728 <td class="en1" align="center" valign="middle"><input type="radio"
729 name="handle_as_image" value="Y" @handle-as-image-y@
731 <td class="dis1" align="center" valign="middle"><input type="radio"
732 name="handle_as_image" value="N" @handle-as-image-n@
734 <td class="noc1" align="center" valign="middle"><input type="radio"
735 name="handle_as_image" value="X" @handle-as-image-x@
737 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
738 <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>
739 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
741 <tr class="bg1" align="left" valign="top">
742 <td class="en1" align="center" valign="middle"><input type="radio"
743 name="hide_accept_language" id="hide_accept_language_y" value="Y" @hide-accept-language-y@
744 onclick="show_hide_accept_language_opts(true)"></td>
745 <td class="dis1" align="center" valign="middle"><input type="radio"
746 name="hide_accept_language" id="hide_accept_language_n" value="N" @hide-accept-language-n@
747 onclick="show_hide_accept_language_opts(false)"></td>
748 <td class="noc1" align="center" valign="middle"><input type="radio"
749 name="hide_accept_language" id="hide_accept_language_x" value="X" @hide-accept-language-x@
750 onclick="show_hide_accept_language_opts(false)"
752 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-ACCEPT-LANGUAGE">hide-accept-language</a></td>
753 <td>Pretend to have different language settings. (Makes a fake User-Agent more believable,
754 but can lead to foreign content.)</td>
756 <tr class="bg1" align="left" valign="top" id="hide_accept-language_opts">
757 <td class="en1"> </td>
758 <td class="dis1"> </td>
759 <td class="noc1"> </td>
761 <td><input type="radio" name="hide_accept_language_mode" value="block"
762 onclick="hide_accept_language_param_disable(true)"
763 @hide-accept-language-param-block@ id="hide_accept_language_mode_block"><label
764 for="hide_accept_language_mode_block">Remove Accept-Language header without replacement.</label>
766 <input type="radio" name="hide_accept_language_mode" value="CUSTOM"
767 onclick="hide_accept_language_param_disable(false)"
768 @hide-accept-language-param-custom@ id="hide_accept_language_mode_set"><label
769 for="hide_accept_language_mode_set">Fake these language settings:</label><br>
770 <input type="text" name="hide_accept_language_param"
771 id="hide_accept_language_param" size="40"
772 value="@hide-accept-language-param@"><br>
775 <tr class="bg1" align="left" valign="top">
776 <td class="en1" align="center" valign="middle"><input type="radio"
777 name="hide_content_disposition" id="hide_content_disposition_y" value="Y" @hide-content-disposition-y@
778 onclick="show_hide_content_disposition_opts(true)"></td>
779 <td class="dis1" align="center" valign="middle"><input type="radio"
780 name="hide_content_disposition" id="hide_content_disposition_n" value="N" @hide-content-disposition-n@
781 onclick="show_hide_content_disposition_opts(false)"></td>
782 <td class="noc1" align="center" valign="middle"><input type="radio"
783 name="hide_content_disposition" id="hide_content_disposition_x" value="X" @hide-content-disposition-x@
784 onclick="show_hide_content_disposition_opts(false)"
786 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-CONTENT-DISPOSITION">hide-content-disposition</a></td>
787 <td>Block or overwrite the content-disposition header. Useful to view a document inside the browser,
788 even if you were supposed to save it first, or to change the suggested file name.</td>
790 <tr class="bg1" align="left" valign="top" id="hide_content_disposition_opts">
791 <td class="en1"> </td>
792 <td class="dis1"> </td>
793 <td class="noc1"> </td>
795 <td><input type="radio" name="hide_content_disposition_mode" value="block"
796 onclick="hide_content_disposition_param_disable(true)"
797 @hide-content-disposition-param-block@ id="hide_content_disposition_mode_block"><label
798 for="hide_content_disposition_mode_block">Remove content-disposition header without replacement.</label>
800 <input type="radio" name="hide_content_disposition_mode" value="CUSTOM"
801 onclick="hide_content_disposition_param_disable(false)"
802 @hide-content-disposition-param-custom@ id="hide_content_disposition_mode_set"><label
803 for="hide_content_disposition_mode_set">Overwrite content-dispostion header with:</label><br>
804 <input type="text" name="hide_content_disposition_param"
805 id="hide_content_disposition_param" size="40"
806 value="@hide-content-disposition-param@"><br>
810 <tr class="bg1" align="left" valign="top">
811 <td class="en1" align="center" valign="middle"><input type="radio"
812 name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
814 <td class="dis1" align="center" valign="middle"><input type="radio"
815 name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
817 <td class="noc1" align="center" valign="middle"><input type="radio"
818 name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
820 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
821 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
823 <tr class="bg1" align="left" valign="top">
824 <td class="en1" align="center" valign="middle"><input type="radio"
825 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
826 onclick="show_hide_from_header_opts(true)"></td>
827 <td class="dis1" align="center" valign="middle"><input type="radio"
828 name="hide_from_header" value="N" @hide-from-header-n@
829 onclick="show_hide_from_header_opts(false)"></td>
830 <td class="noc1" align="center" valign="middle"><input type="radio"
831 name="hide_from_header" value="X" @hide-from-header-x@
832 onclick="show_hide_from_header_opts(false)"></td>
833 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
834 <td>Stop old web browsers from sending the user's e-mail address with
837 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
838 <td class="en1"> </td>
839 <td class="dis1"> </td>
840 <td class="noc1"> </td>
842 <td><input type="radio" name="hide_from_header_mode" value="block"
843 onclick="hide_from_header_param_disable(true);"
844 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
845 for="hide_from_header_mode_block">Remove completely</label><br>
846 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
847 onclick="hide_from_header_param_disable(false);"
848 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
849 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
850 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
851 size="40" value="@hide-from-header-param@"></td>
854 <tr class="bg1" align="left" valign="top">
855 <td class="en1" align="center" valign="middle"><input type="radio"
856 name="hide_if_modified_since" value="Y" @hide-if-modified-since-y@
858 <td class="dis1" align="center" valign="middle"><input type="radio"
859 name="hide_if_modified_since" value="N" @hide-if-modified-since-n@
861 <td class="noc1" align="center" valign="middle"><input type="radio"
862 name="hide_if_modified_since" value="X" @hide-if-modified-since-x@
864 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE_IF_MODIFIED_SINCE">hide-if-modified-since</a></td>
865 <td>Remove or randomize If-Modified-Since header.</td>
867 <tr class="bg1" align="left" valign="top" id="hide_if-modifed-since_opts">
868 <td class="en1"> </td>
869 <td class="dis1"> </td>
870 <td class="noc1"> </td>
872 <td><input type="radio" name="hide_if_modified_since_mode" value="block"
873 onclick="hide_if_modified_since_param_disable(true)"
874 @hide-if-modified-since-param-block@ id="hide_if_modified_since_mode_block"><label
875 for="hide_if_modified_since_mode_block">Remove without replacement.</label>
876 Useful for filter testing.<br>
877 <input type="radio" name="hide_if_modified_since_mode" value="CUSTOM"
878 onclick="hide_if_modified_since_param_disable(true)"
879 @hide-if-modified-since-param-custom@ id="hide_if_modified_since_mode_set"><label
880 for="hide_if_modified_since_mode_set">Add random amount of seconds in the range of</label>
881 <input type="text" name="hide_if_modified_since_param"
882 id="hide_if_modified_since_param" size="4"
883 value="@hide-if-modified-since-param@"> hour(s).
884 To appreciate this option a small amount of paranoia is required,
885 but at least in theory the If-Modified-Since header could be used
886 to keep track of your visits.
890 <tr class="bg1" align="left" valign="top">
891 <td class="en1" align="center" valign="middle"><input type="radio"
892 name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
893 onclick="show_hide_referrer_opts(true)"></td>
894 <td class="dis1" align="center" valign="middle"><input type="radio"
895 name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
896 onclick="show_hide_referrer_opts(false)"></td>
897 <td class="noc1" align="center" valign="middle"><input type="radio"
898 name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
899 onclick="show_hide_referrer_opts(false)"
901 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
902 <td>Helps prevent tracking by not sending the URL of the previous web
905 <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
906 <td class="en1"> </td>
907 <td class="dis1"> </td>
908 <td class="noc1"> </td>
910 <td><input type="radio" name="hide_referrer_mode" value="block"
911 onclick="hide_referrer_param_disable(true)"
912 @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
913 for="hide_referrer_mode_block">Remove completely</label> (breaks images
914 on some free web hosts).<br>
915 <input type="radio" name="hide_referrer_mode" value="forge"
916 onclick="hide_referrer_param_disable(true)"
917 @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
918 for="hide_referrer_mode_forge">Fake as the root directory of the
919 site</label> (fools checks for in-site links.)<br>
920 <input type="radio" name="hide_referrer_mode" value="CUSTOM"
921 onclick="hide_referrer_param_disable(false)"
922 @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
923 for="hide_referrer_mode_set">Fake as this web address:</label><br>
924 <input type="text" name="hide_referrer_param"
925 id="hide_referrer_param" size="40"
926 value="@hide-referrer-param@"><br>
927 <input type="radio" name="hide_referrer_mode" value="conditional-block"
928 onclick="hide_referrer_param_disable(true)"
929 @hide-referrer-param-conditional-block@ id="hide_referrer_mode_conditional-block"><label
930 for="hide_referrer_mode_conditional-block">Remove completely if host has changed,
931 but don't touch in-site referrers.
932 Less suspicious than the options above.</label><br></td>
934 <tr class="bg1" align="left" valign="top">
935 <td class="en1" align="center" valign="middle"><input type="radio"
936 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
937 onclick="show_user_agent_opts(true)"></td>
938 <td class="dis1" align="center" valign="middle"><input type="radio"
939 name="hide_user_agent" value="N" @hide-user-agent-n@
940 onclick="show_user_agent_opts(false)"></td>
941 <td class="noc1" align="center" valign="middle"><input type="radio"
942 name="hide_user_agent" value="X" @hide-user-agent-x@
943 onclick="show_user_agent_opts(false)"></td>
944 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
945 <td>Pretend to be using a different web browser. (Breaks many web
948 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
949 <td class="en1"> </td>
950 <td class="dis1"> </td>
951 <td class="noc1"> </td>
953 <td>User Agent string to send:<br>
954 <input type="text" name="hide_user_agent_mode" size="40"
955 value="@hide-user-agent-param@"></td>
957 <tr class="bg1" align="left" valign="top">
958 <td class="en1" align="center" valign="middle"><input type="radio"
959 name="inspect_jpegs" value="Y" @inspect-jpegs-y@
961 <td class="dis1" align="center" valign="middle"><input type="radio"
962 name="inspect_jpegs" value="N" @inspect-jpegs-n@
964 <td class="noc1" align="center" valign="middle"><input type="radio"
965 name="inspect_jpegs" value="X" @inspect-jpegs-x@
967 <td class="action"><a href="@user-manual@@actions-help-prefix@INSPECT-JPEGS">inspect-jpegs</a></td>
968 <td>Checks jpeg images for malicious content.</td>
970 <tr class="bg1" align="left" valign="top">
971 <td class="en1" align="center" valign="middle"><input type="radio"
972 name="kill_popups" value="Y" @kill-popups-y@
974 <td class="dis1" align="center" valign="middle"><input type="radio"
975 name="kill_popups" value="N" @kill-popups-n@
977 <td class="noc1" align="center" valign="middle"><input type="radio"
978 name="kill_popups" value="X" @kill-popups-x@
980 <td class="action"><a href="@user-manual@@actions-help-prefix@KILL-POPUPS">kill-popups</a></td>
981 <td>Filter the website through a built-in filter to disable many JavaScript
984 <tr class="bg1" align="left" valign="top">
985 <td class="en1" align="center" valign="middle"><input type="radio"
986 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
987 onclick="show_limit_connect_opts(true)"></td>
988 <td class="dis1" align="center" valign="middle"><input type="radio"
989 name="limit_connect" value="N" @limit-connect-n@
990 onclick="show_limit_connect_opts(false)"></td>
991 <td class="noc1" align="center" valign="middle"><input type="radio"
992 name="limit_connect" value="X" @limit-connect-x@
993 onclick="show_limit_connect_opts(false)"></td>
994 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
995 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
996 Note that this allows arbitrary tunnelling, so opening all
997 ports would be a security hole.</td>
999 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
1000 <td class="en1"> </td>
1001 <td class="dis1"> </td>
1002 <td class="noc1"> </td>
1004 <td>Legal SSL ports (comma separated, ranges allowed):<br>
1005 <input type="text" name="limit_connect_mode" size="40"
1006 value="@limit-connect-param@"></td>
1008 <tr class="bg1" align="left" valign="top">
1009 <td class="en1" align="center" valign="middle"><input type="radio"
1010 name="overwrite_last_modified" value="Y" @overwrite-last-modified-y@
1012 <td class="dis1" align="center" valign="middle"><input type="radio"
1013 name="overwrite_last_modified" value="N" @overwrite-last-modified-n@
1015 <td class="noc1" align="center" valign="middle"><input type="radio"
1016 name="overwrite_last_modified" value="X" @overwrite-last-modified-x@
1018 <td class="action"><a href="@user-manual@@actions-help-prefix@OVERWRITE_LAST_MODIFIED">overwrite-last-modified</a></td>
1019 <td>Remove or randomize If-Modified-Since header.</td>
1021 <tr class="bg1" align="left" valign="top" id="overwrite_last_modified_opts">
1022 <td class="en1"> </td>
1023 <td class="dis1"> </td>
1024 <td class="noc1"> </td>
1026 <td><input type="radio" name="overwrite_last_modified_mode" value="block"
1027 onclick="overwrite_last_modified_param_disable(true)"
1028 @overwrite-last-modified-param-block@ id="overwrite_last_modified_mode_block"><label
1029 for="overwrite_last_modified_mode_block">Remove without replacement.</label>
1031 <input type="radio" name="overwrite_last_modified_mode" value="reset-to-request-time"
1032 onclick="overwrite_last_modified_param_disable(true)"
1033 @overwrite-last-modified-param-reset-to-request-time@
1034 id="overwrite_last_modified_mode_reset-to-request-time"><label
1035 for="overwrite_last_modified_mode_reset-to-request-time">Reset to the time of the request.</label>
1037 <input type="radio" name="overwrite_last_modified_mode" value="randomize"
1038 onclick="overwrite_last_modified_param_disable(true)"
1039 @overwrite-last-modified-param-randomize@
1040 id="overwrite_last_modified_mode_randomize"><label
1041 for="overwrite_last_modified_mode_randomize">Overwrite with random value
1042 between original header value and the time of the request.</label>
1046 <tr class="bg1" align="left" valign="top">
1047 <td class="en1" align="center" valign="middle"><input type="radio"
1048 name="prevent_compression" value="Y" @prevent-compression-y@
1050 <td class="dis1" align="center" valign="middle"><input type="radio"
1051 name="prevent_compression" value="N" @prevent-compression-n@
1053 <td class="noc1" align="center" valign="middle"><input type="radio"
1054 name="prevent_compression" value="X" @prevent-compression-x@
1056 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
1057 <td>Disables compression. Compressed web pages are faster to
1058 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
1059 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>.
1060 This setting only affects the few web sites which support
1063 <tr class="bg1" align="left" valign="top">
1064 <td class="en1" align="center" valign="middle"><input type="radio"
1065 name="redirect" value="Y" @redirect-y@
1067 <td class="dis1" align="center" valign="middle"><input type="radio"
1068 name="redirect" value="N" @redirect-n@
1070 <td class="noc1" align="center" valign="middle"><input type="radio"
1071 name="redirect" value="X" @redirect-x@
1073 <td class="action"><a href="@user-manual@@actions-help-prefix@REDIRECT">redirect</a></td>
1074 <td>Redirect to another address.
1076 <tr class="bg1" align="left" valign="top" id="redirect_opts">
1077 <td class="en1"> </td>
1078 <td class="dis1"> </td>
1079 <td class="noc1"> </td>
1081 <td>Address to redirect to:<br>
1082 <input type="text" name="redirect_mode" size="40"
1083 value="@redirect-param@"></td>
1086 <tr class="bg1" align="left" valign="top">
1087 <td class="en1" align="center" valign="middle"><input type="radio"
1088 name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
1090 <td class="dis1" align="center" valign="middle"><input type="radio"
1091 name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
1093 <td class="noc1" align="center" valign="middle"><input type="radio"
1094 name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
1096 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
1097 <td>Adds a special wafer (standard cookie) to all your requests.</td>
1099 <tr class="bg1" align="left" valign="top">
1100 <td class="en1" align="center" valign="middle"><input type="radio"
1101 name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
1102 onclick="show_send_wafer_opts(true)"></td>
1103 <td class="dis1" align="center" valign="middle"><input type="radio"
1104 name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
1105 onclick="show_send_wafer_opts(false)"></td>
1106 <td class="noc1" align="center" valign="middle"><input type="radio"
1107 name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
1108 onclick="show_send_wafer_opts(false)"></td>
1109 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-WAFER">send-wafer</a></td>
1110 <td>Adds user-specified cookies.</td>
1112 <tr class="bg1" align="left" valign="top" id="send_wafer_opts">
1113 <td class="en1"> </td>
1114 <td class="dis1"> </td>
1115 <td class="noc1"> </td>
1117 <td>Editing the settings for this option, or turning
1118 it on if it was off, is not yet supported using this web-based
1121 <tr class="bg1" align="left" valign="top">
1122 <td class="en1" align="center" valign="middle"><input type="radio"
1123 name="session_cookies_only" value="Y" @session-cookies-only-y@
1125 <td class="dis1" align="center" valign="middle"><input type="radio"
1126 name="session_cookies_only" value="N" @session-cookies-only-n@
1128 <td class="noc1" align="center" valign="middle"><input type="radio"
1129 name="session_cookies_only" value="X" @session-cookies-only-x@
1131 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
1132 <td>Any cookies set by the website are changed to temporary
1133 ("per-session") ones, which only last until you close your web
1134 browser. This will allow you to use sites that require cookies, but
1135 sites will not be able to track you across sessions. For this to
1136 be useful, you should disable
1137 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
1138 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
1140 <tr class="bg1" align="left" valign="top">
1141 <td class="en1" align="center" valign="middle"><input type="radio"
1142 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
1143 onclick="show_set_image_blocker_opts(true)"></td>
1144 <td class="dis1" align="center" valign="middle"><input type="radio"
1145 name="set_image_blocker" value="N" @set-image-blocker-n@
1146 onclick="show_set_image_blocker_opts(false)"></td>
1147 <td class="noc1" align="center" valign="middle"><input type="radio"
1148 name="set_image_blocker" value="X" @set-image-blocker-x@
1149 onclick="show_set_image_blocker_opts(false)"></td>
1150 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
1151 <td>Specifies how to block images.</td>
1153 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
1154 <td class="en1"> </td>
1155 <td class="dis1"> </td>
1156 <td class="noc1"> </td>
1158 <td><input type="radio" name="set_image_blocker_mode"
1159 onclick="set_image_blocker_param_disable(true)"
1160 value="pattern" id="set_image_blocker_mode_pattern"
1161 @set-image-blocker-param-pattern@><label
1162 for="set_image_blocker_mode_pattern">Send a pattern (<img
1163 src="send-banner?type=p" width="12" height="12"
1164 alt="pattern">)</label><br>
1165 <input type="radio" name="set_image_blocker_mode" value="blank"
1166 onclick="set_image_blocker_param_disable(true)"
1167 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
1168 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
1169 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
1170 onclick="set_image_blocker_param_disable(false)"
1171 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
1172 for="set_image_blocker_mode_set">Redirect
1173 the browser to this image URL:</label><br>
1174 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
1175 size="40" value="@set-image-blocker-param@"></td>
1177 <tr class="bg1" align="left" valign="top">
1178 <td class="en1" align="center" valign="middle"><input type="radio"
1179 name="treat_forbidden_connects_like_blocks" value="Y" @treat-forbidden-connects-like-blocks-y@
1181 <td class="dis1" align="center" valign="middle"><input type="radio"
1182 name="treat_forbidden_connects_like_blocks" value="N" @treat-forbidden-connects-like-blocks-n@
1184 <td class="noc1" align="center" valign="middle"><input type="radio"
1185 name="treat_forbidden_connects_like_blocks" value="X" @treat-forbidden-connects-like-blocks-x@
1187 <td class="action"><a href="@user-manual@@actions-help-prefix@TREAT_FORBIDDEN_CONNECTS_LIKE_BLOCKS">treat-forbidden-connects-like-blocks</a></td>
1189 Answer forbidden Connect requests with the usual block message.
1190 Makes unblocking easier, but the <q>go there anyway</q> link will not work
1199 <td class="green" align="center">
1200 <p><input type="submit" value="Submit" name="Submit"></p>
1206 <h2>More Privoxy:</h2>
1207 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
1214 #include mod-support-and-service
1219 <!-- @if-have-help-info-start -->
1223 #include mod-local-help
1227 <!-- if-have-help-info-end@ -->
1231 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
1239 <script type="text/javascript">
1242 if (document.getElementById) {
1243 // alert("Netscape 6 or IE5");
1244 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
1245 document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
1246 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
1248 show_add_header_opts (document.getElementById("add_header_y").checked);
1249 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
1250 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
1251 show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
1252 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
1253 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
1254 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
1255 show_send_wafer_opts (document.getElementById("wafer_y").checked);
1256 } else if (document.all) {
1258 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
1259 document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
1260 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
1262 show_add_header_opts (document.myform.add_header_y.checked);
1263 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
1264 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
1265 show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
1266 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
1267 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
1268 show_limit_connect_opts (document.myform.limit_connect_y.checked);
1269 show_send_wafer_opts (document.myform.wafer_y.checked);
1270 } else if (document.layers) {
1271 // alert("Netscape 4");