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-2014 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=UTF-8">
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>
531 <!-- @if-external-content-filters-start -->
532 <tr class="bg1" align="left" valign="top">
533 <td class="en1"> </td>
534 <td class="dis1" align="center" valign="middle"><input type="radio"
535 name="external_content_filter_all" id="external_content_filter_all_n" value="N" @external-content-filter-all-n@ ></td>
536 <td class="noc1" align="center" valign="middle"><input type="radio"
537 name="external_content_filter_all" id="external_content_filter_all_x" value="X" @external-content-filter-all-x@ ></td>
538 <td class="action"><a href="@user-manual@@actions-help-prefix@EXTERNAL_FILTER">external-filter</a> *</td>
539 <td>Filter the website through external scripts or programs.
540 You can use the radio buttons on this line to disable
541 all filters applied by previous rules, and/or you can enable or
542 disable the filters individually below.</td>
545 @external-content-filter-params@
546 <!-- if-external-content-filters-end@ -->
548 <tr class="bg1" align="left" valign="top">
549 <td class="en1" align="center" valign="middle"><input type="radio"
550 name="fast_redirects" value="Y" @fast-redirects-y@
552 <td class="dis1" align="center" valign="middle"><input type="radio"
553 name="fast_redirects" value="N" @fast-redirects-n@
555 <td class="noc1" align="center" valign="middle"><input type="radio"
556 name="fast_redirects" value="X" @fast-redirects-x@
558 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
559 <td>Bypass some click-tracking URLs.</td>
561 <tr class="bg1" align="left" valign="top" id="fast-redirects_opts">
562 <td class="en1"> </td>
563 <td class="dis1"> </td>
564 <td class="noc1"> </td>
567 <input type="radio" name="fast_redirects_mode"
568 value="simple-check" id="fast_redirects_simple_check" @fast-redirects-param-simple-check@><label
569 for="fast_redirects_simple_check">Simple check.</label>
571 <input type="radio" name="fast_redirects_mode" value="check-decoded-url"
572 id="fast_redirects_check_decoded_url" @fast-redirects-param-check-decoded-url@><label
573 for="fast_redirects_check_decoded_url">Decode URL before checking.</label></td>
575 <!-- @if-multiple-forms-start -->
578 <input type="hidden" name="f" value="@f@">
579 <input type="hidden" name="v" value="@v@">
580 <input type="hidden" name="s" value="@s@">
581 <input type="submit" value="Submit changes in Section 1" name="Submit">
585 <tr><td class="wrapbox">
586 <form method="GET" action="edit-actions-submit" id="myform-2" name="myform">
587 <h2>Edit Actions (Section 2)</h2>
588 <table summary="Action section 2" border="0" cellspacing="2" width="100%" class="wide">
589 <tr class="hdr" align="left">
590 <th class="enh" align="center">Enable</th>
591 <th class="dish" align="center">Disable</th>
592 <th class="noch" align="center">No Change</th>
596 <!-- if-multiple-forms-end@ -->
597 <tr class="bg1" align="left" valign="top">
598 <td class="en1"> </td>
599 <td class="dis1" align="center" valign="middle"><input type="radio"
600 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
601 <td class="noc1" align="center" valign="middle"><input type="radio"
602 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
603 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
604 <td>Filter the website through regular expression
605 filters. You can use the radio buttons on this line to disable
606 all filters applied by previous rules, and/or you can enable or
607 disable the filters individually below.</td>
610 @content-filter-params@
612 <!-- @if-multiple-forms-start -->
615 <input type="hidden" name="f" value="@f@">
616 <input type="hidden" name="v" value="@v@">
617 <input type="hidden" name="s" value="@s@">
618 <input type="submit" value="Submit changes in Section 2" name="Submit">
622 <tr><td class="wrapbox">
623 <form method="GET" action="edit-actions-submit" id="myform-3" name="myform">
624 <h2>Edit Actions (Section 3)</h2>
625 <table summary="Action section 3" border="0" cellspacing="2" width="100%" class="wide">
626 <tr class="hdr" align="left">
627 <th class="enh" align="center">Enable</th>
628 <th class="dish" align="center">Disable</th>
629 <th class="noch" align="center">No Change</th>
633 <!-- if-multiple-forms-end@ -->
634 <tr class="bg1" align="left" valign="top">
635 <td class="en1" align="center" valign="middle"><input type="radio"
636 name="force_text_mode" value="Y" @force-text-mode-y@
638 <td class="dis1" align="center" valign="middle"><input type="radio"
639 name="force_text_mode" value="N" @force-text-mode-n@
641 <td class="noc1" align="center" valign="middle"><input type="radio"
642 name="force_text_mode" value="X" @force-text-mode-x@
644 <td class="action"><a href="@user-manual@@actions-help-prefix@FORCE-TEXT-MODE">force-text-mode</a></td>
646 Enable filtering on documents whose Content-Type wasn't recognized as text.
647 Do think twice, nothing is alright.
650 <tr class="bg1" align="left" valign="top">
651 <td class="en1" align="center" valign="middle"><input type="radio"
652 name="forward_override" id="forward_override_y" value="Y" @forward-override-y@
654 <td class="dis1" align="center" valign="middle"><input type="radio"
655 name="forward_override" id="forward_override_n" value="N" @forward-override-n@
657 <td class="noc1" align="center" valign="middle"><input type="radio"
658 name="forward_override" id="forward_override_x" value="X" @forward-override-x@
660 <td class="action"><a href="@user-manual@@actions-help-prefix@FORWARD-OVERRIDE">forward-override</a></td>
661 <td>Override forward directives in the configuration file.
662 Note that the <a href="@user-manual@actions-file.html#FORWARD-OVERRIDE">parameter syntax</a>
663 isn't checked until the action is used. <strong class="warning">Syntax errors
664 will cause Privoxy to exit.</strong></td>
666 <tr class="bg1" align="left" valign="top" id="forward_override_language_opts">
667 <td class="en1"> </td>
668 <td class="dis1"> </td>
669 <td class="noc1"> </td>
672 Overriding forward directive:<br>
673 <input type="text" name="forward_override_param"
674 id="forward_override_param" size="40"
675 value="@forward-override-param@"><br>
678 <tr class="bg1" align="left" valign="top">
679 <td class="en1" align="center" valign="middle"><input type="radio"
680 name="handle_as_empty_document" value="Y" @handle-as-empty-document-y@
682 <td class="dis1" align="center" valign="middle"><input type="radio"
683 name="handle_as_empty_document" value="N" @handle-as-empty-document-n@
685 <td class="noc1" align="center" valign="middle"><input type="radio"
686 name="handle_as_empty_document" value="X" @handle-as-empty-document-x@
688 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-EMPTY-DOCUMENT">handle-as-empty-document</a></td>
690 Block with an <em>empty</em> document instead of an Image or HTML message.
691 The <em>empty</em> document contains only a space and can safely be parsed
692 as JavaScript or Style Sheet. Use content-type-overwrite to specify the
693 Content-Type, default is <q>text/html</q>.
696 <tr class="bg1" align="left" valign="top">
697 <td class="en1" align="center" valign="middle"><input type="radio"
698 name="handle_as_image" value="Y" @handle-as-image-y@
700 <td class="dis1" align="center" valign="middle"><input type="radio"
701 name="handle_as_image" value="N" @handle-as-image-n@
703 <td class="noc1" align="center" valign="middle"><input type="radio"
704 name="handle_as_image" value="X" @handle-as-image-x@
706 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
707 <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>
708 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
710 <tr class="bg1" align="left" valign="top">
711 <td class="en1" align="center" valign="middle"><input type="radio"
712 name="hide_accept_language" id="hide_accept_language_y" value="Y" @hide-accept-language-y@
713 onclick="show_hide_accept_language_opts(true)"></td>
714 <td class="dis1" align="center" valign="middle"><input type="radio"
715 name="hide_accept_language" id="hide_accept_language_n" value="N" @hide-accept-language-n@
716 onclick="show_hide_accept_language_opts(false)"></td>
717 <td class="noc1" align="center" valign="middle"><input type="radio"
718 name="hide_accept_language" id="hide_accept_language_x" value="X" @hide-accept-language-x@
719 onclick="show_hide_accept_language_opts(false)"
721 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-ACCEPT-LANGUAGE">hide-accept-language</a></td>
722 <td>Pretend to have different language settings. (Makes a fake User-Agent more believable,
723 but you may end up with content in the language you pretended to understand.)</td>
725 <tr class="bg1" align="left" valign="top" id="hide_accept-language_opts">
726 <td class="en1"> </td>
727 <td class="dis1"> </td>
728 <td class="noc1"> </td>
730 <td><input type="radio" name="hide_accept_language_mode" value="block"
731 onclick="hide_accept_language_param_disable(true)"
732 @hide-accept-language-param-block@ id="hide_accept_language_mode_block"><label
733 for="hide_accept_language_mode_block">Remove Accept-Language header without replacement.</label>
735 <input type="radio" name="hide_accept_language_mode" value="CUSTOM"
736 onclick="hide_accept_language_param_disable(false)"
737 @hide-accept-language-param-custom@ id="hide_accept_language_mode_set"><label
738 for="hide_accept_language_mode_set">Fake these language settings:</label><br>
739 <input type="text" name="hide_accept_language_param"
740 id="hide_accept_language_param" size="40"
741 value="@hide-accept-language-param@"><br>
744 <tr class="bg1" align="left" valign="top">
745 <td class="en1" align="center" valign="middle"><input type="radio"
746 name="hide_content_disposition" id="hide_content_disposition_y" value="Y" @hide-content-disposition-y@
747 onclick="show_hide_content_disposition_opts(true)"></td>
748 <td class="dis1" align="center" valign="middle"><input type="radio"
749 name="hide_content_disposition" id="hide_content_disposition_n" value="N" @hide-content-disposition-n@
750 onclick="show_hide_content_disposition_opts(false)"></td>
751 <td class="noc1" align="center" valign="middle"><input type="radio"
752 name="hide_content_disposition" id="hide_content_disposition_x" value="X" @hide-content-disposition-x@
753 onclick="show_hide_content_disposition_opts(false)"
755 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-CONTENT-DISPOSITION">hide-content-disposition</a></td>
756 <td>Block or overwrite the content-disposition header. Useful to view a document inside the browser,
757 even if you were supposed to save it first, or to change the suggested file name.</td>
759 <tr class="bg1" align="left" valign="top" id="hide_content_disposition_opts">
760 <td class="en1"> </td>
761 <td class="dis1"> </td>
762 <td class="noc1"> </td>
764 <td><input type="radio" name="hide_content_disposition_mode" value="block"
765 onclick="hide_content_disposition_param_disable(true)"
766 @hide-content-disposition-param-block@ id="hide_content_disposition_mode_block"><label
767 for="hide_content_disposition_mode_block">Remove content-disposition header without replacement.</label>
769 <input type="radio" name="hide_content_disposition_mode" value="CUSTOM"
770 onclick="hide_content_disposition_param_disable(false)"
771 @hide-content-disposition-param-custom@ id="hide_content_disposition_mode_set"><label
772 for="hide_content_disposition_mode_set">Overwrite content-dispostion header with:</label><br>
773 <input type="text" name="hide_content_disposition_param"
774 id="hide_content_disposition_param" size="40"
775 value="@hide-content-disposition-param@"><br>
778 <tr class="bg1" align="left" valign="top">
779 <td class="en1" align="center" valign="middle"><input type="radio"
780 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
781 onclick="show_hide_from_header_opts(true)"></td>
782 <td class="dis1" align="center" valign="middle"><input type="radio"
783 name="hide_from_header" value="N" @hide-from-header-n@
784 onclick="show_hide_from_header_opts(false)"></td>
785 <td class="noc1" align="center" valign="middle"><input type="radio"
786 name="hide_from_header" value="X" @hide-from-header-x@
787 onclick="show_hide_from_header_opts(false)"></td>
788 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
789 <td>Stop old web browsers from sending the user's e-mail address with
792 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
793 <td class="en1"> </td>
794 <td class="dis1"> </td>
795 <td class="noc1"> </td>
797 <td><input type="radio" name="hide_from_header_mode" value="block"
798 onclick="hide_from_header_param_disable(true);"
799 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
800 for="hide_from_header_mode_block">Remove completely</label><br>
801 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
802 onclick="hide_from_header_param_disable(false);"
803 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
804 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
805 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
806 size="40" value="@hide-from-header-param@"></td>
809 <tr class="bg1" align="left" valign="top">
810 <td class="en1" align="center" valign="middle"><input type="radio"
811 name="hide_if_modified_since" value="Y" @hide-if-modified-since-y@
813 <td class="dis1" align="center" valign="middle"><input type="radio"
814 name="hide_if_modified_since" value="N" @hide-if-modified-since-n@
816 <td class="noc1" align="center" valign="middle"><input type="radio"
817 name="hide_if_modified_since" value="X" @hide-if-modified-since-x@
819 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-IF-MODIFIED-SINCE">hide-if-modified-since</a></td>
820 <td>Remove or randomize the If-Modified-Since header.</td>
822 <tr class="bg1" align="left" valign="top" id="hide_if-modifed-since_opts">
823 <td class="en1"> </td>
824 <td class="dis1"> </td>
825 <td class="noc1"> </td>
827 <td><input type="radio" name="hide_if_modified_since_mode" value="block"
828 onclick="hide_if_modified_since_param_disable(true)"
829 @hide-if-modified-since-param-block@ id="hide_if_modified_since_mode_block"><label
830 for="hide_if_modified_since_mode_block">Remove without replacement.</label>
831 Useful for filter testing.<br>
832 <input type="radio" name="hide_if_modified_since_mode" value="CUSTOM"
833 onclick="hide_if_modified_since_param_disable(true)"
834 @hide-if-modified-since-param-custom@ id="hide_if_modified_since_mode_set"><label
835 for="hide_if_modified_since_mode_set">Add random amount of seconds in the range of</label>
836 <input type="text" name="hide_if_modified_since_param"
837 id="hide_if_modified_since_param" size="4"
838 value="@hide-if-modified-since-param@"> minute(s).
839 To appreciate this option a small amount of paranoia is required,
840 but at least in theory the If-Modified-Since header could be used
841 to keep track of your visits.
844 <!-- @if-multiple-forms-start -->
847 <input type="hidden" name="f" value="@f@">
848 <input type="hidden" name="v" value="@v@">
849 <input type="hidden" name="s" value="@s@">
850 <input type="submit" value="Submit changes in Section 3" name="Submit">
854 <tr><td class="wrapbox">
855 <form method="GET" action="edit-actions-submit" id="myform-4" name="myform">
856 <h2>Edit Actions (Section 4)</h2>
857 <table summary="Action section 4" border="0" cellspacing="2" width="100%" class="wide">
858 <tr class="hdr" align="left">
859 <th class="enh" align="center">Enable</th>
860 <th class="dish" align="center">Disable</th>
861 <th class="noch" align="center">No Change</th>
865 <!-- if-multiple-forms-end@ -->
866 <tr class="bg1" align="left" valign="top">
867 <td class="en1" align="center" valign="middle"><input type="radio"
868 name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
869 onclick="show_hide_referrer_opts(true)"></td>
870 <td class="dis1" align="center" valign="middle"><input type="radio"
871 name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
872 onclick="show_hide_referrer_opts(false)"></td>
873 <td class="noc1" align="center" valign="middle"><input type="radio"
874 name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
875 onclick="show_hide_referrer_opts(false)"
877 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
878 <td>Helps prevent tracking by not sending the URL of the previous web
881 <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
882 <td class="en1"> </td>
883 <td class="dis1"> </td>
884 <td class="noc1"> </td>
886 <td><input type="radio" name="hide_referrer_mode" value="block"
887 onclick="hide_referrer_param_disable(true)"
888 @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
889 for="hide_referrer_mode_block">Remove completely</label> (breaks images
890 on some free web hosts).<br>
891 <input type="radio" name="hide_referrer_mode" value="forge"
892 onclick="hide_referrer_param_disable(true)"
893 @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
894 for="hide_referrer_mode_forge">Fake as the root directory of the
895 site</label> (fools checks for in-site links.)<br>
896 <input type="radio" name="hide_referrer_mode" value="CUSTOM"
897 onclick="hide_referrer_param_disable(false)"
898 @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
899 for="hide_referrer_mode_set">Fake as this web address:</label><br>
900 <input type="text" name="hide_referrer_param"
901 id="hide_referrer_param" size="40"
902 value="@hide-referrer-param@"><br>
903 <input type="radio" name="hide_referrer_mode" value="conditional-block"
904 onclick="hide_referrer_param_disable(true)"
905 @hide-referrer-param-conditional-block@ id="hide_referrer_mode_conditional-block"><label
906 for="hide_referrer_mode_conditional-block">Remove completely if host has changed,
907 but don't touch in-site referrers.
908 Less suspicious than the options above.</label><br>
909 <input type="radio" name="hide_referrer_mode" value="conditional-forge"
910 onclick="hide_referrer_param_disable(true)"
911 @hide-referrer-param-conditional-forge@ id="hide_referrer_mode_conditional-forge"><label
912 for="hide_referrer_mode_conditional-forge">Forge referrer if host has
913 changed, but don't touch in-site referrers.</label><br>
916 <tr class="bg1" align="left" valign="top">
917 <td class="en1" align="center" valign="middle"><input type="radio"
918 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
919 onclick="show_user_agent_opts(true)"></td>
920 <td class="dis1" align="center" valign="middle"><input type="radio"
921 name="hide_user_agent" value="N" @hide-user-agent-n@
922 onclick="show_user_agent_opts(false)"></td>
923 <td class="noc1" align="center" valign="middle"><input type="radio"
924 name="hide_user_agent" value="X" @hide-user-agent-x@
925 onclick="show_user_agent_opts(false)"></td>
926 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
927 <td>Pretend to be using a different web browser. (May cause problems with broken web sites).</td>
929 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
930 <td class="en1"> </td>
931 <td class="dis1"> </td>
932 <td class="noc1"> </td>
934 <td>User Agent string to send:<br>
935 <input type="text" name="hide_user_agent_mode" size="40"
936 value="@hide-user-agent-param@"></td>
938 <tr class="bg1" align="left" valign="top">
939 <td class="en1" align="center" valign="middle"><input type="radio"
940 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
941 onclick="show_limit_connect_opts(true)"></td>
942 <td class="dis1" align="center" valign="middle"><input type="radio"
943 name="limit_connect" value="N" @limit-connect-n@
944 onclick="show_limit_connect_opts(false)"></td>
945 <td class="noc1" align="center" valign="middle"><input type="radio"
946 name="limit_connect" value="X" @limit-connect-x@
947 onclick="show_limit_connect_opts(false)"></td>
948 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
949 <td>Limit which ports are allowed in HTTP CONNECT requests. These requests are
950 used to tunnel SSL and other protocols through HTTP proxies.</td>
952 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
953 <td class="en1"> </td>
954 <td class="dis1"> </td>
955 <td class="noc1"> </td>
957 <td>Legal ports (comma separated, ranges allowed):<br>
958 <input type="text" name="limit_connect_mode" size="40"
959 value="@limit-connect-param@"></td>
961 <tr class="bg1" align="left" valign="top">
962 <td class="en1" align="center" valign="middle"><input type="radio"
963 name="limit_cookie_lifetime" id="limit_cookie_lifetime_y" value="Y" @limit-cookie-lifetime-y@
964 onclick="show_limit_cookie_lifetime_opts(true)"></td>
965 <td class="dis1" align="center" valign="middle"><input type="radio"
966 name="limit_cookie_lifetime" value="N" @limit-cookie-lifetime-n@
967 onclick="show_limit_cookie_lifetime_opts(false)"></td>
968 <td class="noc1" align="center" valign="middle"><input type="radio"
969 name="limit_cookie_lifetime" value="X" @limit-cookie-lifetime-x@
970 onclick="show_limit_cookie_lifetime_opts(false)"></td>
971 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-COOKIE-LIFETIME">limit-cookie-lifetime</a></td>
972 <td>Limit the cookie lifetime specified in Set-Cookie headers.</td>
974 <tr class="bg1" align="left" valign="top" id="limit_cookie_lifetime_opts">
975 <td class="en1"> </td>
976 <td class="dis1"> </td>
977 <td class="noc1"> </td>
979 <td>Lifetime limit in minutes (or 0 to behave like
980 <a href="@user-manual@@actions-help-prefix@LIMIT-COOKIE-LIFETIME">session-cookies-only</a>):<br>
981 <input type="text" name="limit_cookie_lifetime_mode" size="40"
982 value="@limit-cookie-lifetime-param@"></td>
984 <tr class="bg1" align="left" valign="top">
985 <td class="en1" align="center" valign="middle"><input type="radio"
986 name="overwrite_last_modified" value="Y" @overwrite-last-modified-y@
988 <td class="dis1" align="center" valign="middle"><input type="radio"
989 name="overwrite_last_modified" value="N" @overwrite-last-modified-n@
991 <td class="noc1" align="center" valign="middle"><input type="radio"
992 name="overwrite_last_modified" value="X" @overwrite-last-modified-x@
994 <td class="action"><a href="@user-manual@@actions-help-prefix@OVERWRITE-LAST-MODIFIED">overwrite-last-modified</a></td>
995 <td>Remove or randomize the Last-Modified header.</td>
997 <tr class="bg1" align="left" valign="top" id="overwrite_last_modified_opts">
998 <td class="en1"> </td>
999 <td class="dis1"> </td>
1000 <td class="noc1"> </td>
1002 <td><input type="radio" name="overwrite_last_modified_mode" value="block"
1003 onclick="overwrite_last_modified_param_disable(true)"
1004 @overwrite-last-modified-param-block@ id="overwrite_last_modified_mode_block"><label
1005 for="overwrite_last_modified_mode_block">Remove without replacement.</label>
1007 <input type="radio" name="overwrite_last_modified_mode" value="reset-to-request-time"
1008 onclick="overwrite_last_modified_param_disable(true)"
1009 @overwrite-last-modified-param-reset-to-request-time@
1010 id="overwrite_last_modified_mode_reset-to-request-time"><label
1011 for="overwrite_last_modified_mode_reset-to-request-time">Reset to the time of the request.</label>
1013 <input type="radio" name="overwrite_last_modified_mode" value="randomize"
1014 onclick="overwrite_last_modified_param_disable(true)"
1015 @overwrite-last-modified-param-randomize@
1016 id="overwrite_last_modified_mode_randomize"><label
1017 for="overwrite_last_modified_mode_randomize">Overwrite with random value
1018 between original header value and the time of the request.</label>
1022 <tr class="bg1" align="left" valign="top">
1023 <td class="en1" align="center" valign="middle"><input type="radio"
1024 name="prevent_compression" value="Y" @prevent-compression-y@
1026 <td class="dis1" align="center" valign="middle"><input type="radio"
1027 name="prevent_compression" value="N" @prevent-compression-n@
1029 <td class="noc1" align="center" valign="middle"><input type="radio"
1030 name="prevent_compression" value="X" @prevent-compression-x@
1032 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
1033 <td>Disables compression. Compressed web pages are faster to
1034 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
1035 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>
1036 if your Privoxy version was build without zlib support.</td>
1038 <tr class="bg1" align="left" valign="top">
1039 <td class="en1" align="center" valign="middle"><input type="radio"
1040 name="redirect" value="Y" @redirect-y@
1042 <td class="dis1" align="center" valign="middle"><input type="radio"
1043 name="redirect" value="N" @redirect-n@
1045 <td class="noc1" align="center" valign="middle"><input type="radio"
1046 name="redirect" value="X" @redirect-x@
1048 <td class="action"><a href="@user-manual@@actions-help-prefix@REDIRECT">redirect</a></td>
1049 <td>Redirect to another address.
1051 <tr class="bg1" align="left" valign="top" id="redirect_opts">
1052 <td class="en1"> </td>
1053 <td class="dis1"> </td>
1054 <td class="noc1"> </td>
1056 <td>Static address or a single pcrs command to redirect to a rewritten version of the original URL:<br>
1057 <input type="text" name="redirect_mode" size="40"
1058 value="@redirect-param@"></td>
1061 <tr class="bg1" align="left" valign="top">
1062 <td class="en1"> </td>
1063 <td class="dis1" align="center" valign="middle"><input type="radio"
1064 name="server_header_filter_all" id="server_header_filter_all_n" value="N" @server-header-filter-all-n@ ></td>
1065 <td class="noc1" align="center" valign="middle"><input type="radio"
1066 name="server_header_filter_all" id="server_header_filter_all_x" value="X" @server-header-filter-all-x@ ></td>
1067 <td class="action"><a href="@user-manual@@actions-help-prefix@SERVER-HEADER-FILTER">server-header-filter</a> *</td>
1068 <td>Filter the server headers.
1069 You can use the radio buttons on this line to disable
1070 all server-header filters applied by previous rules, and/or
1071 you can enable or disable the filters individually below.</td>
1073 @server-header-filter-params@
1074 <tr class="bg1" align="left" valign="top">
1075 <td class="en1"> </td>
1076 <td class="dis1" align="center" valign="middle"><input type="radio"
1077 name="server_header_tagger_all" id="server_header_tagger_all_n" value="N" @server-header-tagger-all-n@ ></td>
1078 <td class="noc1" align="center" valign="middle"><input type="radio"
1079 name="server_header_tagger_all" id="server_header_tagger_all_x" value="X" @server-header-tagger-all-x@ ></td>
1080 <td class="action"><a href="@user-manual@@actions-help-prefix@SERVER-HEADER-TAGGER">server-header-tagger</a> *</td>
1081 <td>Create tags based on the server headers.
1082 You can use the radio buttons on this line to disable
1083 all server-header taggers applied by previous rules, and/or
1084 you can enable or disable the taggers individually below.</td>
1086 @server-header-tagger-params@
1087 <tr class="bg1" align="left" valign="top">
1088 <td class="en1" align="center" valign="middle"><input type="radio"
1089 name="session_cookies_only" value="Y" @session-cookies-only-y@
1091 <td class="dis1" align="center" valign="middle"><input type="radio"
1092 name="session_cookies_only" value="N" @session-cookies-only-n@
1094 <td class="noc1" align="center" valign="middle"><input type="radio"
1095 name="session_cookies_only" value="X" @session-cookies-only-x@
1097 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
1098 <td>HTTP cookies set by the website are changed to temporary
1099 ("per-session") ones, which only last until you close your web
1100 browser. This will allow you to use sites that require cookies, but
1101 sites will not be able to track you across sessions. For this to
1102 be useful, you should disable
1103 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
1104 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
1106 <tr class="bg1" align="left" valign="top">
1107 <td class="en1" align="center" valign="middle"><input type="radio"
1108 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
1109 onclick="show_set_image_blocker_opts(true)"></td>
1110 <td class="dis1" align="center" valign="middle"><input type="radio"
1111 name="set_image_blocker" value="N" @set-image-blocker-n@
1112 onclick="show_set_image_blocker_opts(false)"></td>
1113 <td class="noc1" align="center" valign="middle"><input type="radio"
1114 name="set_image_blocker" value="X" @set-image-blocker-x@
1115 onclick="show_set_image_blocker_opts(false)"></td>
1116 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
1117 <td>Specifies how to block images.</td>
1119 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
1120 <td class="en1"> </td>
1121 <td class="dis1"> </td>
1122 <td class="noc1"> </td>
1124 <td><input type="radio" name="set_image_blocker_mode"
1125 onclick="set_image_blocker_param_disable(true)"
1126 value="pattern" id="set_image_blocker_mode_pattern"
1127 @set-image-blocker-param-pattern@><label
1128 for="set_image_blocker_mode_pattern">Send a pattern (<img
1129 src="send-banner?type=p" width="12" height="12"
1130 alt="pattern">)</label><br>
1131 <input type="radio" name="set_image_blocker_mode" value="blank"
1132 onclick="set_image_blocker_param_disable(true)"
1133 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
1134 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
1135 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
1136 onclick="set_image_blocker_param_disable(false)"
1137 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
1138 for="set_image_blocker_mode_set">Redirect
1139 the browser to this image URL:</label><br>
1140 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
1141 size="40" value="@set-image-blocker-param@"></td>
1145 <!-- @if-multiple-forms-start -->
1147 <input type="hidden" name="f" value="@f@">
1148 <input type="hidden" name="v" value="@v@">
1149 <input type="hidden" name="s" value="@s@">
1150 <input type="submit" value="Submit changes in Section 4" name="Submit">
1153 <!-- if-multiple-forms-end@ -->
1155 <!-- @if-one-form-only-start -->
1157 <td class="green" align="center">
1158 <p><input type="submit" value="Submit" name="Submit"></p>
1161 <!-- if-one-form-only-end@ -->
1164 <h2>More Privoxy:</h2>
1165 <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
1172 #include mod-support-and-service
1177 <!-- @if-have-help-info-start -->
1181 #include mod-local-help
1185 <!-- if-have-help-info-end@ -->
1188 <!-- @if-one-form-only-start -->
1190 <!-- if-one-form-only-end@ -->
1192 <script type="text/javascript">
1195 if (document.getElementById) {
1196 // alert("Netscape 6 or IE5");
1197 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
1198 document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
1199 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
1201 show_add_header_opts (document.getElementById("add_header_y").checked);
1202 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
1203 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
1204 show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
1205 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
1206 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
1207 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
1208 show_send_wafer_opts (document.getElementById("send_wafer_y").checked);
1209 } else if (document.all) {
1211 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
1212 document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
1213 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
1215 show_add_header_opts (document.myform.add_header_y.checked);
1216 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
1217 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
1218 show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
1219 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
1220 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
1221 show_limit_connect_opts (document.myform.limit_connect_y.checked);
1222 show_send_wafer_opts (document.myform.send_wafer_y.checked);
1223 } else if (document.layers) {
1224 // alert("Netscape 4");