1 ##############################################################################
3 # File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $
5 # Purpose : Template used to edit the actions associated with a
6 # particular section in an actions file.
9 # Copyright : Written by and Copyright (C) 2001 the SourceForge
10 # Privoxy team. http://www.privoxy.org/
12 # Original Author: Copyright (C) 2001 Jonathan Foster
13 # http://www.jon-foster.co.uk/
15 # This program is free software; you can redistribute it
16 # and/or modify it under the terms of the GNU General
17 # Public License as published by the Free Software
18 # Foundation; either version 2 of the License, or (at
19 # your option) any later version.
21 # This program is distributed in the hope that it will
22 # be useful, but WITHOUT ANY WARRANTY; without even the
23 # implied warranty of MERCHANTABILITY or FITNESS FOR A
24 # PARTICULAR PURPOSE. See the GNU General Public
25 # License for more details.
27 # The GNU General Public License should be included with
28 # this file. If not, you can view it at
29 # http://www.gnu.org/copyleft/gpl.html
30 # or write to the Free Software Foundation, Inc., 59
31 # Temple Place - Suite 330, Boston, MA 02111-1307, USA.
34 # $Log: edit-actions-for-url,v $
35 # Revision 1.25 2002/04/26 21:37:50 jongfoster
36 # Fixing all(?) the substitutions that were broken in the
37 # recent actions rename.
39 # Revision 1.24 2002/04/26 18:24:28 jongfoster
40 # Fixing typos in help hyperlinks
42 # Revision 1.23 2002/04/26 12:57:02 oes
43 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
45 # Revision 1.22 2002/04/10 13:32:53 oes
46 # Made templates modular
48 # Revision 1.21 2002/04/08 17:05:18 oes
49 # Inline a style exception
51 # Revision 1.20 2002/04/05 16:01:30 oes
52 # Correct HTML, external Stylesheets, eye candy, some fixes
54 # Revision 1.19 2002/03/26 22:29:56 swa
55 # we have a new homepage!
57 # Revision 1.18 2002/03/24 16:32:08 jongfoster
58 # Removing logo option
60 # Revision 1.17 2002/03/24 15:23:33 jongfoster
63 # Revision 1.16 2002/03/24 11:01:06 swa
66 # Revision 1.15 2002/03/23 16:18:15 swa
67 # renamed every reference to the old name with foobar.
68 # fixed "application foobar application" tag, fixed
69 # "the foobar" with "foobar". left junkbuster in cvs
70 # comments and remarks to history untouched. should
71 # make final rename easier.
73 # Revision 1.14 2002/03/16 15:22:19 jongfoster
74 # Moving 'alpha' warning to the end of the page
76 # Revision 1.13 2002/03/16 14:28:38 jongfoster
77 # First version of modular filters support
79 # Revision 1.12 2002/03/12 01:42:50 oes
80 # Introduced modular filters
82 # Revision 1.11 2002/03/08 18:19:14 jongfoster
83 # Adding +image-blocker{pattern} option to edit interface
85 # Revision 1.10 2002/03/03 10:29:12 swa
86 # point users to the right feedback forms,
87 # not necessarily the developer list.
89 # Revision 1.9 2002/01/23 00:26:45 jongfoster
90 # Reducing length of URLs
91 # Where encoded and unencoded versions of a string existed, removing
94 # Revision 1.8 2002/01/17 21:33:00 jongfoster
95 # Replacing all references to the URL of the config interface
98 # Revision 1.7 2002/01/17 21:21:03 jongfoster
99 # DOS->Unix line endings
101 # Revision 1.6 2001/11/22 21:58:41 jongfoster
102 # Adding action +no-cookies-keep
104 # Revision 1.5 2001/11/13 21:12:17 jongfoster
105 # Added support for the following actions:
106 # +downgrade, +limit-connect, +no-compression
108 # Revision 1.4 2001/11/13 00:58:18 jongfoster
109 # New version of actions file editor templates
112 ##############################################################################
114 # Browser support for the JavaScript on this page:
115 # MS Internet Explorer 5.5 - Tested, Yes
116 # Netscape 6.0 - Tested, Yes
117 # Netscape 4.75 - Tested, NO
118 # Opera 5.12 - Tested, NO
119 # MS Internet Explorer 4+ - Untested, Yes
120 # MS IE 3.x, NS3.x - Untested, NO
121 # Mozilla >=0.6 - Untested, Yes
123 # All browsers should work, you just might not get the pretty DHTML effects.
125 # The effects that only work under the browsers marked "Yes" above are:
126 # - Text edit boxes that won't have any effect are disabled.
127 # - Table rows containing additional settings are hidden if the feature in
128 # question is disabled.
130 # There are major kludges to get around these problems with NS4, but they
131 # screw up the HTML too much for other browsers. If anyone wants to try,
132 # here's some descriptions of the kludges:
133 # http://www.webreference.com/js/tips/991114.html
134 # http://www.webreference.com/dhtml/column12/outDisplay.html
136 # If you're favorite browser isn't listed, please test and add it.
139 #############################################################################
143 # This file currently produces valid HTML 4.01 Strict.
145 # If you change it, please save the generated page from your web browser
146 # and then upload it to http://validator.w3.org/ for checking.
148 #############################################################################
150 # Available variables include:
156 # deanimate-gifs-param-first
157 # deanimate-gifs-param-last
158 # hide-from-param-block
159 # hide-from-param-custom
161 # hide-referer-param-forge
162 # hide-referer-param-block
163 # hide-referer-param-custom
165 # hide-user-agent-param
166 # image-blocker-param-pattern
167 # image-blocker-param-blank
168 # image-blocker-param-custom
171 #############################################################################
172 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
176 <meta http-equiv="Content-Style-Type" content="text/css">
177 <meta http-equiv="Content-Script-Type" content="text/javascript">
178 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
179 <meta name="robots" content="noindex,nofollow">
180 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
182 <title>Privoxy@@my-hostname@: Edit actions</title>
184 <style type="text/css">
185 td.action { font-weight: bold;
187 white-space: nowrap }
188 td.subaction { font-style: italic }
189 th { font-weight: bold; }
190 # This is the key to the color names below:
191 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
192 # 1=odd rows, 2=even rows, h=Table header
193 tr.hdr { background-color: #999999 }
194 tr.bg1 { background-color: #eeeeee }
195 td.en1 { background-color: #eeffee }
196 td.dis1 { background-color: #ffeeee }
197 td.noc1 { background-color: #eeeeff }
198 tr.bg2 { background-color: #dddddd }
199 td.en2 { background-color: #ddffdd }
200 td.dis2 { background-color: #ffdddd }
201 td.noc2 { background-color: #ddddff }
202 th.enh { background-color: #99ff99 }
203 th.dish { background-color: #ff9999 }
204 th.noch { background-color: #9999ff }
205 table.wide { padding: 5px; }
206 td.green { border: solid black 1px; background-color: #ddffdd; }
212 border-left-width: 10px;
213 border-right-width: 10px;
214 border-top-width: 0px;
215 border-bottom-width: 0px }
218 <script type="text/javascript">
221 function hide_from_header_param_disable(tf)
223 if (document.getElementById) {
225 document.getElementById("hide_from_header_param").disabled = tf;
226 } else if (document.all) {
228 document.myform.hide_from_header_param.disabled = tf;
232 function hide_referer_param_disable(tf)
234 if (document.getElementById) {
235 document.getElementById("hide_referer_param").disabled = tf;
236 } else if (document.all) {
237 document.myform.hide_referer_param.disabled = tf;
241 function set_image_blocker_param_disable(tf)
243 if (document.getElementById) {
244 document.getElementById("set_image_blocker_param").disabled = tf;
245 } else if (document.all) {
246 document.myform.set_image_blocker_param.disabled = tf;
250 function show_add_header_opts(tf)
252 if (document.getElementById) {
253 target = document.getElementById("add_header_opts");
254 } else if (document.all) {
255 target = document.add_header_opts;
259 target.style.display = (tf ? "" : "none");
262 function show_deanimate_opts(tf)
264 if (document.getElementById) {
265 target = document.getElementById("deanimate_opts");
266 } else if (document.all) {
267 target = document.deanimate_opts;
271 target.style.display = (tf ? "" : "none");
274 function show_hide_from_header_opts(tf)
276 if (document.getElementById) {
277 target = document.getElementById("hide_from_header_opts");
278 } else if (document.all) {
279 target = document.hide_from_header_opts;
283 target.style.display = (tf ? "" : "none");
286 function show_hide_referer_opts(tf)
288 if (document.getElementById) {
289 target = document.getElementById("hide_referer_opts");
290 } else if (document.all) {
291 target = document.hide_referer_opts;
295 target.style.display = (tf ? "" : "none");
298 function show_user_agent_opts(tf)
300 if (document.getElementById) {
301 target = document.getElementById("user_agent_opts");
302 } else if (document.all) {
303 target = document.user_agent_opts;
307 target.style.display = (tf ? "" : "none");
310 function show_set_image_blocker_opts(tf)
312 if (document.getElementById) {
313 target = document.getElementById("set_image_blocker_opts");
314 } else if (document.all) {
315 target = document.set_image_blocker_opts;
319 target.style.display = (tf ? "" : "none");
322 function show_limit_connect_opts(tf)
324 if (document.getElementById) {
325 target = document.getElementById("limit_connect_opts");
326 } else if (document.all) {
327 target = document.limit_connect_opts;
331 target.style.display = (tf ? "" : "none");
334 function show_send_wafer_opts(tf)
336 if (document.getElementById) {
337 target = document.getElementById("send_wafer_opts");
338 } else if (document.all) {
339 target = document.send_wafer_opts;
343 target.style.display = (tf ? "" : "none");
352 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
354 <table cellpadding="20" cellspacing="10" border="0" width="100%">
363 <!-- @if-unstable-start -->
364 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
368 #include mod-unstable-warning
372 <!-- if-unstable-end@ -->
377 <input type="hidden" name="f" value="@f@">
378 <input type="hidden" name="v" value="@v@">
379 <input type="hidden" name="s" value="@s@">
384 <tr><td class="wrapbox">
386 <table border="0" cellspacing="2" width="100%" class="wide">
387 <tr class="hdr" align="left">
388 <th class="enh" align="center">Enable</th>
389 <th class="dish" align="center">Disable</th>
390 <th class="noch" align="center">No Change</th>
394 <tr class="bg1" align="left" valign="top">
395 <td class="en1" align="center" valign="middle"><input type="radio"
396 name="add_header" id="add_header_y" value="Y" @add-header-y@
397 onclick="show_add_header_opts(true)"></td>
398 <td class="dis1" align="center" valign="middle"><input type="radio"
399 name="add_header" value="N" @add-header-n@
400 onclick="show_add_header_opts(false)"></td>
401 <td class="noc1" align="center" valign="middle"><input type="radio"
402 name="add_header" value="X" @add-header-x@
403 onclick="show_add_header_opts(false)"></td>
404 <td class="action"><a href="@user-manual@@helplink@ADD-HEADER">add-header</a></td>
405 <td>Adds HTTP headers.</td>
407 <tr class="bg1" align="left" valign="top" id="add_header_opts">
408 <td class="en1"> </td>
409 <td class="dis1"> </td>
410 <td class="noc1"> </td>
412 <td>Editing the settings for this option, or turning
413 it on if it was off, is not yet supported using this web-based
416 <tr class="bg2" align="left" valign="top">
417 <td class="en2" align="center" valign="middle"><input type="radio"
418 name="block" value="Y" @block-y@
420 <td class="dis2" align="center" valign="middle"><input type="radio"
421 name="block" value="N" @block-n@
423 <td class="noc2" align="center" valign="middle"><input type="radio"
424 name="block" value="X" @block-x@
426 <td class="action"><a href="@user-manual@@helplink@BLOCK">block</a></td>
427 <td>Block the request</td>
429 <tr class="bg1" align="left" valign="top">
430 <td class="en1" align="center" valign="middle"><input type="radio"
431 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
432 onclick="show_deanimate_opts(true)"></td>
433 <td class="dis1" align="center" valign="middle"><input type="radio"
434 name="deanimate_gifs" value="N" @deanimate-gifs-n@
435 onclick="show_deanimate_opts(false)"></td>
436 <td class="noc1" align="center" valign="middle"><input type="radio"
437 name="deanimate_gifs" value="X" @deanimate-gifs-x@
438 onclick="show_deanimate_opts(false)"></td>
439 <td class="action"><a href="@user-manual@@helplink@DEANIMATE-GIFS">deanimate-gifs</a></td>
440 <td>Replace animated GIFs with their (first/last) frame.</td>
442 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
443 <td class="en1"> </td>
444 <td class="dis1"> </td>
445 <td class="noc1"> </td>
447 <td>Use the <input type="radio" name="deanimate_gifs_mode"
448 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
449 for="deanimate_first">first frame</label> <input
450 type="radio" name="deanimate_gifs_mode" value="last"
451 id="deanimate_last" @deanimate-gifs-param-last@><label
452 for="deanimate_last">last frame</label></td>
454 <tr class="bg1" align="left" valign="top">
455 <td class="en1" align="center" valign="middle"><input type="radio"
456 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
457 <td class="dis1" align="center" valign="middle"><input type="radio"
458 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
459 <td class="noc1" align="center" valign="middle"><input type="radio"
460 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
461 <td class="action"><a href="@user-manual@@helplink@DOWNGRADE-HTTP-VERSION">downgrade-http-version</td>
462 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
463 what you're doing!</td>
465 <tr class="bg2" align="left" valign="top">
466 <td class="en2" align="center" valign="middle"><input type="radio"
467 name="fast_redirects" value="Y" @fast-redirects-y@
469 <td class="dis2" align="center" valign="middle"><input type="radio"
470 name="fast_redirects" value="N" @fast-redirects-n@
472 <td class="noc2" align="center" valign="middle"><input type="radio"
473 name="fast_redirects" value="X" @fast-redirects-x@
475 <td class="action"><a href="@user-manual@@helplink@FAST-REDIRECTS">fast-redirects</a></td>
476 <td>Bypass some click-tracking URLs.</td>
479 <tr class="bg2" align="left" valign="top">
480 <td class="en2"> </td>
481 <td class="dis2" align="center" valign="middle"><input type="radio"
482 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
483 <td class="noc2" align="center" valign="middle"><input type="radio"
484 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
485 <td class="action"><a href="@user-manual@@helplink@FILTER">filter</a> *</td>
486 <td>Filter the website through regular expression
487 filters. You can use the radio buttons on this line to disable
488 all filters applied by previous rules, and/or you can enable or
489 disable the filters individually below.</td>
492 <tr class="bg1" align="left" valign="top">
493 <td class="en1" align="center" valign="middle"><input type="radio"
494 name="handle_as_image" value="Y" @handle-as-image-y@
496 <td class="dis1" align="center" valign="middle"><input type="radio"
497 name="handle_as_image" value="N" @handle-as-image-n@
499 <td class="noc1" align="center" valign="middle"><input type="radio"
500 name="handle_as_image" value="X" @handle-as-image-x@
502 <td class="action"><a href="@user-manual@@helplink@HANDLE-AS-IMAGE">handle-as-image</a></td>
503 <td>Request is for an image (only useful in conjunction with the <i><b><a href="@user-manual@@helplink@BLOCK">block</a></b></i>
504 and <i><b><a href="@user-manual@@helplink@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
506 <tr class="bg1" align="left" valign="top">
507 <td class="en1" align="center" valign="middle"><input type="radio"
508 name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
510 <td class="dis1" align="center" valign="middle"><input type="radio"
511 name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
513 <td class="noc1" align="center" valign="middle"><input type="radio"
514 name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
516 <td class="action"><a href="@user-manual@@helplink@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
517 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
519 <tr class="bg2" align="left" valign="top">
520 <td class="en2" align="center" valign="middle"><input type="radio"
521 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
522 onclick="show_hide_from_header_opts(true)"></td>
523 <td class="dis2" align="center" valign="middle"><input type="radio"
524 name="hide_from_header" value="N" @hide-from-header-n@
525 onclick="show_hide_from_header_opts(false)"></td>
526 <td class="noc2" align="center" valign="middle"><input type="radio"
527 name="hide_from_header" value="X" @hide-from-header-x@
528 onclick="show_hide_from_header_opts(false)"></td>
529 <td class="action"><a href="@user-manual@@helplink@HIDE-FROM-HEADER">hide-from-header</a></td>
530 <td>Stop old web browsers from sending the user's e-mail address with
533 <tr class="bg2" align="left" valign="top" id="hide_from_header_opts">
534 <td class="en2"> </td>
535 <td class="dis2"> </td>
536 <td class="noc2"> </td>
538 <td><input type="radio" name="hide_from_header_mode" value="block"
539 onclick="hide_from_header_param_disable(true);"
540 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
541 for="hide_from_header_mode_block">Remove completely</label><br>
542 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
543 onclick="hide_from_header_param_disable(false);"
544 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
545 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
546 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
547 size="40" value="@hide-from-header-param@"></td>
549 <tr class="bg1" align="left" valign="top">
550 <td class="en1" align="center" valign="middle"><input type="radio"
551 name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
552 onclick="show_hide_referer_opts(true)"></td>
553 <td class="dis1" align="center" valign="middle"><input type="radio"
554 name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
555 onclick="show_hide_referer_opts(false)"></td>
556 <td class="noc1" align="center" valign="middle"><input type="radio"
557 name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
558 onclick="show_hide_referer_opts(false)"
560 <td class="action"><a href="@user-manual@@helplink@HIDE-REFERRER">hide-referrer</a></td>
561 <td>Helps prevent tracking by not sending the URL of the previous web
564 <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
565 <td class="en1"> </td>
566 <td class="dis1"> </td>
567 <td class="noc1"> </td>
569 <td><input type="radio" name="hide_referer_mode" value="block"
570 onclick="hide_referer_param_disable(true)"
571 @hide-referer-param-block@ id="hide_referer_mode_block"><label
572 for="hide_referer_mode_block">Remove completely</label> (breaks images
573 on some free web hosts).<br>
574 <input type="radio" name="hide_referer_mode" value="forge"
575 onclick="hide_referer_param_disable(true)"
576 @hide-referer-param-forge@ id="hide_referer_mode_forge"><label
577 for="hide_referer_mode_forge">Fake as the root directory of the
578 site</label> (fools checks for in-site links.)<br>
579 <input type="radio" name="hide_referer_mode" value="CUSTOM"
580 onclick="hide_referer_param_disable(false)"
581 @hide-referer-param-custom@ id="hide_referer_mode_set"><label
582 for="hide_referer_mode_set">Fake as this web address:</label><br>
583 <input type="text" name="hide_referer_param"
584 id="hide_referer_param" size="40"
585 value="@hide-referer-param@"></td>
587 <tr class="bg2" align="left" valign="top">
588 <td class="en2" align="center" valign="middle"><input type="radio"
589 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
590 onclick="show_user_agent_opts(true)"></td>
591 <td class="dis2" align="center" valign="middle"><input type="radio"
592 name="hide_user_agent" value="N" @hide-user-agent-n@
593 onclick="show_user_agent_opts(false)"></td>
594 <td class="noc2" align="center" valign="middle"><input type="radio"
595 name="hide_user_agent" value="X" @hide-user-agent-x@
596 onclick="show_user_agent_opts(false)"></td>
597 <td class="action"><a href="@user-manual@@helplink@HIDE-USER-AGENT">hide-user-agent</a></td>
598 <td>Pretend to be using a different web browser. (Breaks many web
601 <tr class="bg2" align="left" valign="top" id="user_agent_opts">
602 <td class="en2"> </td>
603 <td class="dis2"> </td>
604 <td class="noc2"> </td>
606 <td>User Agent string to send:<br>
607 <input type="text" name="hide_user_agent_mode" size="40"
608 value="@hide-user-agent-param@"></td>
610 <tr class="bg2" align="left" valign="top">
611 <td class="en2" align="center" valign="middle"><input type="radio"
612 name="kill_popups" value="Y" @kill-popups-y@
614 <td class="dis2" align="center" valign="middle"><input type="radio"
615 name="kill_popups" value="N" @kill-popups-n@
617 <td class="noc2" align="center" valign="middle"><input type="radio"
618 name="kill_popups" value="X" @kill-popups-x@
620 <td class="action"><a href="@user-manual@@helplink@KILL-POPUPS">kill-popups</td>
621 <td>Filter the website through a built-in filter to disable many JavaScript
624 <tr class="bg1" align="left" valign="top">
625 <td class="en1" align="center" valign="middle"><input type="radio"
626 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
627 onclick="show_limit_connect_opts(true)"></td>
628 <td class="dis1" align="center" valign="middle"><input type="radio"
629 name="limit_connect" value="N" @limit-connect-n@
630 onclick="show_limit_connect_opts(false)"></td>
631 <td class="noc1" align="center" valign="middle"><input type="radio"
632 name="limit_connect" value="X" @limit-connect-x@
633 onclick="show_limit_connect_opts(false)"></td>
634 <td class="action"><a href="@user-manual@@helplink@LIMIT-CONNECT">limit-connect</a></td>
635 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
636 Note that this allows arbitrary tunnelling, so opening all
637 ports would be a security hole.</td>
639 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
640 <td class="en1"> </td>
641 <td class="dis1"> </td>
642 <td class="noc1"> </td>
644 <td>Legal SSL ports (comma separated, ranges allowed):<br>
645 <input type="text" name="limit_connect_mode" size="40"
646 value="@limit-connect-param@"></td>
648 <tr class="bg2" align="left" valign="top">
649 <td class="en2" align="center" valign="middle"><input type="radio"
650 name="prevent_compression" value="Y" @prevent-compression-y@
652 <td class="dis2" align="center" valign="middle"><input type="radio"
653 name="prevent_compression" value="N" @prevent-compression-n@
655 <td class="noc2" align="center" valign="middle"><input type="radio"
656 name="prevent_compression" value="X" @prevent-compression-x@
658 <td class="action"><a href="@user-manual@@helplink@PREVENT-COMPRESSION">prevent-compression</a></td>
659 <td>Disables compression. Compressed web pages are faster to
660 download, but cannot be filtered with <a href="@user-manual@@helplink@FILTER"><b>filter</b></a>
661 or <a href="@user-manual@@helplink@KILL-POPUPS"><b>kill-popups</b></a>.
662 This setting only affects the few web sites which support
665 <tr class="bg2" align="left" valign="top">
666 <td class="en2" align="center" valign="middle"><input type="radio"
667 name="prevent_reading_cookies" value="Y" @prevent-reading-cookies-y@
669 <td class="dis2" align="center" valign="middle"><input type="radio"
670 name="prevent_reading_cookies" value="N" @prevent-reading-cookies-n@
672 <td class="noc2" align="center" valign="middle"><input type="radio"
673 name="prevent_reading_cookies" value="X" @prevent-reading-cookies-x@
675 <td class="action"><a href="@user-manual@@helplink@PREVENT-READING-COOKIES">prevent-reading-cookies</a></td>
676 <td>Prevent the website from reading cookies.</td>
678 <tr class="bg1" align="left" valign="top">
679 <td class="en1" align="center" valign="middle"><input type="radio"
680 name="prevent_setting_cookies" value="Y" @prevent-setting-cookies-y@
682 <td class="dis1" align="center" valign="middle"><input type="radio"
683 name="prevent_setting_cookies" value="N" @prevent-setting-cookies-n@
685 <td class="noc1" align="center" valign="middle"><input type="radio"
686 name="prevent_setting_cookies" value="X" @prevent-setting-cookies-x@
688 <td class="action"><a href="@user-manual@@helplink@PREVENT-SETTING-COOKIES">prevent-setting-cookies</a></td>
689 <td>Prevent the website from setting cookies.</td>
691 <tr class="bg1" align="left" valign="top">
692 <td class="en1" align="center" valign="middle"><input type="radio"
693 name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
695 <td class="dis1" align="center" valign="middle"><input type="radio"
696 name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
698 <td class="noc1" align="center" valign="middle"><input type="radio"
699 name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
701 <td class="action"><a href="@user-manual@@helplink@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
702 <td>Adds a special wafer (standard cookie) to all your requests.</td>
704 <tr class="bg2" align="left" valign="top">
705 <td class="en2" align="center" valign="middle"><input type="radio"
706 name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
707 onclick="show_send_wafer_opts(true)"></td>
708 <td class="dis2" align="center" valign="middle"><input type="radio"
709 name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
710 onclick="show_send_wafer_opts(false)"></td>
711 <td class="noc2" align="center" valign="middle"><input type="radio"
712 name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
713 onclick="show_send_wafer_opts(false)"></td>
714 <td class="action"><a href="@user-manual@@helplink@SEND-WAFER">send-wafer</a></td>
715 <td>Adds user-specified cookies.</td>
717 <tr class="bg2" align="left" valign="top" id="send_wafer_opts">
718 <td class="en2"> </td>
719 <td class="dis2"> </td>
720 <td class="noc2"> </td>
722 <td>Editing the settings for this option, or turning
723 it on if it was off, is not yet supported using this web-based
726 <tr class="bg1" align="left" valign="top">
727 <td class="en1" align="center" valign="middle"><input type="radio"
728 name="session_cookies_only" value="Y" @session-cookies-only-y@
730 <td class="dis1" align="center" valign="middle"><input type="radio"
731 name="session_cookies_only" value="N" @session-cookies-only-n@
733 <td class="noc1" align="center" valign="middle"><input type="radio"
734 name="session_cookies_only" value="X" @session-cookies-only-x@
736 <td class="action"><a href="@user-manual@@helplink@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
737 <td>Any cookies set by the website are changed to temporary
738 ("per-session") ones, which only last until you close your web
739 browser. This will allow you to use sites that require cookies, but
740 sites will not be able to track you across sessions. For this to
741 be useful, you should disable
742 <a href="@user-manual@@helplink@PREVENT-READING-COOKIES"><b>prevent-reading-cookies</b></a> and
743 <a href="@user-manual@@helplink@PREVENT-SETTING-COOKIES"><b>prevent-setting-cookies</b></a>.</td>
745 <tr class="bg2" align="left" valign="top">
746 <td class="en2" align="center" valign="middle"><input type="radio"
747 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
748 onclick="show_set_image_blocker_opts(true)"></td>
749 <td class="dis2" align="center" valign="middle"><input type="radio"
750 name="set_image_blocker" value="N" @set-image-blocker-n@
751 onclick="show_set_image_blocker_opts(false)"></td>
752 <td class="noc2" align="center" valign="middle"><input type="radio"
753 name="set_image_blocker" value="X" @set-image-blocker-x@
754 onclick="show_set_image_blocker_opts(false)"></td>
755 <td class="action"><a href="@user-manual@@helplink@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
756 <td>Specifies how to block images.</td>
758 <tr class="bg2" align="left" valign="top" id="set_image_blocker_opts">
759 <td class="en2"> </td>
760 <td class="dis2"> </td>
761 <td class="noc2"> </td>
763 <td><input type="radio" name="set_image_blocker_mode"
764 onclick="set_image_blocker_param_disable(true)"
765 value="pattern" id="set_image_blocker_mode_pattern"
766 @set-image-blocker-param-pattern@><label
767 for="set_image_blocker_mode_pattern">Send a pattern (<img
768 src="send-banner?type=p" width="12" height="12"
769 alt="pattern">)</label><br>
770 <input type="radio" name="set_image_blocker_mode" value="blank"
771 onclick="set_image_blocker_param_disable(true)"
772 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
773 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
774 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
775 onclick="set_image_blocker_param_disable(false)"
776 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
777 for="set_image_blocker_mode_set">Redirect
778 the browser to this image URL:</label><br>
779 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
780 size="40" value="@set-image-blocker-param@"></td>
787 <td class="green" align="center">
788 <p><input type="submit" value="Submit" name="Submit"></p>
794 <h2>More Privoxy:</h2>
802 #include mod-support-and-service
807 <!-- @if-have-help-info-start -->
811 #include mod-local-help
815 <!-- if-have-help-info-end@ -->
819 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
827 <script type="text/javascript">
830 if (document.getElementById) {
831 // alert("Netscape 6 or IE5");
832 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
833 document.getElementById("hide_referer_param").disabled = !(document.getElementById("hide_referer_mode_set").checked);
834 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
836 show_add_header_opts (document.getElementById("add_header_y").checked);
837 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
838 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
839 show_hide_referer_opts (document.getElementById("hide_referer_y").checked);
840 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
841 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
842 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
843 show_wafer_opts (document.getElementById("wafer_y").checked);
844 } else if (document.all) {
846 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
847 document.myform.hide_referer_param.disabled = !(document.myform.hide_referer_mode_set.checked);
848 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
850 show_add_header_opts (document.myform.add_header_y.checked);
851 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
852 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
853 show_hide_referer_opts (document.myform.hide_referer_y.checked);
854 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
855 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
856 show_limit_connect_opts (document.myform.limit_connect_y.checked);
857 show_wafer_opts (document.myform.wafer_y.checked);
858 } else if (document.layers) {
859 // alert("Netscape 4");