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-2012 the
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 ##############################################################################
37 # This file currently produces valid HTML 4.01 Strict.
39 # If you change it, please save the generated page from your web browser
40 # and then upload it to http://validator.w3.org/ for checking.
42 ##############################################################################
44 # Available variables include:
50 # deanimate-gifs-param-first
51 # deanimate-gifs-param-last
52 # hide-from-param-block
53 # hide-from-param-custom
55 # hide-referrer-param-forge
56 # hide-referrer-param-block
57 # hide-referrer-param-custom
59 # hide-user-agent-param
60 # image-blocker-param-pattern
61 # image-blocker-param-blank
62 # image-blocker-param-custom
65 ##############################################################################
66 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
70 <meta http-equiv="Content-Style-Type" content="text/css">
71 <meta http-equiv="Content-Script-Type" content="text/javascript">
72 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
73 <meta name="robots" content="noindex,nofollow">
74 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
75 <link rel="shortcut icon" href="@default-cgi@favicon.ico" type="image/x-icon">
77 <title>Privoxy@@my-hostname@: Edit actions</title>
79 <style type="text/css">
80 td.action { font-weight: bold;
83 td.subaction { font-style: italic }
84 th { font-weight: bold; }
85 # This is the key to the color names below:
86 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
87 # 1=odd rows, 2=even rows, h=Table header
88 tr.hdr { background-color: #999999 }
89 tr.bg1 { background-color: #eeeeee }
90 td.en1 { background-color: #ddffdd }
91 td.dis1 { background-color: #ffdddd }
92 td.noc1 { background-color: #ddddff }
93 th.enh { background-color: #99ff99 }
94 th.dish { background-color: #ff9999 }
95 th.noch { background-color: #9999ff }
96 table.wide { padding: 5px; }
97 td.green { border: solid black 1px; background-color: #ddffdd; }
103 border-left-width: 10px;
104 border-right-width: 10px;
105 border-top-width: 0px;
106 border-bottom-width: 0px }
109 <script type="text/javascript">
112 function hide_from_header_param_disable(tf)
114 if (document.getElementById) {
116 document.getElementById("hide_from_header_param").disabled = tf;
117 } else if (document.all) {
119 document.myform.hide_from_header_param.disabled = tf;
123 function hide_referrer_param_disable(tf)
125 if (document.getElementById) {
126 document.getElementById("hide_referrer_param").disabled = tf;
127 } else if (document.all) {
128 document.myform.hide_referrer_param.disabled = tf;
132 function set_image_blocker_param_disable(tf)
134 if (document.getElementById) {
135 document.getElementById("set_image_blocker_param").disabled = tf;
136 } else if (document.all) {
137 document.myform.set_image_blocker_param.disabled = tf;
141 function show_add_header_opts(tf)
143 if (document.getElementById) {
144 target = document.getElementById("add_header_opts");
145 } else if (document.all) {
146 target = document.add_header_opts;
150 target.style.display = (tf ? "" : "none");
153 function show_deanimate_opts(tf)
155 if (document.getElementById) {
156 target = document.getElementById("deanimate_opts");
157 } else if (document.all) {
158 target = document.deanimate_opts;
162 target.style.display = (tf ? "" : "none");
165 function show_hide_from_header_opts(tf)
167 if (document.getElementById) {
168 target = document.getElementById("hide_from_header_opts");
169 } else if (document.all) {
170 target = document.hide_from_header_opts;
174 target.style.display = (tf ? "" : "none");
177 function show_hide_referrer_opts(tf)
179 if (document.getElementById) {
180 target = document.getElementById("hide_referrer_opts");
181 } else if (document.all) {
182 target = document.hide_referrer_opts;
186 target.style.display = (tf ? "" : "none");
189 function show_user_agent_opts(tf)
191 if (document.getElementById) {
192 target = document.getElementById("user_agent_opts");
193 } else if (document.all) {
194 target = document.user_agent_opts;
198 target.style.display = (tf ? "" : "none");
201 function show_set_image_blocker_opts(tf)
203 if (document.getElementById) {
204 target = document.getElementById("set_image_blocker_opts");
205 } else if (document.all) {
206 target = document.set_image_blocker_opts;
210 target.style.display = (tf ? "" : "none");
213 function show_limit_connect_opts(tf)
215 if (document.getElementById) {
216 target = document.getElementById("limit_connect_opts");
217 } else if (document.all) {
218 target = document.limit_connect_opts;
222 target.style.display = (tf ? "" : "none");
231 <!-- @if-one-form-only-start -->
232 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
233 <!-- if-one-form-only-end@ -->
235 <table summary="" cellpadding="20" cellspacing="10" border="0" width="100%">
244 <!-- @if-unstable-start -->
245 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
249 #include mod-unstable-warning
253 <!-- if-unstable-end@ -->
255 <!-- @if-one-form-only-start -->
259 <input type="hidden" name="f" value="@f@">
260 <input type="hidden" name="v" value="@v@">
261 <input type="hidden" name="s" value="@s@">
267 <td class="green" align="center">
268 <p><input type="submit" value="Submit" name="Submit"></p>
271 <!-- if-one-form-only-end@ -->
273 <tr><td class="wrapbox">
275 <!-- @if-multiple-forms-start -->
276 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
277 <h2>Edit Actions (Section 1)</h2>
278 <!-- if-multiple-forms-end@ -->
280 <table summary="Action section 1" border="0" cellspacing="2" width="100%" class="wide">
281 <tr class="hdr" align="left">
282 <th class="enh" align="center">Enable</th>
283 <th class="dish" align="center">Disable</th>
284 <th class="noch" align="center">No Change</th>
288 <tr class="bg1" align="left" valign="top">
289 <td class="en1" align="center" valign="middle"><input type="radio"
290 name="add_header" id="add_header_y" value="Y" @add-header-y@
291 onclick="show_add_header_opts(true)"></td>
292 <td class="dis1" align="center" valign="middle"><input type="radio"
293 name="add_header" value="N" @add-header-n@
294 onclick="show_add_header_opts(false)"></td>
295 <td class="noc1" align="center" valign="middle"><input type="radio"
296 name="add_header" value="X" @add-header-x@
297 onclick="show_add_header_opts(false)"></td>
298 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
299 <td>Adds HTTP headers.</td>
301 <tr class="bg1" align="left" valign="top" id="add_header_opts">
302 <td class="en1"> </td>
303 <td class="dis1"> </td>
304 <td class="noc1"> </td>
306 <td>Editing the settings for this option, or turning
307 it on if it was off, is not yet supported using this web-based
310 <tr class="bg1" align="left" valign="top">
311 <td class="en1" align="center" valign="middle"><input type="radio"
312 name="block" value="Y" @block-y@
314 <td class="dis1" align="center" valign="middle"><input type="radio"
315 name="block" value="N" @block-n@
317 <td class="noc1" align="center" valign="middle"><input type="radio"
318 name="block" value="X" @block-x@
320 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
321 <td>Block the request.</td>
323 <tr class="bg1" align="left" valign="top" id="block_opts">
324 <td class="en1"> </td>
325 <td class="dis1"> </td>
326 <td class="noc1"> </td>
328 <td>Block reason to tell the user:<br>
329 <input type="text" name="block_mode" size="40" value="@block-param@">
332 <tr class="bg1" align="left" valign="top">
333 <td class="en1" align="center" valign="middle"><input type="radio"
334 name="change_x_forwarded_for" id="change_x_forwarded_for_y" value="Y" @change-x-forwarded-for-y@
335 onclick="show_change_x_forwarded_for_opts(true)"></td>
336 <td class="dis1" align="center" valign="middle"><input type="radio"
337 name="change_x_forwarded_for" value="N" @change-x-forwarded-for-n@
338 onclick="show_change_x_forwarded_for_opts(false)"></td>
339 <td class="noc1" align="center" valign="middle"><input type="radio"
340 name="change_x_forwarded_for" value="X" @change-x-forwarded-for-x@
341 onclick="show_change_x_forwarded_for_opts(false)"></td>
342 <td class="action"><a href="@user-manual@@actions-help-prefix@CHANGE-X-FORWARDED-FOR">change-x-forwarded-for</a></td>
343 <td>Specifies whether to block or add X-Forwarded-For headers.</td>
345 <tr class="bg1" align="left" valign="top" id="change_x_forwarded_for_opts">
346 <td class="en1"> </td>
347 <td class="dis1"> </td>
348 <td class="noc1"> </td>
350 <td><input type="radio" name="change_x_forwarded_for_mode" value="block"
351 id="change_x_forwarded_for_mode_block" @change-x-forwarded-for-param-block@><label
352 for="change_x_forwarded_for_mode_block">Block the header.</label><br>
353 <input type="radio" name="change_x_forwarded_for_mode" value="add"
354 id="change_x_forwarded_for_mode_add" @change-x-forwarded-for-param-add@><label
355 for="change_x_forwarded_for_mode_add">Add the header.</label><br>
357 <tr class="bg1" align="left" valign="top">
358 <td class="en1"> </td>
359 <td class="dis1" align="center" valign="middle"><input type="radio"
360 name="client_header_filter_all" id="client_header_filter_all_n" value="N" @client-header-filter-all-n@ ></td>
361 <td class="noc1" align="center" valign="middle"><input type="radio"
362 name="client_header_filter_all" id="client_header_filter_all_x" value="X" @client-header-filter-all-x@ ></td>
363 <td class="action"><a href="@user-manual@@actions-help-prefix@CLIENT-HEADER-FILTER">client-header-filter</a> *</td>
364 <td>Filter the client headers.
365 You can use the radio buttons on this line to disable
366 all client-header filters applied by previous rules, and/or
367 you can enable or disable the filters individually below.</td>
369 @client-header-filter-params@
370 <tr class="bg1" align="left" valign="top">
371 <td class="en1"> </td>
372 <td class="dis1" align="center" valign="middle"><input type="radio"
373 name="client_header_tagger_all" id="client_header_tagger_all_n" value="N" @client-header-tagger-all-n@ ></td>
374 <td class="noc1" align="center" valign="middle"><input type="radio"
375 name="client_header_tagger_all" id="client_header_tagger_all_x" value="X" @client-header-tagger-all-x@ ></td>
376 <td class="action"><a href="@user-manual@@actions-help-prefix@CLIENT-HEADER-TAGGER">client-header-tagger</a> *</td>
377 <td>Create tags based on the client headers.
378 You can use the radio buttons on this line to disable
379 all client-header taggers applied by previous rules, and/or
380 you can enable or disable the taggers individually below.</td>
382 @client-header-tagger-params@
383 <tr class="bg1" align="left" valign="top">
384 <td class="en1" align="center" valign="middle"><input type="radio"
385 name="content_type_overwrite" value="Y" @content-type-overwrite-y@
387 <td class="dis1" align="center" valign="middle"><input type="radio"
388 name="content_type_overwrite" value="N" @content-type-overwrite-n@
390 <td class="noc1" align="center" valign="middle"><input type="radio"
391 name="content_type_overwrite" value="X" @content-type-overwrite-x@
393 <td class="action"><a href="@user-manual@@actions-help-prefix@CONTENT-TYPE-OVERWRITE">content-type-overwrite</a></td>
394 <td>Replace Content-Type header. By default it only applies to
395 text documents, but if you know what you're doing you
396 can enable force-text-mode to modify binary content types as well.</td>
398 <tr class="bg1" align="left" valign="top" id="content_type_overwrite_opts">
399 <td class="en1"> </td>
400 <td class="dis1"> </td>
401 <td class="noc1"> </td>
403 <td>New Content-Type:<br>
404 <input type="text" name="content_type_overwrite_mode" size="40"
405 value="@content-type-overwrite-param@"></td>
407 <tr class="bg1" align="left" valign="top">
408 <td class="en1" align="center" valign="middle"><input type="radio"
409 name="crunch_client_header" id="crunch_client_header_y" value="Y" @crunch-client-header-y@
411 <td class="dis1" align="center" valign="middle"><input type="radio"
412 name="crunch_client_header" value="N" @crunch-client-header-n@
414 <td class="noc1" align="center" valign="middle"><input type="radio"
415 name="crunch_client_header" value="X" @crunch-client-header-x@
417 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-CLIENT-HEADER">crunch-client-header</a></td>
418 <td>Remove header(s) matching the supplied pattern.</td>
420 <tr class="bg1" align="left" valign="top" id="crunch_client_header_opts">
421 <td class="en1"> </td>
422 <td class="dis1"> </td>
423 <td class="noc1"> </td>
425 <td>Header string to suppress:<br>
426 <input type="text" name="crunch_client_header_mode" size="40"
427 value="@crunch-client-header-param@"></td>
429 <tr class="bg1" align="left" valign="top">
430 <td class="en1" align="center" valign="middle"><input type="radio"
431 name="crunch_if_none_match" value="Y" @crunch-if-none-match-y@
433 <td class="dis1" align="center" valign="middle"><input type="radio"
434 name="crunch_if_none_match" value="N" @crunch-if-none-match-n@
436 <td class="noc1" align="center" valign="middle"><input type="radio"
437 name="crunch_if_none_match" value="X" @crunch-if-none-match-x@
439 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-IF-NONE-MATCH">crunch-if-none-match</a></td>
440 <td>Remove If-None-Match header. Useful for filter testing
441 and to make sure the header can't be used to track your visits.</td>
444 <tr class="bg1" align="left" valign="top">
445 <td class="en1" align="center" valign="middle"><input type="radio"
446 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
448 <td class="dis1" align="center" valign="middle"><input type="radio"
449 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
451 <td class="noc1" align="center" valign="middle"><input type="radio"
452 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
454 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
455 <td>Prevent the website from setting HTTP cookies on your system.</td>
457 <tr class="bg1" align="left" valign="top">
458 <td class="en1" align="center" valign="middle"><input type="radio"
459 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
461 <td class="dis1" align="center" valign="middle"><input type="radio"
462 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
464 <td class="noc1" align="center" valign="middle"><input type="radio"
465 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
467 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
468 <td>Prevent the website from reading HTTP cookies from your system.</td>
470 <tr class="bg1" align="left" valign="top">
471 <td class="en1" align="center" valign="middle"><input type="radio"
472 name="crunch_server_header" id="crunch_server_header_y" value="Y" @crunch-server-header-y@
474 <td class="dis1" align="center" valign="middle"><input type="radio"
475 name="crunch_server_header" value="N" @crunch-server-header-n@
477 <td class="noc1" align="center" valign="middle"><input type="radio"
478 name="crunch_server_header" value="X" @crunch-server-header-x@
480 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-SERVER-HEADER">crunch-server-header</a></td>
481 <td>Remove server header(s) matching the supplied pattern.</td>
483 <tr class="bg1" align="left" valign="top" id="crunch_server_header_opts">
484 <td class="en1"> </td>
485 <td class="dis1"> </td>
486 <td class="noc1"> </td>
488 <td>Header string to suppress:<br>
489 <input type="text" name="crunch_server_header_mode" size="40"
490 value="@crunch-server-header-param@"></td>
493 <tr class="bg1" align="left" valign="top">
494 <td class="en1" align="center" valign="middle"><input type="radio"
495 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
496 onclick="show_deanimate_opts(true)"></td>
497 <td class="dis1" align="center" valign="middle"><input type="radio"
498 name="deanimate_gifs" value="N" @deanimate-gifs-n@
499 onclick="show_deanimate_opts(false)"></td>
500 <td class="noc1" align="center" valign="middle"><input type="radio"
501 name="deanimate_gifs" value="X" @deanimate-gifs-x@
502 onclick="show_deanimate_opts(false)"></td>
503 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
504 <td>Replace animated GIFs with their (first/last) frame.</td>
506 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
507 <td class="en1"> </td>
508 <td class="dis1"> </td>
509 <td class="noc1"> </td>
511 <td>Use the <input type="radio" name="deanimate_gifs_mode"
512 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
513 for="deanimate_first">first frame</label> <input
514 type="radio" name="deanimate_gifs_mode" value="last"
515 id="deanimate_last" @deanimate-gifs-param-last@><label
516 for="deanimate_last">last frame</label></td>
518 <tr class="bg1" align="left" valign="top">
519 <td class="en1" align="center" valign="middle"><input type="radio"
520 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
521 <td class="dis1" align="center" valign="middle"><input type="radio"
522 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
523 <td class="noc1" align="center" valign="middle"><input type="radio"
524 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
525 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION"
526 >downgrade-http-version</a></td>
527 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
528 what you're doing!</td>
530 <tr class="bg1" align="left" valign="top">
531 <td class="en1" align="center" valign="middle"><input type="radio"
532 name="fast_redirects" value="Y" @fast-redirects-y@
534 <td class="dis1" align="center" valign="middle"><input type="radio"
535 name="fast_redirects" value="N" @fast-redirects-n@
537 <td class="noc1" align="center" valign="middle"><input type="radio"
538 name="fast_redirects" value="X" @fast-redirects-x@
540 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
541 <td>Bypass some click-tracking URLs.</td>
543 <tr class="bg1" align="left" valign="top" id="fast-redirects_opts">
544 <td class="en1"> </td>
545 <td class="dis1"> </td>
546 <td class="noc1"> </td>
549 <input type="radio" name="fast_redirects_mode"
550 value="simple-check" id="fast_redirects_simple_check" @fast-redirects-param-simple-check@><label
551 for="fast_redirects_simple_check">Simple check.</label>
553 <input type="radio" name="fast_redirects_mode" value="check-decoded-url"
554 id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@><label
555 for="fast_redirects_check_decoded_url">Decode URL before checking.</label></td>
557 <!-- @if-multiple-forms-start -->
560 <input type="hidden" name="f" value="@f@">
561 <input type="hidden" name="v" value="@v@">
562 <input type="hidden" name="s" value="@s@">
563 <input type="submit" value="Submit changes in Section 1" name="Submit">
567 <tr><td class="wrapbox">
568 <form method="GET" action="edit-actions-submit" id="myform-2" name="myform">
569 <h2>Edit Actions (Section 2)</h2>
570 <table summary="Action section 2" border="0" cellspacing="2" width="100%" class="wide">
571 <tr class="hdr" align="left">
572 <th class="enh" align="center">Enable</th>
573 <th class="dish" align="center">Disable</th>
574 <th class="noch" align="center">No Change</th>
578 <!-- if-multiple-forms-end@ -->
579 <tr class="bg1" align="left" valign="top">
580 <td class="en1"> </td>
581 <td class="dis1" align="center" valign="middle"><input type="radio"
582 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
583 <td class="noc1" align="center" valign="middle"><input type="radio"
584 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
585 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
586 <td>Filter the website through regular expression
587 filters. You can use the radio buttons on this line to disable
588 all filters applied by previous rules, and/or you can enable or
589 disable the filters individually below.</td>
592 @content-filter-params@
594 <!-- @if-multiple-forms-start -->
597 <input type="hidden" name="f" value="@f@">
598 <input type="hidden" name="v" value="@v@">
599 <input type="hidden" name="s" value="@s@">
600 <input type="submit" value="Submit changes in Section 2" name="Submit">
604 <tr><td class="wrapbox">
605 <form method="GET" action="edit-actions-submit" id="myform-3" name="myform">
606 <h2>Edit Actions (Section 3)</h2>
607 <table summary="Action section 3" border="0" cellspacing="2" width="100%" class="wide">
608 <tr class="hdr" align="left">
609 <th class="enh" align="center">Enable</th>
610 <th class="dish" align="center">Disable</th>
611 <th class="noch" align="center">No Change</th>
615 <!-- if-multiple-forms-end@ -->
616 <tr class="bg1" align="left" valign="top">
617 <td class="en1" align="center" valign="middle"><input type="radio"
618 name="force_text_mode" value="Y" @force-text-mode-y@
620 <td class="dis1" align="center" valign="middle"><input type="radio"
621 name="force_text_mode" value="N" @force-text-mode-n@
623 <td class="noc1" align="center" valign="middle"><input type="radio"
624 name="force_text_mode" value="X" @force-text-mode-x@
626 <td class="action"><a href="@user-manual@@actions-help-prefix@FORCE-TEXT-MODE">force-text-mode</a></td>
628 Enable filtering on documents whose Content-Type wasn't recognized as text.
629 Do think twice, nothing is alright.
632 <tr class="bg1" align="left" valign="top">
633 <td class="en1" align="center" valign="middle"><input type="radio"
634 name="forward_override" id="forward_override_y" value="Y" @forward-override-y@
636 <td class="dis1" align="center" valign="middle"><input type="radio"
637 name="forward_override" id="forward_override_n" value="N" @forward-override-n@
639 <td class="noc1" align="center" valign="middle"><input type="radio"
640 name="forward_override" id="forward_override_x" value="X" @forward-override-x@
642 <td class="action"><a href="@user-manual@@actions-help-prefix@FORWARD-OVERRIDE">forward-override</a></td>
643 <td>Override forward directives in the configuration file.
644 Note that the <a href="@user-manual@actions-file.html#FORWARD-OVERRIDE">parameter syntax</a>
645 isn't checked until the action is used. <strong class="warning">Syntax errors
646 will cause Privoxy to exit.</strong></td>
648 <tr class="bg1" align="left" valign="top" id="forward_override_language_opts">
649 <td class="en1"> </td>
650 <td class="dis1"> </td>
651 <td class="noc1"> </td>
654 Overriding forward directive:<br>
655 <input type="text" name="forward_override_param"
656 id="forward_override_param" size="40"
657 value="@forward-override-param@"><br>
660 <tr class="bg1" align="left" valign="top">
661 <td class="en1" align="center" valign="middle"><input type="radio"
662 name="handle_as_empty_document" value="Y" @handle-as-empty-document-y@
664 <td class="dis1" align="center" valign="middle"><input type="radio"
665 name="handle_as_empty_document" value="N" @handle-as-empty-document-n@
667 <td class="noc1" align="center" valign="middle"><input type="radio"
668 name="handle_as_empty_document" value="X" @handle-as-empty-document-x@
670 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-EMPTY-DOCUMENT">handle-as-empty-document</a></td>
672 Block with an <em>empty</em> document instead of an Image or HTML message.
673 The <em>empty</em> document contains only a space and can safely be parsed
674 as JavaScript or Style Sheet. Use content-type-overwrite to specify the
675 Content-Type, default is <q>text/html</q>.
678 <tr class="bg1" align="left" valign="top">
679 <td class="en1" align="center" valign="middle"><input type="radio"
680 name="handle_as_image" value="Y" @handle-as-image-y@
682 <td class="dis1" align="center" valign="middle"><input type="radio"
683 name="handle_as_image" value="N" @handle-as-image-n@
685 <td class="noc1" align="center" valign="middle"><input type="radio"
686 name="handle_as_image" value="X" @handle-as-image-x@
688 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
689 <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>
690 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
692 <tr class="bg1" align="left" valign="top">
693 <td class="en1" align="center" valign="middle"><input type="radio"
694 name="hide_accept_language" id="hide_accept_language_y" value="Y" @hide-accept-language-y@
695 onclick="show_hide_accept_language_opts(true)"></td>
696 <td class="dis1" align="center" valign="middle"><input type="radio"
697 name="hide_accept_language" id="hide_accept_language_n" value="N" @hide-accept-language-n@
698 onclick="show_hide_accept_language_opts(false)"></td>
699 <td class="noc1" align="center" valign="middle"><input type="radio"
700 name="hide_accept_language" id="hide_accept_language_x" value="X" @hide-accept-language-x@
701 onclick="show_hide_accept_language_opts(false)"
703 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-ACCEPT-LANGUAGE">hide-accept-language</a></td>
704 <td>Pretend to have different language settings. (Makes a fake User-Agent more believable,
705 but you may end up with content in the language you pretended to understand.)</td>
707 <tr class="bg1" align="left" valign="top" id="hide_accept-language_opts">
708 <td class="en1"> </td>
709 <td class="dis1"> </td>
710 <td class="noc1"> </td>
712 <td><input type="radio" name="hide_accept_language_mode" value="block"
713 onclick="hide_accept_language_param_disable(true)"
714 @hide-accept-language-param-block@ id="hide_accept_language_mode_block"><label
715 for="hide_accept_language_mode_block">Remove Accept-Language header without replacement.</label>
717 <input type="radio" name="hide_accept_language_mode" value="CUSTOM"
718 onclick="hide_accept_language_param_disable(false)"
719 @hide-accept-language-param-custom@ id="hide_accept_language_mode_set"><label
720 for="hide_accept_language_mode_set">Fake these language settings:</label><br>
721 <input type="text" name="hide_accept_language_param"
722 id="hide_accept_language_param" size="40"
723 value="@hide-accept-language-param@"><br>
726 <tr class="bg1" align="left" valign="top">
727 <td class="en1" align="center" valign="middle"><input type="radio"
728 name="hide_content_disposition" id="hide_content_disposition_y" value="Y" @hide-content-disposition-y@
729 onclick="show_hide_content_disposition_opts(true)"></td>
730 <td class="dis1" align="center" valign="middle"><input type="radio"
731 name="hide_content_disposition" id="hide_content_disposition_n" value="N" @hide-content-disposition-n@
732 onclick="show_hide_content_disposition_opts(false)"></td>
733 <td class="noc1" align="center" valign="middle"><input type="radio"
734 name="hide_content_disposition" id="hide_content_disposition_x" value="X" @hide-content-disposition-x@
735 onclick="show_hide_content_disposition_opts(false)"
737 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-CONTENT-DISPOSITION">hide-content-disposition</a></td>
738 <td>Block or overwrite the content-disposition header. Useful to view a document inside the browser,
739 even if you were supposed to save it first, or to change the suggested file name.</td>
741 <tr class="bg1" align="left" valign="top" id="hide_content_disposition_opts">
742 <td class="en1"> </td>
743 <td class="dis1"> </td>
744 <td class="noc1"> </td>
746 <td><input type="radio" name="hide_content_disposition_mode" value="block"
747 onclick="hide_content_disposition_param_disable(true)"
748 @hide-content-disposition-param-block@ id="hide_content_disposition_mode_block"><label
749 for="hide_content_disposition_mode_block">Remove content-disposition header without replacement.</label>
751 <input type="radio" name="hide_content_disposition_mode" value="CUSTOM"
752 onclick="hide_content_disposition_param_disable(false)"
753 @hide-content-disposition-param-custom@ id="hide_content_disposition_mode_set"><label
754 for="hide_content_disposition_mode_set">Overwrite content-dispostion header with:</label><br>
755 <input type="text" name="hide_content_disposition_param"
756 id="hide_content_disposition_param" size="40"
757 value="@hide-content-disposition-param@"><br>
760 <tr class="bg1" align="left" valign="top">
761 <td class="en1" align="center" valign="middle"><input type="radio"
762 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
763 onclick="show_hide_from_header_opts(true)"></td>
764 <td class="dis1" align="center" valign="middle"><input type="radio"
765 name="hide_from_header" value="N" @hide-from-header-n@
766 onclick="show_hide_from_header_opts(false)"></td>
767 <td class="noc1" align="center" valign="middle"><input type="radio"
768 name="hide_from_header" value="X" @hide-from-header-x@
769 onclick="show_hide_from_header_opts(false)"></td>
770 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
771 <td>Stop old web browsers from sending the user's e-mail address with
774 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
775 <td class="en1"> </td>
776 <td class="dis1"> </td>
777 <td class="noc1"> </td>
779 <td><input type="radio" name="hide_from_header_mode" value="block"
780 onclick="hide_from_header_param_disable(true);"
781 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
782 for="hide_from_header_mode_block">Remove completely</label><br>
783 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
784 onclick="hide_from_header_param_disable(false);"
785 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
786 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
787 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
788 size="40" value="@hide-from-header-param@"></td>
791 <tr class="bg1" align="left" valign="top">
792 <td class="en1" align="center" valign="middle"><input type="radio"
793 name="hide_if_modified_since" value="Y" @hide-if-modified-since-y@
795 <td class="dis1" align="center" valign="middle"><input type="radio"
796 name="hide_if_modified_since" value="N" @hide-if-modified-since-n@
798 <td class="noc1" align="center" valign="middle"><input type="radio"
799 name="hide_if_modified_since" value="X" @hide-if-modified-since-x@
801 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-IF-MODIFIED-SINCE">hide-if-modified-since</a></td>
802 <td>Remove or randomize the If-Modified-Since header.</td>
804 <tr class="bg1" align="left" valign="top" id="hide_if-modifed-since_opts">
805 <td class="en1"> </td>
806 <td class="dis1"> </td>
807 <td class="noc1"> </td>
809 <td><input type="radio" name="hide_if_modified_since_mode" value="block"
810 onclick="hide_if_modified_since_param_disable(true)"
811 @hide-if-modified-since-param-block@ id="hide_if_modified_since_mode_block"><label
812 for="hide_if_modified_since_mode_block">Remove without replacement.</label>
813 Useful for filter testing.<br>
814 <input type="radio" name="hide_if_modified_since_mode" value="CUSTOM"
815 onclick="hide_if_modified_since_param_disable(true)"
816 @hide-if-modified-since-param-custom@ id="hide_if_modified_since_mode_set"><label
817 for="hide_if_modified_since_mode_set">Add random amount of seconds in the range of</label>
818 <input type="text" name="hide_if_modified_since_param"
819 id="hide_if_modified_since_param" size="4"
820 value="@hide-if-modified-since-param@"> minute(s).
821 To appreciate this option a small amount of paranoia is required,
822 but at least in theory the If-Modified-Since header could be used
823 to keep track of your visits.
826 <!-- @if-multiple-forms-start -->
829 <input type="hidden" name="f" value="@f@">
830 <input type="hidden" name="v" value="@v@">
831 <input type="hidden" name="s" value="@s@">
832 <input type="submit" value="Submit changes in Section 3" name="Submit">
836 <tr><td class="wrapbox">
837 <form method="GET" action="edit-actions-submit" id="myform-4" name="myform">
838 <h2>Edit Actions (Section 4)</h2>
839 <table summary="Action section 4" border="0" cellspacing="2" width="100%" class="wide">
840 <tr class="hdr" align="left">
841 <th class="enh" align="center">Enable</th>
842 <th class="dish" align="center">Disable</th>
843 <th class="noch" align="center">No Change</th>
847 <!-- if-multiple-forms-end@ -->
848 <tr class="bg1" align="left" valign="top">
849 <td class="en1" align="center" valign="middle"><input type="radio"
850 name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
851 onclick="show_hide_referrer_opts(true)"></td>
852 <td class="dis1" align="center" valign="middle"><input type="radio"
853 name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
854 onclick="show_hide_referrer_opts(false)"></td>
855 <td class="noc1" align="center" valign="middle"><input type="radio"
856 name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
857 onclick="show_hide_referrer_opts(false)"
859 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
860 <td>Helps prevent tracking by not sending the URL of the previous web
863 <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
864 <td class="en1"> </td>
865 <td class="dis1"> </td>
866 <td class="noc1"> </td>
868 <td><input type="radio" name="hide_referrer_mode" value="block"
869 onclick="hide_referrer_param_disable(true)"
870 @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
871 for="hide_referrer_mode_block">Remove completely</label> (breaks images
872 on some free web hosts).<br>
873 <input type="radio" name="hide_referrer_mode" value="forge"
874 onclick="hide_referrer_param_disable(true)"
875 @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
876 for="hide_referrer_mode_forge">Fake as the root directory of the
877 site</label> (fools checks for in-site links.)<br>
878 <input type="radio" name="hide_referrer_mode" value="CUSTOM"
879 onclick="hide_referrer_param_disable(false)"
880 @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
881 for="hide_referrer_mode_set">Fake as this web address:</label><br>
882 <input type="text" name="hide_referrer_param"
883 id="hide_referrer_param" size="40"
884 value="@hide-referrer-param@"><br>
885 <input type="radio" name="hide_referrer_mode" value="conditional-block"
886 onclick="hide_referrer_param_disable(true)"
887 @hide-referrer-param-conditional-block@ id="hide_referrer_mode_conditional-block"><label
888 for="hide_referrer_mode_conditional-block">Remove completely if host has changed,
889 but don't touch in-site referrers.
890 Less suspicious than the options above.</label><br>
891 <input type="radio" name="hide_referrer_mode" value="conditional-forge"
892 onclick="hide_referrer_param_disable(true)"
893 @hide-referrer-param-conditional-forge@ id="hide_referrer_mode_conditional-forge"><label
894 for="hide_referrer_mode_conditional-forge">Forge referrer if host has
895 changed, but don't touch in-site referrers.</label><br>
898 <tr class="bg1" align="left" valign="top">
899 <td class="en1" align="center" valign="middle"><input type="radio"
900 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
901 onclick="show_user_agent_opts(true)"></td>
902 <td class="dis1" align="center" valign="middle"><input type="radio"
903 name="hide_user_agent" value="N" @hide-user-agent-n@
904 onclick="show_user_agent_opts(false)"></td>
905 <td class="noc1" align="center" valign="middle"><input type="radio"
906 name="hide_user_agent" value="X" @hide-user-agent-x@
907 onclick="show_user_agent_opts(false)"></td>
908 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
909 <td>Pretend to be using a different web browser. (May cause problems with broken web sites).</td>
911 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
912 <td class="en1"> </td>
913 <td class="dis1"> </td>
914 <td class="noc1"> </td>
916 <td>User Agent string to send:<br>
917 <input type="text" name="hide_user_agent_mode" size="40"
918 value="@hide-user-agent-param@"></td>
920 <tr class="bg1" align="left" valign="top">
921 <td class="en1" align="center" valign="middle"><input type="radio"
922 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
923 onclick="show_limit_connect_opts(true)"></td>
924 <td class="dis1" align="center" valign="middle"><input type="radio"
925 name="limit_connect" value="N" @limit-connect-n@
926 onclick="show_limit_connect_opts(false)"></td>
927 <td class="noc1" align="center" valign="middle"><input type="radio"
928 name="limit_connect" value="X" @limit-connect-x@
929 onclick="show_limit_connect_opts(false)"></td>
930 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
931 <td>Limit which ports are allowed in HTTP CONNECT requests. These requests are
932 used to tunnel SSL and other protocols through HTTP proxies.</td>
934 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
935 <td class="en1"> </td>
936 <td class="dis1"> </td>
937 <td class="noc1"> </td>
939 <td>Legal ports (comma separated, ranges allowed):<br>
940 <input type="text" name="limit_connect_mode" size="40"
941 value="@limit-connect-param@"></td>
943 <tr class="bg1" align="left" valign="top">
944 <td class="en1" align="center" valign="middle"><input type="radio"
945 name="limit_cookie_lifetime" id="limit_cookie_lifetime_y" value="Y" @limit-cookie-lifetime-y@
946 onclick="show_limit_cookie_lifetime_opts(true)"></td>
947 <td class="dis1" align="center" valign="middle"><input type="radio"
948 name="limit_cookie_lifetime" value="N" @limit-cookie-lifetime-n@
949 onclick="show_limit_cookie_lifetime_opts(false)"></td>
950 <td class="noc1" align="center" valign="middle"><input type="radio"
951 name="limit_cookie_lifetime" value="X" @limit-cookie-lifetime-x@
952 onclick="show_limit_cookie_lifetime_opts(false)"></td>
953 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-COOKIE-LIFETIME">limit-cookie-lifetime</a></td>
954 <td>Limit the cookie lifetime specified in Set-Cookie headers.</td>
956 <tr class="bg1" align="left" valign="top" id="limit_cookie_lifetime_opts">
957 <td class="en1"> </td>
958 <td class="dis1"> </td>
959 <td class="noc1"> </td>
961 <td>Lifetime limit in minutes (or 0 to behave like
962 <a href="@user-manual@@actions-help-prefix@LIMIT-COOKIE-LIFETIME">session-cookies-only</a>):<br>
963 <input type="text" name="limit_cookie_lifetime_mode" size="40"
964 value="@limit-cookie-lifetime-param@"></td>
966 <tr class="bg1" align="left" valign="top">
967 <td class="en1" align="center" valign="middle"><input type="radio"
968 name="overwrite_last_modified" value="Y" @overwrite-last-modified-y@
970 <td class="dis1" align="center" valign="middle"><input type="radio"
971 name="overwrite_last_modified" value="N" @overwrite-last-modified-n@
973 <td class="noc1" align="center" valign="middle"><input type="radio"
974 name="overwrite_last_modified" value="X" @overwrite-last-modified-x@
976 <td class="action"><a href="@user-manual@@actions-help-prefix@OVERWRITE-LAST-MODIFIED">overwrite-last-modified</a></td>
977 <td>Remove or randomize the Last-Modified header.</td>
979 <tr class="bg1" align="left" valign="top" id="overwrite_last_modified_opts">
980 <td class="en1"> </td>
981 <td class="dis1"> </td>
982 <td class="noc1"> </td>
984 <td><input type="radio" name="overwrite_last_modified_mode" value="block"
985 onclick="overwrite_last_modified_param_disable(true)"
986 @overwrite-last-modified-param-block@ id="overwrite_last_modified_mode_block"><label
987 for="overwrite_last_modified_mode_block">Remove without replacement.</label>
989 <input type="radio" name="overwrite_last_modified_mode" value="reset-to-request-time"
990 onclick="overwrite_last_modified_param_disable(true)"
991 @overwrite-last-modified-param-reset-to-request-time@
992 id="overwrite_last_modified_mode_reset-to-request-time"><label
993 for="overwrite_last_modified_mode_reset-to-request-time">Reset to the time of the request.</label>
995 <input type="radio" name="overwrite_last_modified_mode" value="randomize"
996 onclick="overwrite_last_modified_param_disable(true)"
997 @overwrite-last-modified-param-randomize@
998 id="overwrite_last_modified_mode_randomize"><label
999 for="overwrite_last_modified_mode_randomize">Overwrite with random value
1000 between original header value and the time of the request.</label>
1004 <tr class="bg1" align="left" valign="top">
1005 <td class="en1" align="center" valign="middle"><input type="radio"
1006 name="prevent_compression" value="Y" @prevent-compression-y@
1008 <td class="dis1" align="center" valign="middle"><input type="radio"
1009 name="prevent_compression" value="N" @prevent-compression-n@
1011 <td class="noc1" align="center" valign="middle"><input type="radio"
1012 name="prevent_compression" value="X" @prevent-compression-x@
1014 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
1015 <td>Disables compression. Compressed web pages are faster to
1016 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
1017 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>
1018 if your Privoxy version was build without zlib support.</td>
1020 <tr class="bg1" align="left" valign="top">
1021 <td class="en1" align="center" valign="middle"><input type="radio"
1022 name="redirect" value="Y" @redirect-y@
1024 <td class="dis1" align="center" valign="middle"><input type="radio"
1025 name="redirect" value="N" @redirect-n@
1027 <td class="noc1" align="center" valign="middle"><input type="radio"
1028 name="redirect" value="X" @redirect-x@
1030 <td class="action"><a href="@user-manual@@actions-help-prefix@REDIRECT">redirect</a></td>
1031 <td>Redirect to another address.
1033 <tr class="bg1" align="left" valign="top" id="redirect_opts">
1034 <td class="en1"> </td>
1035 <td class="dis1"> </td>
1036 <td class="noc1"> </td>
1038 <td>Static address or a single pcrs command to redirect to a rewritten version of the original URL:<br>
1039 <input type="text" name="redirect_mode" size="40"
1040 value="@redirect-param@"></td>
1043 <tr class="bg1" align="left" valign="top">
1044 <td class="en1"> </td>
1045 <td class="dis1" align="center" valign="middle"><input type="radio"
1046 name="server_header_filter_all" id="server_header_filter_all_n" value="N" @server-header-filter-all-n@ ></td>
1047 <td class="noc1" align="center" valign="middle"><input type="radio"
1048 name="server_header_filter_all" id="server_header_filter_all_x" value="X" @server-header-filter-all-x@ ></td>
1049 <td class="action"><a href="@user-manual@@actions-help-prefix@SERVER-HEADER-FILTER">server-header-filter</a> *</td>
1050 <td>Filter the server headers.
1051 You can use the radio buttons on this line to disable
1052 all server-header filters applied by previous rules, and/or
1053 you can enable or disable the filters individually below.</td>
1055 @server-header-filter-params@
1056 <tr class="bg1" align="left" valign="top">
1057 <td class="en1"> </td>
1058 <td class="dis1" align="center" valign="middle"><input type="radio"
1059 name="server_header_tagger_all" id="server_header_tagger_all_n" value="N" @server-header-tagger-all-n@ ></td>
1060 <td class="noc1" align="center" valign="middle"><input type="radio"
1061 name="server_header_tagger_all" id="server_header_tagger_all_x" value="X" @server-header-tagger-all-x@ ></td>
1062 <td class="action"><a href="@user-manual@@actions-help-prefix@SERVER-HEADER-TAGGER">server-header-tagger</a> *</td>
1063 <td>Create tags based on the server headers.
1064 You can use the radio buttons on this line to disable
1065 all server-header taggers applied by previous rules, and/or
1066 you can enable or disable the taggers individually below.</td>
1068 @server-header-tagger-params@
1069 <tr class="bg1" align="left" valign="top">
1070 <td class="en1" align="center" valign="middle"><input type="radio"
1071 name="session_cookies_only" value="Y" @session-cookies-only-y@
1073 <td class="dis1" align="center" valign="middle"><input type="radio"
1074 name="session_cookies_only" value="N" @session-cookies-only-n@
1076 <td class="noc1" align="center" valign="middle"><input type="radio"
1077 name="session_cookies_only" value="X" @session-cookies-only-x@
1079 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
1080 <td>HTTP cookies set by the website are changed to temporary
1081 ("per-session") ones, which only last until you close your web
1082 browser. This will allow you to use sites that require cookies, but
1083 sites will not be able to track you across sessions. For this to
1084 be useful, you should disable
1085 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
1086 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
1088 <tr class="bg1" align="left" valign="top">
1089 <td class="en1" align="center" valign="middle"><input type="radio"
1090 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
1091 onclick="show_set_image_blocker_opts(true)"></td>
1092 <td class="dis1" align="center" valign="middle"><input type="radio"
1093 name="set_image_blocker" value="N" @set-image-blocker-n@
1094 onclick="show_set_image_blocker_opts(false)"></td>
1095 <td class="noc1" align="center" valign="middle"><input type="radio"
1096 name="set_image_blocker" value="X" @set-image-blocker-x@
1097 onclick="show_set_image_blocker_opts(false)"></td>
1098 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
1099 <td>Specifies how to block images.</td>
1101 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
1102 <td class="en1"> </td>
1103 <td class="dis1"> </td>
1104 <td class="noc1"> </td>
1106 <td><input type="radio" name="set_image_blocker_mode"
1107 onclick="set_image_blocker_param_disable(true)"
1108 value="pattern" id="set_image_blocker_mode_pattern"
1109 @set-image-blocker-param-pattern@><label
1110 for="set_image_blocker_mode_pattern">Send a pattern (<img
1111 src="send-banner?type=p" width="12" height="12"
1112 alt="pattern">)</label><br>
1113 <input type="radio" name="set_image_blocker_mode" value="blank"
1114 onclick="set_image_blocker_param_disable(true)"
1115 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
1116 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
1117 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
1118 onclick="set_image_blocker_param_disable(false)"
1119 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
1120 for="set_image_blocker_mode_set">Redirect
1121 the browser to this image URL:</label><br>
1122 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
1123 size="40" value="@set-image-blocker-param@"></td>
1127 <!-- @if-multiple-forms-start -->
1129 <input type="hidden" name="f" value="@f@">
1130 <input type="hidden" name="v" value="@v@">
1131 <input type="hidden" name="s" value="@s@">
1132 <input type="submit" value="Submit changes in Section 4" name="Submit">
1135 <!-- if-multiple-forms-end@ -->
1137 <!-- @if-one-form-only-start -->
1139 <td class="green" align="center">
1140 <p><input type="submit" value="Submit" name="Submit"></p>
1143 <!-- if-one-form-only-end@ -->
1146 <h2>More Privoxy:</h2>
1147 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
1154 #include mod-support-and-service
1159 <!-- @if-have-help-info-start -->
1163 #include mod-local-help
1167 <!-- if-have-help-info-end@ -->
1170 <!-- @if-one-form-only-start -->
1172 <!-- if-one-form-only-end@ -->
1174 <script type="text/javascript">
1177 if (document.getElementById) {
1178 // alert("Netscape 6 or IE5");
1179 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
1180 document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
1181 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
1183 show_add_header_opts (document.getElementById("add_header_y").checked);
1184 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
1185 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
1186 show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
1187 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
1188 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
1189 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
1190 show_send_wafer_opts (document.getElementById("send_wafer_y").checked);
1191 } else if (document.all) {
1193 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
1194 document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
1195 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
1197 show_add_header_opts (document.myform.add_header_y.checked);
1198 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
1199 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
1200 show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
1201 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
1202 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
1203 show_limit_connect_opts (document.myform.limit_connect_y.checked);
1204 show_send_wafer_opts (document.myform.send_wafer_y.checked);
1205 } else if (document.layers) {
1206 // alert("Netscape 4");