1 ##############################################################################
3 # File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $
5 # Purpose : Template used to edit the actions associated with a
6 # particular section in an actions file.
9 # Copyright : Written by and Copyright (C) 2001-2008 the SourceForge
10 # Privoxy team. http://www.privoxy.org/
12 # Original Author: Copyright (C) 2001 Jonathan Foster
13 # http://www.jon-foster.co.uk/
15 # This program is free software; you can redistribute it
16 # and/or modify it under the terms of the GNU General
17 # Public License as published by the Free Software
18 # Foundation; either version 2 of the License, or (at
19 # your option) any later version.
21 # This program is distributed in the hope that it will
22 # be useful, but WITHOUT ANY WARRANTY; without even the
23 # implied warranty of MERCHANTABILITY or FITNESS FOR A
24 # PARTICULAR PURPOSE. See the GNU General Public
25 # License for more details.
27 # The GNU General Public License should be included with
28 # this file. If not, you can view it at
29 # http://www.gnu.org/copyleft/gpl.html
30 # or write to the Free Software Foundation, Inc., 59
31 # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
33 ##############################################################################
35 # Browser support for the JavaScript on this page:
36 # MS Internet Explorer 5.5 - Tested, Yes
37 # Netscape 6.0 - Tested, Yes
38 # Netscape 4.75 - Tested, NO
39 # Opera 5.12 - Tested, NO
40 # MS Internet Explorer 4+ - Untested, Yes
41 # MS IE 3.x, NS3.x - Untested, NO
42 # Mozilla >=0.6 - Untested, Yes
44 # All browsers should work, you just might not get the pretty DHTML effects.
46 # The effects that only work under the browsers marked "Yes" above are:
47 # - Text edit boxes that won't have any effect are disabled.
48 # - Table rows containing additional settings are hidden if the feature in
49 # question is disabled.
51 # There are major kludges to get around these problems with NS4, but they
52 # screw up the HTML too much for other browsers. If anyone wants to try,
53 # here's some descriptions of the kludges:
54 # http://www.webreference.com/js/tips/991114.html
55 # http://www.webreference.com/dhtml/column12/outDisplay.html
57 # If you're favorite browser isn't listed, please test and add it.
60 #############################################################################
64 # This file currently produces valid HTML 4.01 Strict.
66 # If you change it, please save the generated page from your web browser
67 # and then upload it to http://validator.w3.org/ for checking.
69 #############################################################################
71 # Available variables include:
77 # deanimate-gifs-param-first
78 # deanimate-gifs-param-last
79 # hide-from-param-block
80 # hide-from-param-custom
82 # hide-referrer-param-forge
83 # hide-referrer-param-block
84 # hide-referrer-param-custom
86 # hide-user-agent-param
87 # image-blocker-param-pattern
88 # image-blocker-param-blank
89 # image-blocker-param-custom
92 #############################################################################
93 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
97 <meta http-equiv="Content-Style-Type" content="text/css">
98 <meta http-equiv="Content-Script-Type" content="text/javascript">
99 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
100 <meta name="robots" content="noindex,nofollow">
101 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
102 <link rel="shortcut icon" href="@default-cgi@favicon.ico" type="image/x-icon">
104 <title>Privoxy@@my-hostname@: Edit actions</title>
106 <style type="text/css">
107 td.action { font-weight: bold;
109 white-space: nowrap }
110 td.subaction { font-style: italic }
111 th { font-weight: bold; }
112 # This is the key to the color names below:
113 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
114 # 1=odd rows, 2=even rows, h=Table header
115 tr.hdr { background-color: #999999 }
116 tr.bg1 { background-color: #eeeeee }
117 td.en1 { background-color: #ddffdd }
118 td.dis1 { background-color: #ffdddd }
119 td.noc1 { background-color: #ddddff }
120 th.enh { background-color: #99ff99 }
121 th.dish { background-color: #ff9999 }
122 th.noch { background-color: #9999ff }
123 table.wide { padding: 5px; }
124 td.green { border: solid black 1px; background-color: #ddffdd; }
130 border-left-width: 10px;
131 border-right-width: 10px;
132 border-top-width: 0px;
133 border-bottom-width: 0px }
136 <script type="text/javascript">
139 function hide_from_header_param_disable(tf)
141 if (document.getElementById) {
143 document.getElementById("hide_from_header_param").disabled = tf;
144 } else if (document.all) {
146 document.myform.hide_from_header_param.disabled = tf;
150 function hide_referrer_param_disable(tf)
152 if (document.getElementById) {
153 document.getElementById("hide_referrer_param").disabled = tf;
154 } else if (document.all) {
155 document.myform.hide_referrer_param.disabled = tf;
159 function set_image_blocker_param_disable(tf)
161 if (document.getElementById) {
162 document.getElementById("set_image_blocker_param").disabled = tf;
163 } else if (document.all) {
164 document.myform.set_image_blocker_param.disabled = tf;
168 function show_add_header_opts(tf)
170 if (document.getElementById) {
171 target = document.getElementById("add_header_opts");
172 } else if (document.all) {
173 target = document.add_header_opts;
177 target.style.display = (tf ? "" : "none");
180 function show_deanimate_opts(tf)
182 if (document.getElementById) {
183 target = document.getElementById("deanimate_opts");
184 } else if (document.all) {
185 target = document.deanimate_opts;
189 target.style.display = (tf ? "" : "none");
192 function show_hide_from_header_opts(tf)
194 if (document.getElementById) {
195 target = document.getElementById("hide_from_header_opts");
196 } else if (document.all) {
197 target = document.hide_from_header_opts;
201 target.style.display = (tf ? "" : "none");
204 function show_hide_referrer_opts(tf)
206 if (document.getElementById) {
207 target = document.getElementById("hide_referrer_opts");
208 } else if (document.all) {
209 target = document.hide_referrer_opts;
213 target.style.display = (tf ? "" : "none");
216 function show_user_agent_opts(tf)
218 if (document.getElementById) {
219 target = document.getElementById("user_agent_opts");
220 } else if (document.all) {
221 target = document.user_agent_opts;
225 target.style.display = (tf ? "" : "none");
228 function show_set_image_blocker_opts(tf)
230 if (document.getElementById) {
231 target = document.getElementById("set_image_blocker_opts");
232 } else if (document.all) {
233 target = document.set_image_blocker_opts;
237 target.style.display = (tf ? "" : "none");
240 function show_limit_connect_opts(tf)
242 if (document.getElementById) {
243 target = document.getElementById("limit_connect_opts");
244 } else if (document.all) {
245 target = document.limit_connect_opts;
249 target.style.display = (tf ? "" : "none");
258 <!-- @if-one-form-only-start -->
259 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
260 <!-- if-one-form-only-end@ -->
262 <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
271 <!-- @if-unstable-start -->
272 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
276 #include mod-unstable-warning
280 <!-- if-unstable-end@ -->
282 <!-- @if-one-form-only-start -->
286 <input type="hidden" name="f" value="@f@">
287 <input type="hidden" name="v" value="@v@">
288 <input type="hidden" name="s" value="@s@">
294 <td class="green" align="center">
295 <p><input type="submit" value="Submit" name="Submit"></p>
298 <!-- if-one-form-only-end@ -->
300 <tr><td class="wrapbox">
302 <!-- @if-multiple-forms-start -->
303 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
304 <h2>Edit Actions (Section 1)</h2>
305 <!-- if-multiple-forms-end@ -->
307 <table summary="Action section 1" border="0" cellspacing="2" width="100%" class="wide">
308 <tr class="hdr" align="left">
309 <th class="enh" align="center">Enable</th>
310 <th class="dish" align="center">Disable</th>
311 <th class="noch" align="center">No Change</th>
315 <tr class="bg1" align="left" valign="top">
316 <td class="en1" align="center" valign="middle"><input type="radio"
317 name="add_header" id="add_header_y" value="Y" @add-header-y@
318 onclick="show_add_header_opts(true)"></td>
319 <td class="dis1" align="center" valign="middle"><input type="radio"
320 name="add_header" value="N" @add-header-n@
321 onclick="show_add_header_opts(false)"></td>
322 <td class="noc1" align="center" valign="middle"><input type="radio"
323 name="add_header" value="X" @add-header-x@
324 onclick="show_add_header_opts(false)"></td>
325 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
326 <td>Adds HTTP headers.</td>
328 <tr class="bg1" align="left" valign="top" id="add_header_opts">
329 <td class="en1"> </td>
330 <td class="dis1"> </td>
331 <td class="noc1"> </td>
333 <td>Editing the settings for this option, or turning
334 it on if it was off, is not yet supported using this web-based
337 <tr class="bg1" align="left" valign="top">
338 <td class="en1" align="center" valign="middle"><input type="radio"
339 name="block" value="Y" @block-y@
341 <td class="dis1" align="center" valign="middle"><input type="radio"
342 name="block" value="N" @block-n@
344 <td class="noc1" align="center" valign="middle"><input type="radio"
345 name="block" value="X" @block-x@
347 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
348 <td>Block the request.</td>
350 <tr class="bg1" align="left" valign="top" id="block_opts">
351 <td class="en1"> </td>
352 <td class="dis1"> </td>
353 <td class="noc1"> </td>
355 <td>Block reason to tell the user:<br>
356 <input type="text" name="block_mode" size="40" value="@block-param@">
359 <tr class="bg1" align="left" valign="top">
360 <td class="en1" align="center" valign="middle"><input type="radio"
361 name="change_x_forwarded_for" id="change_x_forwarded_for_y" value="Y" @change-x-forwarded-for-y@
362 onclick="show_change_x_forwarded_for_opts(true)"></td>
363 <td class="dis1" align="center" valign="middle"><input type="radio"
364 name="change_x_forwarded_for" value="N" @change-x-forwarded-for-n@
365 onclick="show_change_x_forwarded_for_opts(false)"></td>
366 <td class="noc1" align="center" valign="middle"><input type="radio"
367 name="change_x_forwarded_for" value="X" @change-x-forwarded-for-x@
368 onclick="show_change_x_forwarded_for_opts(false)"></td>
369 <td class="action"><a href="@user-manual@@actions-help-prefix@CHANGE-X-FORWARDED-FOR">change-x-forwarded-for</a></td>
370 <td>Specifies whether to block or add X-Forwarded-For headers.</td>
372 <tr class="bg1" align="left" valign="top" id="change_x_forwarded_for_opts">
373 <td class="en1"> </td>
374 <td class="dis1"> </td>
375 <td class="noc1"> </td>
377 <td><input type="radio" name="change_x_forwarded_for_mode" value="block"
378 id="change_x_forwarded_for_mode_block" @change-x-forwarded-for-param-block@><label
379 for="change_x_forwarded_for_mode_block">Block the header.</label><br>
380 <input type="radio" name="change_x_forwarded_for_mode" value="add"
381 id="change_x_forwarded_for_mode_add" @change-x-forwarded-for-param-add@><label
382 for="change_x_forwarded_for_mode_add">Add the header.</label><br>
384 <tr class="bg1" align="left" valign="top">
385 <td class="en1"> </td>
386 <td class="dis1" align="center" valign="middle"><input type="radio"
387 name="client_header_filter_all" id="client_header_filter_all_n" value="N" @client-header-filter-all-n@ ></td>
388 <td class="noc1" align="center" valign="middle"><input type="radio"
389 name="client_header_filter_all" id="client_header_filter_all_x" value="X" @client-header-filter-all-x@ ></td>
390 <td class="action"><a href="@user-manual@@actions-help-prefix@CLIENT-HEADER-FILTER">client-header-filter</a> *</td>
391 <td>Filter the client headers.
392 You can use the radio buttons on this line to disable
393 all client-header filters applied by previous rules, and/or
394 you can enable or disable the filters individually below.</td>
396 @client-header-filter-params@
397 <tr class="bg1" align="left" valign="top">
398 <td class="en1"> </td>
399 <td class="dis1" align="center" valign="middle"><input type="radio"
400 name="client_header_tagger_all" id="client_header_tagger_all_n" value="N" @client-header-tagger-all-n@ ></td>
401 <td class="noc1" align="center" valign="middle"><input type="radio"
402 name="client_header_tagger_all" id="client_header_tagger_all_x" value="X" @client-header-tagger-all-x@ ></td>
403 <td class="action"><a href="@user-manual@@actions-help-prefix@CLIENT-HEADER-TAGGER">client-header-tagger</a> *</td>
404 <td>Create tags based on the client headers.
405 You can use the radio buttons on this line to disable
406 all client-header taggers applied by previous rules, and/or
407 you can enable or disable the taggers individually below.</td>
409 @client-header-tagger-params@
410 <tr class="bg1" align="left" valign="top">
411 <td class="en1" align="center" valign="middle"><input type="radio"
412 name="content_type_overwrite" value="Y" @content-type-overwrite-y@
414 <td class="dis1" align="center" valign="middle"><input type="radio"
415 name="content_type_overwrite" value="N" @content-type-overwrite-n@
417 <td class="noc1" align="center" valign="middle"><input type="radio"
418 name="content_type_overwrite" value="X" @content-type-overwrite-x@
420 <td class="action"><a href="@user-manual@@actions-help-prefix@CONTENT_TYPE_OVERWRITE">content-type-overwrite</a></td>
421 <td>Replace Content-Type header. By default it only applies to
422 text documents, but if you know what you're doing you
423 can enable force-text-mode to modify binary content types as well.</td>
425 <tr class="bg1" align="left" valign="top" id="content_type_overwrite_opts">
426 <td class="en1"> </td>
427 <td class="dis1"> </td>
428 <td class="noc1"> </td>
430 <td>New Content-Type:<br>
431 <input type="text" name="content_type_overwrite_mode" size="40"
432 value="@content-type-overwrite-param@"></td>
434 <tr class="bg1" align="left" valign="top">
435 <td class="en1" align="center" valign="middle"><input type="radio"
436 name="crunch_client_header" id="crunch_client_header_y" value="Y" @crunch-client-header-y@
438 <td class="dis1" align="center" valign="middle"><input type="radio"
439 name="crunch_client_header" value="N" @crunch-client-header-n@
441 <td class="noc1" align="center" valign="middle"><input type="radio"
442 name="crunch_client_header" value="X" @crunch-client-header-x@
444 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-CLIENT-HEADER">crunch-client-header</a></td>
445 <td>Remove header(s) matching the supplied pattern.</td>
447 <tr class="bg1" align="left" valign="top" id="crunch_client_header_opts">
448 <td class="en1"> </td>
449 <td class="dis1"> </td>
450 <td class="noc1"> </td>
452 <td>Header string to suppress:<br>
453 <input type="text" name="crunch_client_header_mode" size="40"
454 value="@crunch-client-header-param@"></td>
456 <tr class="bg1" align="left" valign="top">
457 <td class="en1" align="center" valign="middle"><input type="radio"
458 name="crunch_if_none_match" value="Y" @crunch-if-none-match-y@
460 <td class="dis1" align="center" valign="middle"><input type="radio"
461 name="crunch_if_none_match" value="N" @crunch-if-none-match-n@
463 <td class="noc1" align="center" valign="middle"><input type="radio"
464 name="crunch_if_none_match" value="X" @crunch-if-none-match-x@
466 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH_IF_NONE_MATCH">crunch-if-none-match</a></td>
467 <td>Remove If-None-Match header. Useful for filter testing
468 and to make sure the header can't be used to track your visits.</td>
471 <tr class="bg1" align="left" valign="top">
472 <td class="en1" align="center" valign="middle"><input type="radio"
473 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
475 <td class="dis1" align="center" valign="middle"><input type="radio"
476 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
478 <td class="noc1" align="center" valign="middle"><input type="radio"
479 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
481 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
482 <td>Prevent the website from setting HTTP cookies on your system.</td>
484 <tr class="bg1" align="left" valign="top">
485 <td class="en1" align="center" valign="middle"><input type="radio"
486 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
488 <td class="dis1" align="center" valign="middle"><input type="radio"
489 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
491 <td class="noc1" align="center" valign="middle"><input type="radio"
492 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
494 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
495 <td>Prevent the website from reading HTTP cookies from your system.</td>
497 <tr class="bg1" align="left" valign="top">
498 <td class="en1" align="center" valign="middle"><input type="radio"
499 name="crunch_server_header" id="crunch_server_header_y" value="Y" @crunch-server-header-y@
501 <td class="dis1" align="center" valign="middle"><input type="radio"
502 name="crunch_server_header" value="N" @crunch-server-header-n@
504 <td class="noc1" align="center" valign="middle"><input type="radio"
505 name="crunch_server_header" value="X" @crunch-server-header-x@
507 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-SERVER-HEADER">crunch-server-header</a></td>
508 <td>Remove server header(s) matching the supplied pattern.</td>
510 <tr class="bg1" align="left" valign="top" id="crunch_server_header_opts">
511 <td class="en1"> </td>
512 <td class="dis1"> </td>
513 <td class="noc1"> </td>
515 <td>Header string to suppress:<br>
516 <input type="text" name="crunch_server_header_mode" size="40"
517 value="@crunch-server-header-param@"></td>
520 <tr class="bg1" align="left" valign="top">
521 <td class="en1" align="center" valign="middle"><input type="radio"
522 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
523 onclick="show_deanimate_opts(true)"></td>
524 <td class="dis1" align="center" valign="middle"><input type="radio"
525 name="deanimate_gifs" value="N" @deanimate-gifs-n@
526 onclick="show_deanimate_opts(false)"></td>
527 <td class="noc1" align="center" valign="middle"><input type="radio"
528 name="deanimate_gifs" value="X" @deanimate-gifs-x@
529 onclick="show_deanimate_opts(false)"></td>
530 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
531 <td>Replace animated GIFs with their (first/last) frame.</td>
533 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
534 <td class="en1"> </td>
535 <td class="dis1"> </td>
536 <td class="noc1"> </td>
538 <td>Use the <input type="radio" name="deanimate_gifs_mode"
539 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
540 for="deanimate_first">first frame</label> <input
541 type="radio" name="deanimate_gifs_mode" value="last"
542 id="deanimate_last" @deanimate-gifs-param-last@><label
543 for="deanimate_last">last frame</label></td>
545 <tr class="bg1" align="left" valign="top">
546 <td class="en1" align="center" valign="middle"><input type="radio"
547 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
548 <td class="dis1" align="center" valign="middle"><input type="radio"
549 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
550 <td class="noc1" align="center" valign="middle"><input type="radio"
551 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
552 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION"
553 >downgrade-http-version</a></td>
554 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
555 what you're doing!</td>
557 <tr class="bg1" align="left" valign="top">
558 <td class="en1" align="center" valign="middle"><input type="radio"
559 name="fast_redirects" value="Y" @fast-redirects-y@
561 <td class="dis1" align="center" valign="middle"><input type="radio"
562 name="fast_redirects" value="N" @fast-redirects-n@
564 <td class="noc1" align="center" valign="middle"><input type="radio"
565 name="fast_redirects" value="X" @fast-redirects-x@
567 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
568 <td>Bypass some click-tracking URLs.</td>
570 <tr class="bg1" align="left" valign="top" id="fast-redirects_opts">
571 <td class="en1"> </td>
572 <td class="dis1"> </td>
573 <td class="noc1"> </td>
576 <input type="radio" name="fast_redirects_mode"
577 value="simple-check" id="fast_redirects_simple_check" @fast-redirects-param-simple-check@><label
578 for="fast_redirects_simple_check">Simple check.</label>
580 <input type="radio" name="fast_redirects_mode" value="check-decoded-url"
581 id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@><label
582 for="fast_redirects_check_decoded_url">Decode URL before checking.</label></td>
584 <!-- @if-multiple-forms-start -->
587 <input type="hidden" name="f" value="@f@">
588 <input type="hidden" name="v" value="@v@">
589 <input type="hidden" name="s" value="@s@">
590 <input type="submit" value="Submit changes in Section 1" name="Submit">
594 <tr><td class="wrapbox">
595 <form method="GET" action="edit-actions-submit" id="myform-2" name="myform">
596 <h2>Edit Actions (Section 2)</h2>
597 <table summary="Action section 2" border="0" cellspacing="2" width="100%" class="wide">
598 <tr class="hdr" align="left">
599 <th class="enh" align="center">Enable</th>
600 <th class="dish" align="center">Disable</th>
601 <th class="noch" align="center">No Change</th>
605 <!-- if-multiple-forms-end@ -->
606 <tr class="bg1" align="left" valign="top">
607 <td class="en1"> </td>
608 <td class="dis1" align="center" valign="middle"><input type="radio"
609 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
610 <td class="noc1" align="center" valign="middle"><input type="radio"
611 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
612 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
613 <td>Filter the website through regular expression
614 filters. You can use the radio buttons on this line to disable
615 all filters applied by previous rules, and/or you can enable or
616 disable the filters individually below.</td>
619 @content-filter-params@
621 <!-- @if-multiple-forms-start -->
624 <input type="hidden" name="f" value="@f@">
625 <input type="hidden" name="v" value="@v@">
626 <input type="hidden" name="s" value="@s@">
627 <input type="submit" value="Submit changes in Section 2" name="Submit">
631 <tr><td class="wrapbox">
632 <form method="GET" action="edit-actions-submit" id="myform-3" name="myform">
633 <h2>Edit Actions (Section 3)</h2>
634 <table summary="Action section 3" border="0" cellspacing="2" width="100%" class="wide">
635 <tr class="hdr" align="left">
636 <th class="enh" align="center">Enable</th>
637 <th class="dish" align="center">Disable</th>
638 <th class="noch" align="center">No Change</th>
642 <!-- if-multiple-forms-end@ -->
643 <tr class="bg1" align="left" valign="top">
644 <td class="en1" align="center" valign="middle"><input type="radio"
645 name="force_text_mode" value="Y" @force-text-mode-y@
647 <td class="dis1" align="center" valign="middle"><input type="radio"
648 name="force_text_mode" value="N" @force-text-mode-n@
650 <td class="noc1" align="center" valign="middle"><input type="radio"
651 name="force_text_mode" value="X" @force-text-mode-x@
653 <td class="action"><a href="@user-manual@@actions-help-prefix@FORCE_TEXT_MODE">force-text-mode</a></td>
655 Enable filtering on documents whose Content-Type wasn't recognized as text.
656 Do think twice, nothing is alright.
659 <tr class="bg1" align="left" valign="top">
660 <td class="en1" align="center" valign="middle"><input type="radio"
661 name="forward_override" id="forward_override_y" value="Y" @forward-override-y@
663 <td class="dis1" align="center" valign="middle"><input type="radio"
664 name="forward_override" id="forward_override_n" value="N" @forward-override-n@
666 <td class="noc1" align="center" valign="middle"><input type="radio"
667 name="forward_override" id="forward_override_x" value="X" @forward-override-x@
669 <td class="action"><a href="@user-manual@@actions-help-prefix@FORWARD-OVERRIDE">forward-override</a></td>
670 <td>Override forward directives in the configuration file.
671 Note that the <a href="@user-manual@actions-file.html#FORWARD-OVERRIDE">parameter syntax</a>
672 isn't checked until the action is used. <strong class="warning">Syntax errors
673 will cause Privoxy to exit.</strong></td>
675 <tr class="bg1" align="left" valign="top" id="forward_override_language_opts">
676 <td class="en1"> </td>
677 <td class="dis1"> </td>
678 <td class="noc1"> </td>
681 Overriding forward directive:<br>
682 <input type="text" name="forward_override_param"
683 id="forward_override_param" size="40"
684 value="@forward-override-param@"><br>
687 <tr class="bg1" align="left" valign="top">
688 <td class="en1" align="center" valign="middle"><input type="radio"
689 name="handle_as_empty_document" value="Y" @handle-as-empty-document-y@
691 <td class="dis1" align="center" valign="middle"><input type="radio"
692 name="handle_as_empty_document" value="N" @handle-as-empty-document-n@
694 <td class="noc1" align="center" valign="middle"><input type="radio"
695 name="handle_as_empty_document" value="X" @handle-as-empty-document-x@
697 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE_AS_EMPTY_DOCUMENT">handle-as-empty-document</a></td>
699 Block with an <em>empty</em> document instead of an Image or HTML message.
700 The <em>empty</em> document contains only a space and can safely be parsed
701 as JavaScript or Style Sheet. Use content-type-overwrite to specify the
702 Content-Type, default is <q>text/html</q>.
705 <tr class="bg1" align="left" valign="top">
706 <td class="en1" align="center" valign="middle"><input type="radio"
707 name="handle_as_image" value="Y" @handle-as-image-y@
709 <td class="dis1" align="center" valign="middle"><input type="radio"
710 name="handle_as_image" value="N" @handle-as-image-n@
712 <td class="noc1" align="center" valign="middle"><input type="radio"
713 name="handle_as_image" value="X" @handle-as-image-x@
715 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
716 <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>
717 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
719 <tr class="bg1" align="left" valign="top">
720 <td class="en1" align="center" valign="middle"><input type="radio"
721 name="hide_accept_language" id="hide_accept_language_y" value="Y" @hide-accept-language-y@
722 onclick="show_hide_accept_language_opts(true)"></td>
723 <td class="dis1" align="center" valign="middle"><input type="radio"
724 name="hide_accept_language" id="hide_accept_language_n" value="N" @hide-accept-language-n@
725 onclick="show_hide_accept_language_opts(false)"></td>
726 <td class="noc1" align="center" valign="middle"><input type="radio"
727 name="hide_accept_language" id="hide_accept_language_x" value="X" @hide-accept-language-x@
728 onclick="show_hide_accept_language_opts(false)"
730 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-ACCEPT-LANGUAGE">hide-accept-language</a></td>
731 <td>Pretend to have different language settings. (Makes a fake User-Agent more believable,
732 but you may end up with content in the language you pretended to understand.)</td>
734 <tr class="bg1" align="left" valign="top" id="hide_accept-language_opts">
735 <td class="en1"> </td>
736 <td class="dis1"> </td>
737 <td class="noc1"> </td>
739 <td><input type="radio" name="hide_accept_language_mode" value="block"
740 onclick="hide_accept_language_param_disable(true)"
741 @hide-accept-language-param-block@ id="hide_accept_language_mode_block"><label
742 for="hide_accept_language_mode_block">Remove Accept-Language header without replacement.</label>
744 <input type="radio" name="hide_accept_language_mode" value="CUSTOM"
745 onclick="hide_accept_language_param_disable(false)"
746 @hide-accept-language-param-custom@ id="hide_accept_language_mode_set"><label
747 for="hide_accept_language_mode_set">Fake these language settings:</label><br>
748 <input type="text" name="hide_accept_language_param"
749 id="hide_accept_language_param" size="40"
750 value="@hide-accept-language-param@"><br>
753 <tr class="bg1" align="left" valign="top">
754 <td class="en1" align="center" valign="middle"><input type="radio"
755 name="hide_content_disposition" id="hide_content_disposition_y" value="Y" @hide-content-disposition-y@
756 onclick="show_hide_content_disposition_opts(true)"></td>
757 <td class="dis1" align="center" valign="middle"><input type="radio"
758 name="hide_content_disposition" id="hide_content_disposition_n" value="N" @hide-content-disposition-n@
759 onclick="show_hide_content_disposition_opts(false)"></td>
760 <td class="noc1" align="center" valign="middle"><input type="radio"
761 name="hide_content_disposition" id="hide_content_disposition_x" value="X" @hide-content-disposition-x@
762 onclick="show_hide_content_disposition_opts(false)"
764 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-CONTENT-DISPOSITION">hide-content-disposition</a></td>
765 <td>Block or overwrite the content-disposition header. Useful to view a document inside the browser,
766 even if you were supposed to save it first, or to change the suggested file name.</td>
768 <tr class="bg1" align="left" valign="top" id="hide_content_disposition_opts">
769 <td class="en1"> </td>
770 <td class="dis1"> </td>
771 <td class="noc1"> </td>
773 <td><input type="radio" name="hide_content_disposition_mode" value="block"
774 onclick="hide_content_disposition_param_disable(true)"
775 @hide-content-disposition-param-block@ id="hide_content_disposition_mode_block"><label
776 for="hide_content_disposition_mode_block">Remove content-disposition header without replacement.</label>
778 <input type="radio" name="hide_content_disposition_mode" value="CUSTOM"
779 onclick="hide_content_disposition_param_disable(false)"
780 @hide-content-disposition-param-custom@ id="hide_content_disposition_mode_set"><label
781 for="hide_content_disposition_mode_set">Overwrite content-dispostion header with:</label><br>
782 <input type="text" name="hide_content_disposition_param"
783 id="hide_content_disposition_param" size="40"
784 value="@hide-content-disposition-param@"><br>
787 <tr class="bg1" align="left" valign="top">
788 <td class="en1" align="center" valign="middle"><input type="radio"
789 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
790 onclick="show_hide_from_header_opts(true)"></td>
791 <td class="dis1" align="center" valign="middle"><input type="radio"
792 name="hide_from_header" value="N" @hide-from-header-n@
793 onclick="show_hide_from_header_opts(false)"></td>
794 <td class="noc1" align="center" valign="middle"><input type="radio"
795 name="hide_from_header" value="X" @hide-from-header-x@
796 onclick="show_hide_from_header_opts(false)"></td>
797 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
798 <td>Stop old web browsers from sending the user's e-mail address with
801 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
802 <td class="en1"> </td>
803 <td class="dis1"> </td>
804 <td class="noc1"> </td>
806 <td><input type="radio" name="hide_from_header_mode" value="block"
807 onclick="hide_from_header_param_disable(true);"
808 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
809 for="hide_from_header_mode_block">Remove completely</label><br>
810 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
811 onclick="hide_from_header_param_disable(false);"
812 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
813 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
814 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
815 size="40" value="@hide-from-header-param@"></td>
818 <tr class="bg1" align="left" valign="top">
819 <td class="en1" align="center" valign="middle"><input type="radio"
820 name="hide_if_modified_since" value="Y" @hide-if-modified-since-y@
822 <td class="dis1" align="center" valign="middle"><input type="radio"
823 name="hide_if_modified_since" value="N" @hide-if-modified-since-n@
825 <td class="noc1" align="center" valign="middle"><input type="radio"
826 name="hide_if_modified_since" value="X" @hide-if-modified-since-x@
828 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE_IF_MODIFIED_SINCE">hide-if-modified-since</a></td>
829 <td>Remove or randomize the If-Modified-Since header.</td>
831 <tr class="bg1" align="left" valign="top" id="hide_if-modifed-since_opts">
832 <td class="en1"> </td>
833 <td class="dis1"> </td>
834 <td class="noc1"> </td>
836 <td><input type="radio" name="hide_if_modified_since_mode" value="block"
837 onclick="hide_if_modified_since_param_disable(true)"
838 @hide-if-modified-since-param-block@ id="hide_if_modified_since_mode_block"><label
839 for="hide_if_modified_since_mode_block">Remove without replacement.</label>
840 Useful for filter testing.<br>
841 <input type="radio" name="hide_if_modified_since_mode" value="CUSTOM"
842 onclick="hide_if_modified_since_param_disable(true)"
843 @hide-if-modified-since-param-custom@ id="hide_if_modified_since_mode_set"><label
844 for="hide_if_modified_since_mode_set">Add random amount of seconds in the range of</label>
845 <input type="text" name="hide_if_modified_since_param"
846 id="hide_if_modified_since_param" size="4"
847 value="@hide-if-modified-since-param@"> minute(s).
848 To appreciate this option a small amount of paranoia is required,
849 but at least in theory the If-Modified-Since header could be used
850 to keep track of your visits.
853 <!-- @if-multiple-forms-start -->
856 <input type="hidden" name="f" value="@f@">
857 <input type="hidden" name="v" value="@v@">
858 <input type="hidden" name="s" value="@s@">
859 <input type="submit" value="Submit changes in Section 3" name="Submit">
863 <tr><td class="wrapbox">
864 <form method="GET" action="edit-actions-submit" id="myform-4" name="myform">
865 <h2>Edit Actions (Section 4)</h2>
866 <table summary="Action section 4" border="0" cellspacing="2" width="100%" class="wide">
867 <tr class="hdr" align="left">
868 <th class="enh" align="center">Enable</th>
869 <th class="dish" align="center">Disable</th>
870 <th class="noch" align="center">No Change</th>
874 <!-- if-multiple-forms-end@ -->
875 <tr class="bg1" align="left" valign="top">
876 <td class="en1" align="center" valign="middle"><input type="radio"
877 name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
878 onclick="show_hide_referrer_opts(true)"></td>
879 <td class="dis1" align="center" valign="middle"><input type="radio"
880 name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
881 onclick="show_hide_referrer_opts(false)"></td>
882 <td class="noc1" align="center" valign="middle"><input type="radio"
883 name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
884 onclick="show_hide_referrer_opts(false)"
886 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
887 <td>Helps prevent tracking by not sending the URL of the previous web
890 <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
891 <td class="en1"> </td>
892 <td class="dis1"> </td>
893 <td class="noc1"> </td>
895 <td><input type="radio" name="hide_referrer_mode" value="block"
896 onclick="hide_referrer_param_disable(true)"
897 @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
898 for="hide_referrer_mode_block">Remove completely</label> (breaks images
899 on some free web hosts).<br>
900 <input type="radio" name="hide_referrer_mode" value="forge"
901 onclick="hide_referrer_param_disable(true)"
902 @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
903 for="hide_referrer_mode_forge">Fake as the root directory of the
904 site</label> (fools checks for in-site links.)<br>
905 <input type="radio" name="hide_referrer_mode" value="CUSTOM"
906 onclick="hide_referrer_param_disable(false)"
907 @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
908 for="hide_referrer_mode_set">Fake as this web address:</label><br>
909 <input type="text" name="hide_referrer_param"
910 id="hide_referrer_param" size="40"
911 value="@hide-referrer-param@"><br>
912 <input type="radio" name="hide_referrer_mode" value="conditional-block"
913 onclick="hide_referrer_param_disable(true)"
914 @hide-referrer-param-conditional-block@ id="hide_referrer_mode_conditional-block"><label
915 for="hide_referrer_mode_conditional-block">Remove completely if host has changed,
916 but don't touch in-site referrers.
917 Less suspicious than the options above.</label><br>
918 <input type="radio" name="hide_referrer_mode" value="conditional-forge"
919 onclick="hide_referrer_param_disable(true)"
920 @hide-referrer-param-conditional-forge@ id="hide_referrer_mode_conditional-forge"><label
921 for="hide_referrer_mode_conditional-forge">Forge referrer if host has
922 changed, but don't touch in-site referrers.</label><br>
925 <tr class="bg1" align="left" valign="top">
926 <td class="en1" align="center" valign="middle"><input type="radio"
927 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
928 onclick="show_user_agent_opts(true)"></td>
929 <td class="dis1" align="center" valign="middle"><input type="radio"
930 name="hide_user_agent" value="N" @hide-user-agent-n@
931 onclick="show_user_agent_opts(false)"></td>
932 <td class="noc1" align="center" valign="middle"><input type="radio"
933 name="hide_user_agent" value="X" @hide-user-agent-x@
934 onclick="show_user_agent_opts(false)"></td>
935 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
936 <td>Pretend to be using a different web browser. (May cause problems with broken web sites).</td>
938 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
939 <td class="en1"> </td>
940 <td class="dis1"> </td>
941 <td class="noc1"> </td>
943 <td>User Agent string to send:<br>
944 <input type="text" name="hide_user_agent_mode" size="40"
945 value="@hide-user-agent-param@"></td>
947 <tr class="bg1" align="left" valign="top">
948 <td class="en1" align="center" valign="middle"><input type="radio"
949 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
950 onclick="show_limit_connect_opts(true)"></td>
951 <td class="dis1" align="center" valign="middle"><input type="radio"
952 name="limit_connect" value="N" @limit-connect-n@
953 onclick="show_limit_connect_opts(false)"></td>
954 <td class="noc1" align="center" valign="middle"><input type="radio"
955 name="limit_connect" value="X" @limit-connect-x@
956 onclick="show_limit_connect_opts(false)"></td>
957 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
958 <td>Limit which ports are allowed in HTTP CONNECT requests. These requests are
959 used to tunnel SSL and other protocols through HTTP proxies.</td>
961 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
962 <td class="en1"> </td>
963 <td class="dis1"> </td>
964 <td class="noc1"> </td>
966 <td>Legal ports (comma separated, ranges allowed):<br>
967 <input type="text" name="limit_connect_mode" size="40"
968 value="@limit-connect-param@"></td>
970 <tr class="bg1" align="left" valign="top">
971 <td class="en1" align="center" valign="middle"><input type="radio"
972 name="overwrite_last_modified" value="Y" @overwrite-last-modified-y@
974 <td class="dis1" align="center" valign="middle"><input type="radio"
975 name="overwrite_last_modified" value="N" @overwrite-last-modified-n@
977 <td class="noc1" align="center" valign="middle"><input type="radio"
978 name="overwrite_last_modified" value="X" @overwrite-last-modified-x@
980 <td class="action"><a href="@user-manual@@actions-help-prefix@OVERWRITE_LAST_MODIFIED">overwrite-last-modified</a></td>
981 <td>Remove or randomize the Last-Modified header.</td>
983 <tr class="bg1" align="left" valign="top" id="overwrite_last_modified_opts">
984 <td class="en1"> </td>
985 <td class="dis1"> </td>
986 <td class="noc1"> </td>
988 <td><input type="radio" name="overwrite_last_modified_mode" value="block"
989 onclick="overwrite_last_modified_param_disable(true)"
990 @overwrite-last-modified-param-block@ id="overwrite_last_modified_mode_block"><label
991 for="overwrite_last_modified_mode_block">Remove without replacement.</label>
993 <input type="radio" name="overwrite_last_modified_mode" value="reset-to-request-time"
994 onclick="overwrite_last_modified_param_disable(true)"
995 @overwrite-last-modified-param-reset-to-request-time@
996 id="overwrite_last_modified_mode_reset-to-request-time"><label
997 for="overwrite_last_modified_mode_reset-to-request-time">Reset to the time of the request.</label>
999 <input type="radio" name="overwrite_last_modified_mode" value="randomize"
1000 onclick="overwrite_last_modified_param_disable(true)"
1001 @overwrite-last-modified-param-randomize@
1002 id="overwrite_last_modified_mode_randomize"><label
1003 for="overwrite_last_modified_mode_randomize">Overwrite with random value
1004 between original header value and the time of the request.</label>
1008 <tr class="bg1" align="left" valign="top">
1009 <td class="en1" align="center" valign="middle"><input type="radio"
1010 name="prevent_compression" value="Y" @prevent-compression-y@
1012 <td class="dis1" align="center" valign="middle"><input type="radio"
1013 name="prevent_compression" value="N" @prevent-compression-n@
1015 <td class="noc1" align="center" valign="middle"><input type="radio"
1016 name="prevent_compression" value="X" @prevent-compression-x@
1018 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
1019 <td>Disables compression. Compressed web pages are faster to
1020 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
1021 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>
1022 if your Privoxy version was build without zlib support.</td>
1024 <tr class="bg1" align="left" valign="top">
1025 <td class="en1" align="center" valign="middle"><input type="radio"
1026 name="redirect" value="Y" @redirect-y@
1028 <td class="dis1" align="center" valign="middle"><input type="radio"
1029 name="redirect" value="N" @redirect-n@
1031 <td class="noc1" align="center" valign="middle"><input type="radio"
1032 name="redirect" value="X" @redirect-x@
1034 <td class="action"><a href="@user-manual@@actions-help-prefix@REDIRECT">redirect</a></td>
1035 <td>Redirect to another address.
1037 <tr class="bg1" align="left" valign="top" id="redirect_opts">
1038 <td class="en1"> </td>
1039 <td class="dis1"> </td>
1040 <td class="noc1"> </td>
1042 <td>Static address or a single pcrs command to redirect to a rewritten version of the original URL:<br>
1043 <input type="text" name="redirect_mode" size="40"
1044 value="@redirect-param@"></td>
1047 <tr class="bg1" align="left" valign="top">
1048 <td class="en1"> </td>
1049 <td class="dis1" align="center" valign="middle"><input type="radio"
1050 name="server_header_filter_all" id="server_header_filter_all_n" value="N" @server-header-filter-all-n@ ></td>
1051 <td class="noc1" align="center" valign="middle"><input type="radio"
1052 name="server_header_filter_all" id="server_header_filter_all_x" value="X" @server-header-filter-all-x@ ></td>
1053 <td class="action"><a href="@user-manual@@actions-help-prefix@SERVER-HEADER-FILTER">server-header-filter</a> *</td>
1054 <td>Filter the server headers.
1055 You can use the radio buttons on this line to disable
1056 all server-header filters applied by previous rules, and/or
1057 you can enable or disable the filters individually below.</td>
1059 @server-header-filter-params@
1060 <tr class="bg1" align="left" valign="top">
1061 <td class="en1"> </td>
1062 <td class="dis1" align="center" valign="middle"><input type="radio"
1063 name="server_header_tagger_all" id="server_header_tagger_all_n" value="N" @server-header-tagger-all-n@ ></td>
1064 <td class="noc1" align="center" valign="middle"><input type="radio"
1065 name="server_header_tagger_all" id="server_header_tagger_all_x" value="X" @server-header-tagger-all-x@ ></td>
1066 <td class="action"><a href="@user-manual@@actions-help-prefix@SERVER-HEADER-TAGGER">server-header-tagger</a> *</td>
1067 <td>Create tags based on the server headers.
1068 You can use the radio buttons on this line to disable
1069 all server-header taggers applied by previous rules, and/or
1070 you can enable or disable the taggers individually below.</td>
1072 @server-header-tagger-params@
1073 <tr class="bg1" align="left" valign="top">
1074 <td class="en1" align="center" valign="middle"><input type="radio"
1075 name="session_cookies_only" value="Y" @session-cookies-only-y@
1077 <td class="dis1" align="center" valign="middle"><input type="radio"
1078 name="session_cookies_only" value="N" @session-cookies-only-n@
1080 <td class="noc1" align="center" valign="middle"><input type="radio"
1081 name="session_cookies_only" value="X" @session-cookies-only-x@
1083 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
1084 <td>HTTP cookies set by the website are changed to temporary
1085 ("per-session") ones, which only last until you close your web
1086 browser. This will allow you to use sites that require cookies, but
1087 sites will not be able to track you across sessions. For this to
1088 be useful, you should disable
1089 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
1090 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
1092 <tr class="bg1" align="left" valign="top">
1093 <td class="en1" align="center" valign="middle"><input type="radio"
1094 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
1095 onclick="show_set_image_blocker_opts(true)"></td>
1096 <td class="dis1" align="center" valign="middle"><input type="radio"
1097 name="set_image_blocker" value="N" @set-image-blocker-n@
1098 onclick="show_set_image_blocker_opts(false)"></td>
1099 <td class="noc1" align="center" valign="middle"><input type="radio"
1100 name="set_image_blocker" value="X" @set-image-blocker-x@
1101 onclick="show_set_image_blocker_opts(false)"></td>
1102 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
1103 <td>Specifies how to block images.</td>
1105 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
1106 <td class="en1"> </td>
1107 <td class="dis1"> </td>
1108 <td class="noc1"> </td>
1110 <td><input type="radio" name="set_image_blocker_mode"
1111 onclick="set_image_blocker_param_disable(true)"
1112 value="pattern" id="set_image_blocker_mode_pattern"
1113 @set-image-blocker-param-pattern@><label
1114 for="set_image_blocker_mode_pattern">Send a pattern (<img
1115 src="send-banner?type=p" width="12" height="12"
1116 alt="pattern">)</label><br>
1117 <input type="radio" name="set_image_blocker_mode" value="blank"
1118 onclick="set_image_blocker_param_disable(true)"
1119 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
1120 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
1121 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
1122 onclick="set_image_blocker_param_disable(false)"
1123 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
1124 for="set_image_blocker_mode_set">Redirect
1125 the browser to this image URL:</label><br>
1126 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
1127 size="40" value="@set-image-blocker-param@"></td>
1131 <!-- @if-multiple-forms-start -->
1133 <input type="hidden" name="f" value="@f@">
1134 <input type="hidden" name="v" value="@v@">
1135 <input type="hidden" name="s" value="@s@">
1136 <input type="submit" value="Submit changes in Section 4" name="Submit">
1139 <!-- if-multiple-forms-end@ -->
1141 <!-- @if-one-form-only-start -->
1143 <td class="green" align="center">
1144 <p><input type="submit" value="Submit" name="Submit"></p>
1147 <!-- if-one-form-only-end@ -->
1150 <h2>More Privoxy:</h2>
1151 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
1158 #include mod-support-and-service
1163 <!-- @if-have-help-info-start -->
1167 #include mod-local-help
1171 <!-- if-have-help-info-end@ -->
1174 <!-- @if-one-form-only-start -->
1176 <!-- if-one-form-only-end@ -->
1178 <script type="text/javascript">
1181 if (document.getElementById) {
1182 // alert("Netscape 6 or IE5");
1183 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
1184 document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
1185 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
1187 show_add_header_opts (document.getElementById("add_header_y").checked);
1188 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
1189 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
1190 show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
1191 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
1192 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
1193 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
1194 show_send_wafer_opts (document.getElementById("send_wafer_y").checked);
1195 } else if (document.all) {
1197 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
1198 document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
1199 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
1201 show_add_header_opts (document.myform.add_header_y.checked);
1202 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
1203 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
1204 show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
1205 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
1206 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
1207 show_limit_connect_opts (document.myform.limit_connect_y.checked);
1208 show_send_wafer_opts (document.myform.send_wafer_y.checked);
1209 } else if (document.layers) {
1210 // alert("Netscape 4");