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.24 2002/04/26 18:24:28 jongfoster
36 # Fixing typos in help hyperlinks
38 # Revision 1.23 2002/04/26 12:57:02 oes
39 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
41 # Revision 1.22 2002/04/10 13:32:53 oes
42 # Made templates modular
44 # Revision 1.21 2002/04/08 17:05:18 oes
45 # Inline a style exception
47 # Revision 1.20 2002/04/05 16:01:30 oes
48 # Correct HTML, external Stylesheets, eye candy, some fixes
50 # Revision 1.19 2002/03/26 22:29:56 swa
51 # we have a new homepage!
53 # Revision 1.18 2002/03/24 16:32:08 jongfoster
54 # Removing logo option
56 # Revision 1.17 2002/03/24 15:23:33 jongfoster
59 # Revision 1.16 2002/03/24 11:01:06 swa
62 # Revision 1.15 2002/03/23 16:18:15 swa
63 # renamed every reference to the old name with foobar.
64 # fixed "application foobar application" tag, fixed
65 # "the foobar" with "foobar". left junkbuster in cvs
66 # comments and remarks to history untouched. should
67 # make final rename easier.
69 # Revision 1.14 2002/03/16 15:22:19 jongfoster
70 # Moving 'alpha' warning to the end of the page
72 # Revision 1.13 2002/03/16 14:28:38 jongfoster
73 # First version of modular filters support
75 # Revision 1.12 2002/03/12 01:42:50 oes
76 # Introduced modular filters
78 # Revision 1.11 2002/03/08 18:19:14 jongfoster
79 # Adding +image-blocker{pattern} option to edit interface
81 # Revision 1.10 2002/03/03 10:29:12 swa
82 # point users to the right feedback forms,
83 # not necessarily the developer list.
85 # Revision 1.9 2002/01/23 00:26:45 jongfoster
86 # Reducing length of URLs
87 # Where encoded and unencoded versions of a string existed, removing
90 # Revision 1.8 2002/01/17 21:33:00 jongfoster
91 # Replacing all references to the URL of the config interface
94 # Revision 1.7 2002/01/17 21:21:03 jongfoster
95 # DOS->Unix line endings
97 # Revision 1.6 2001/11/22 21:58:41 jongfoster
98 # Adding action +no-cookies-keep
100 # Revision 1.5 2001/11/13 21:12:17 jongfoster
101 # Added support for the following actions:
102 # +downgrade, +limit-connect, +no-compression
104 # Revision 1.4 2001/11/13 00:58:18 jongfoster
105 # New version of actions file editor templates
108 ##############################################################################
110 # Browser support for the JavaScript on this page:
111 # MS Internet Explorer 5.5 - Tested, Yes
112 # Netscape 6.0 - Tested, Yes
113 # Netscape 4.75 - Tested, NO
114 # Opera 5.12 - Tested, NO
115 # MS Internet Explorer 4+ - Untested, Yes
116 # MS IE 3.x, NS3.x - Untested, NO
117 # Mozilla >=0.6 - Untested, Yes
119 # All browsers should work, you just might not get the pretty DHTML effects.
121 # The effects that only work under the browsers marked "Yes" above are:
122 # - Text edit boxes that won't have any effect are disabled.
123 # - Table rows containing additional settings are hidden if the feature in
124 # question is disabled.
126 # There are major kludges to get around these problems with NS4, but they
127 # screw up the HTML too much for other browsers. If anyone wants to try,
128 # here's some descriptions of the kludges:
129 # http://www.webreference.com/js/tips/991114.html
130 # http://www.webreference.com/dhtml/column12/outDisplay.html
132 # If you're favorite browser isn't listed, please test and add it.
135 #############################################################################
139 # This file currently produces valid HTML 4.01 Strict.
141 # If you change it, please save the generated page from your web browser
142 # and then upload it to http://validator.w3.org/ for checking.
144 #############################################################################
146 # Available variables include:
152 # deanimate-gifs-param-first
153 # deanimate-gifs-param-last
154 # hide-from-param-block
155 # hide-from-param-custom
157 # hide-referer-param-forge
158 # hide-referer-param-block
159 # hide-referer-param-custom
161 # hide-user-agent-param
162 # image-blocker-param-pattern
163 # image-blocker-param-blank
164 # image-blocker-param-custom
167 #############################################################################
168 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
172 <meta http-equiv="Content-Style-Type" content="text/css">
173 <meta http-equiv="Content-Script-Type" content="text/javascript">
174 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
175 <meta name="robots" content="noindex,nofollow">
176 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
178 <title>Privoxy@@my-hostname@: Edit actions</title>
180 <style type="text/css">
181 td.action { font-weight: bold;
183 white-space: nowrap }
184 td.subaction { font-style: italic }
185 th { font-weight: bold; }
186 # This is the key to the color names below:
187 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
188 # 1=odd rows, 2=even rows, h=Table header
189 tr.hdr { background-color: #999999 }
190 tr.bg1 { background-color: #eeeeee }
191 td.en1 { background-color: #eeffee }
192 td.dis1 { background-color: #ffeeee }
193 td.noc1 { background-color: #eeeeff }
194 tr.bg2 { background-color: #dddddd }
195 td.en2 { background-color: #ddffdd }
196 td.dis2 { background-color: #ffdddd }
197 td.noc2 { background-color: #ddddff }
198 th.enh { background-color: #99ff99 }
199 th.dish { background-color: #ff9999 }
200 th.noch { background-color: #9999ff }
201 table.wide { padding: 5px; }
202 td.green { border: solid black 1px; background-color: #ddffdd; }
208 border-left-width: 10px;
209 border-right-width: 10px;
210 border-top-width: 0px;
211 border-bottom-width: 0px }
214 <script type="text/javascript">
217 function hide_from_header_param_disable(tf)
219 if (document.getElementById) {
221 document.getElementById("hide_from_header_param").disabled = tf;
222 } else if (document.all) {
224 document.myform.hide_from_header_param.disabled = tf;
228 function hide_referer_param_disable(tf)
230 if (document.getElementById) {
231 document.getElementById("hide_referer_param").disabled = tf;
232 } else if (document.all) {
233 document.myform.hide_referer_param.disabled = tf;
237 function set_image_blocker_param_disable(tf)
239 if (document.getElementById) {
240 document.getElementById("set_image_blocker_param").disabled = tf;
241 } else if (document.all) {
242 document.myform.set_image_blocker_param.disabled = tf;
246 function show_add_header_opts(tf)
248 if (document.getElementById) {
249 target = document.getElementById("add_header_opts");
250 } else if (document.all) {
251 target = document.add_header_opts;
255 target.style.display = (tf ? "" : "none");
258 function show_deanimate_opts(tf)
260 if (document.getElementById) {
261 target = document.getElementById("deanimate_opts");
262 } else if (document.all) {
263 target = document.deanimate_opts;
267 target.style.display = (tf ? "" : "none");
270 function show_hide_from_header_opts(tf)
272 if (document.getElementById) {
273 target = document.getElementById("hide_from_header_opts");
274 } else if (document.all) {
275 target = document.hide_from_header_opts;
279 target.style.display = (tf ? "" : "none");
282 function show_hide_referer_opts(tf)
284 if (document.getElementById) {
285 target = document.getElementById("hide_referer_opts");
286 } else if (document.all) {
287 target = document.hide_referer_opts;
291 target.style.display = (tf ? "" : "none");
294 function show_user_agent_opts(tf)
296 if (document.getElementById) {
297 target = document.getElementById("user_agent_opts");
298 } else if (document.all) {
299 target = document.user_agent_opts;
303 target.style.display = (tf ? "" : "none");
306 function show_set_image_blocker_opts(tf)
308 if (document.getElementById) {
309 target = document.getElementById("set_image_blocker_opts");
310 } else if (document.all) {
311 target = document.set_image_blocker_opts;
315 target.style.display = (tf ? "" : "none");
318 function show_limit_connect_opts(tf)
320 if (document.getElementById) {
321 target = document.getElementById("limit_connect_opts");
322 } else if (document.all) {
323 target = document.limit_connect_opts;
327 target.style.display = (tf ? "" : "none");
330 function show_send_wafer_opts(tf)
332 if (document.getElementById) {
333 target = document.getElementById("send_wafer_opts");
334 } else if (document.all) {
335 target = document.send_wafer_opts;
339 target.style.display = (tf ? "" : "none");
348 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
350 <table cellpadding="20" cellspacing="10" border="0" width="100%">
359 <!-- @if-unstable-start -->
360 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
364 #include mod-unstable-warning
368 <!-- if-unstable-end@ -->
373 <input type="hidden" name="f" value="@f@">
374 <input type="hidden" name="v" value="@v@">
375 <input type="hidden" name="s" value="@s@">
380 <tr><td class="wrapbox">
382 <table border="0" cellspacing="2" width="100%" class="wide">
383 <tr class="hdr" align="left">
384 <th class="enh" align="center">Enable</th>
385 <th class="dish" align="center">Disable</th>
386 <th class="noch" align="center">No Change</th>
390 <tr class="bg1" align="left" valign="top">
391 <td class="en1" align="center" valign="middle"><input type="radio"
392 name="add_header" id="add_header_y" value="Y" @add-header-y@
393 onclick="show_add_header_opts(true)"></td>
394 <td class="dis1" align="center" valign="middle"><input type="radio"
395 name="add_header" value="N" @add-header-n@
396 onclick="show_add_header_opts(false)"></td>
397 <td class="noc1" align="center" valign="middle"><input type="radio"
398 name="add_header" value="X" @add-header-x@
399 onclick="show_add_header_opts(false)"></td>
400 <td class="action"><a href="@user-manual@@helplink@ADD-HEADER">add-header</a></td>
401 <td>Adds HTTP headers.</td>
403 <tr class="bg1" align="left" valign="top" id="add_header_opts">
404 <td class="en1"> </td>
405 <td class="dis1"> </td>
406 <td class="noc1"> </td>
408 <td>Editing the settings for this option, or turning
409 it on if it was off, is not yet supported using this web-based
412 <tr class="bg2" align="left" valign="top">
413 <td class="en2" align="center" valign="middle"><input type="radio"
414 name="block" value="Y" @block-y@
416 <td class="dis2" align="center" valign="middle"><input type="radio"
417 name="block" value="N" @block-n@
419 <td class="noc2" align="center" valign="middle"><input type="radio"
420 name="block" value="X" @block-x@
422 <td class="action"><a href="@user-manual@@helplink@BLOCK">block</a></td>
423 <td>Block the request</td>
425 <tr class="bg1" align="left" valign="top">
426 <td class="en1" align="center" valign="middle"><input type="radio"
427 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
428 onclick="show_deanimate_opts(true)"></td>
429 <td class="dis1" align="center" valign="middle"><input type="radio"
430 name="deanimate_gifs" value="N" @deanimate-gifs-n@
431 onclick="show_deanimate_opts(false)"></td>
432 <td class="noc1" align="center" valign="middle"><input type="radio"
433 name="deanimate_gifs" value="X" @deanimate-gifs-x@
434 onclick="show_deanimate_opts(false)"></td>
435 <td class="action"><a href="@user-manual@@helplink@DEANIMATE-GIFS">deanimate-gifs</a></td>
436 <td>Replace animated GIFs with their (first/last) frame.</td>
438 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
439 <td class="en1"> </td>
440 <td class="dis1"> </td>
441 <td class="noc1"> </td>
443 <td>Use the <input type="radio" name="deanimate_gifs_mode"
444 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
445 for="deanimate_first">first frame</label> <input
446 type="radio" name="deanimate_gifs_mode" value="last"
447 id="deanimate_last" @deanimate-gifs-param-last@><label
448 for="deanimate_last">last frame</label></td>
450 <tr class="bg1" align="left" valign="top">
451 <td class="en1" align="center" valign="middle"><input type="radio"
452 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
453 <td class="dis1" align="center" valign="middle"><input type="radio"
454 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
455 <td class="noc1" align="center" valign="middle"><input type="radio"
456 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
457 <td class="action"><a href="@user-manual@@helplink@DOWNGRADE-HTTP-VERSION">downgrade-http-version</td>
458 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
459 what you're doing!</td>
461 <tr class="bg2" align="left" valign="top">
462 <td class="en2" align="center" valign="middle"><input type="radio"
463 name="fast_redirects" value="Y" @fast-redirects-y@
465 <td class="dis2" align="center" valign="middle"><input type="radio"
466 name="fast_redirects" value="N" @fast-redirects-n@
468 <td class="noc2" align="center" valign="middle"><input type="radio"
469 name="fast_redirects" value="X" @fast-redirects-x@
471 <td class="action"><a href="@user-manual@@helplink@FAST-REDIRECTS">fast-redirects</a></td>
472 <td>Bypass some click-tracking URLs.</td>
474 <tr class="bg2" align="left" valign="top">
475 <td class="en2"> </td>
476 <td class="dis2"> </td>
477 <td class="noc2"> </td>
478 <td class="action"><a href="@user-manual@@helplink@FILTER">filter</a></td>
479 <td>Filter the website through regular expression filters.
480 You can enable or disable the filters individually.</td>
483 <tr class="bg2" align="left" valign="top">
484 <td class="en2"> </td>
485 <td class="dis2" align="center" valign="middle"><input type="radio"
486 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
487 <td class="noc2" align="center" valign="middle"><input type="radio"
488 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
489 <td class="subaction" colspan="2"> All filters applied by previous rules</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");