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.23 2002/04/26 12:57:02 oes
36 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
38 # Revision 1.22 2002/04/10 13:32:53 oes
39 # Made templates modular
41 # Revision 1.21 2002/04/08 17:05:18 oes
42 # Inline a style exception
44 # Revision 1.20 2002/04/05 16:01:30 oes
45 # Correct HTML, external Stylesheets, eye candy, some fixes
47 # Revision 1.19 2002/03/26 22:29:56 swa
48 # we have a new homepage!
50 # Revision 1.18 2002/03/24 16:32:08 jongfoster
51 # Removing logo option
53 # Revision 1.17 2002/03/24 15:23:33 jongfoster
56 # Revision 1.16 2002/03/24 11:01:06 swa
59 # Revision 1.15 2002/03/23 16:18:15 swa
60 # renamed every reference to the old name with foobar.
61 # fixed "application foobar application" tag, fixed
62 # "the foobar" with "foobar". left junkbuster in cvs
63 # comments and remarks to history untouched. should
64 # make final rename easier.
66 # Revision 1.14 2002/03/16 15:22:19 jongfoster
67 # Moving 'alpha' warning to the end of the page
69 # Revision 1.13 2002/03/16 14:28:38 jongfoster
70 # First version of modular filters support
72 # Revision 1.12 2002/03/12 01:42:50 oes
73 # Introduced modular filters
75 # Revision 1.11 2002/03/08 18:19:14 jongfoster
76 # Adding +image-blocker{pattern} option to edit interface
78 # Revision 1.10 2002/03/03 10:29:12 swa
79 # point users to the right feedback forms,
80 # not necessarily the developer list.
82 # Revision 1.9 2002/01/23 00:26:45 jongfoster
83 # Reducing length of URLs
84 # Where encoded and unencoded versions of a string existed, removing
87 # Revision 1.8 2002/01/17 21:33:00 jongfoster
88 # Replacing all references to the URL of the config interface
91 # Revision 1.7 2002/01/17 21:21:03 jongfoster
92 # DOS->Unix line endings
94 # Revision 1.6 2001/11/22 21:58:41 jongfoster
95 # Adding action +no-cookies-keep
97 # Revision 1.5 2001/11/13 21:12:17 jongfoster
98 # Added support for the following actions:
99 # +downgrade, +limit-connect, +no-compression
101 # Revision 1.4 2001/11/13 00:58:18 jongfoster
102 # New version of actions file editor templates
105 ##############################################################################
107 # Browser support for the JavaScript on this page:
108 # MS Internet Explorer 5.5 - Tested, Yes
109 # Netscape 6.0 - Tested, Yes
110 # Netscape 4.75 - Tested, NO
111 # Opera 5.12 - Tested, NO
112 # MS Internet Explorer 4+ - Untested, Yes
113 # MS IE 3.x, NS3.x - Untested, NO
114 # Mozilla >=0.6 - Untested, Yes
116 # All browsers should work, you just might not get the pretty DHTML effects.
118 # The effects that only work under the browsers marked "Yes" above are:
119 # - Text edit boxes that won't have any effect are disabled.
120 # - Table rows containing additional settings are hidden if the feature in
121 # question is disabled.
123 # There are major kludges to get around these problems with NS4, but they
124 # screw up the HTML too much for other browsers. If anyone wants to try,
125 # here's some descriptions of the kludges:
126 # http://www.webreference.com/js/tips/991114.html
127 # http://www.webreference.com/dhtml/column12/outDisplay.html
129 # If you're favorite browser isn't listed, please test and add it.
132 #############################################################################
136 # This file currently produces valid HTML 4.01 Strict.
138 # If you change it, please save the generated page from your web browser
139 # and then upload it to http://validator.w3.org/ for checking.
141 #############################################################################
143 # Available variables include:
149 # deanimate-gifs-param-first
150 # deanimate-gifs-param-last
151 # hide-from-param-block
152 # hide-from-param-custom
154 # hide-referer-param-forge
155 # hide-referer-param-block
156 # hide-referer-param-custom
158 # hide-user-agent-param
159 # image-blocker-param-pattern
160 # image-blocker-param-blank
161 # image-blocker-param-custom
164 #############################################################################
165 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
169 <meta http-equiv="Content-Style-Type" content="text/css">
170 <meta http-equiv="Content-Script-Type" content="text/javascript">
171 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
172 <meta name="robots" content="noindex,nofollow">
173 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
175 <title>Privoxy@@my-hostname@: Edit actions</title>
177 <style type="text/css">
178 td.action { font-weight: bold;
180 white-space: nowrap }
181 td.subaction { font-style: italic }
182 th { font-weight: bold; }
183 # This is the key to the color names below:
184 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
185 # 1=odd rows, 2=even rows, h=Table header
186 tr.hdr { background-color: #999999 }
187 tr.bg1 { background-color: #eeeeee }
188 td.en1 { background-color: #eeffee }
189 td.dis1 { background-color: #ffeeee }
190 td.noc1 { background-color: #eeeeff }
191 tr.bg2 { background-color: #dddddd }
192 td.en2 { background-color: #ddffdd }
193 td.dis2 { background-color: #ffdddd }
194 td.noc2 { background-color: #ddddff }
195 th.enh { background-color: #99ff99 }
196 th.dish { background-color: #ff9999 }
197 th.noch { background-color: #9999ff }
198 table.wide { padding: 5px; }
199 td.green { border: solid black 1px; background-color: #ddffdd; }
205 border-left-width: 10px;
206 border-right-width: 10px;
207 border-top-width: 0px;
208 border-bottom-width: 0px }
211 <script type="text/javascript">
214 function hide_from_param_disable(tf)
216 if (document.getElementById) {
218 document.getElementById("hide_from_param").disabled = tf;
219 } else if (document.all) {
221 document.myform.hide_from_param.disabled = tf;
225 function hide_referer_param_disable(tf)
227 if (document.getElementById) {
228 document.getElementById("hide_referer_param").disabled = tf;
229 } else if (document.all) {
230 document.myform.hide_referer_param.disabled = tf;
234 function image_blocker_param_disable(tf)
236 if (document.getElementById) {
237 document.getElementById("image_blocker_param").disabled = tf;
238 } else if (document.all) {
239 document.myform.image_blocker_param.disabled = tf;
243 function show_add_header_opts(tf)
245 if (document.getElementById) {
246 target = document.getElementById("add_header_opts");
247 } else if (document.all) {
248 target = document.add_header_opts;
252 target.style.display = (tf ? "" : "none");
255 function show_deanimate_opts(tf)
257 if (document.getElementById) {
258 target = document.getElementById("deanimate_opts");
259 } else if (document.all) {
260 target = document.deanimate_opts;
264 target.style.display = (tf ? "" : "none");
267 function show_hide_from_opts(tf)
269 if (document.getElementById) {
270 target = document.getElementById("hide_from_opts");
271 } else if (document.all) {
272 target = document.hide_from_opts;
276 target.style.display = (tf ? "" : "none");
279 function show_hide_referer_opts(tf)
281 if (document.getElementById) {
282 target = document.getElementById("hide_referer_opts");
283 } else if (document.all) {
284 target = document.hide_referer_opts;
288 target.style.display = (tf ? "" : "none");
291 function show_user_agent_opts(tf)
293 if (document.getElementById) {
294 target = document.getElementById("user_agent_opts");
295 } else if (document.all) {
296 target = document.user_agent_opts;
300 target.style.display = (tf ? "" : "none");
303 function show_image_blocker_opts(tf)
305 if (document.getElementById) {
306 target = document.getElementById("image_blocker_opts");
307 } else if (document.all) {
308 target = document.image_blocker_opts;
312 target.style.display = (tf ? "" : "none");
315 function show_limit_connect_opts(tf)
317 if (document.getElementById) {
318 target = document.getElementById("limit_connect_opts");
319 } else if (document.all) {
320 target = document.limit_connect_opts;
324 target.style.display = (tf ? "" : "none");
327 function show_wafer_opts(tf)
329 if (document.getElementById) {
330 target = document.getElementById("wafer_opts");
331 } else if (document.all) {
332 target = document.wafer_opts;
336 target.style.display = (tf ? "" : "none");
345 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
347 <table cellpadding="20" cellspacing="10" border="0" width="100%">
356 <!-- @if-unstable-start -->
357 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
361 #include mod-unstable-warning
365 <!-- if-unstable-end@ -->
370 <input type="hidden" name="f" value="@f@">
371 <input type="hidden" name="v" value="@v@">
372 <input type="hidden" name="s" value="@s@">
377 <tr><td class="wrapbox">
379 <table border="0" cellspacing="2" width="100%" class="wide">
380 <tr class="hdr" align="left">
381 <th class="enh" align="center">Enable</th>
382 <th class="dish" align="center">Disable</th>
383 <th class="noch" align="center">No Change</th>
387 <tr class="bg1" align="left" valign="top">
388 <td class="en1" align="center" valign="middle"><input type="radio"
389 name="add_header" id="add_header_y" value="Y" @add-header-y@
390 onclick="show_add_header_opts(true)"></td>
391 <td class="dis1" align="center" valign="middle"><input type="radio"
392 name="add_header" value="N" @add-header-n@
393 onclick="show_add_header_opts(false)"></td>
394 <td class="noc1" align="center" valign="middle"><input type="radio"
395 name="add_header" value="X" @add-header-x@
396 onclick="show_add_header_opts(false)"></td>
397 <td class="action"><a href="@user-manual@@helplink@ADD-HEADER">add-header</a></td>
398 <td>Adds HTTP headers.</td>
400 <tr class="bg1" align="left" valign="top" id="add_header_opts">
401 <td class="en1"> </td>
402 <td class="dis1"> </td>
403 <td class="noc1"> </td>
405 <td>Editing the settings for this option, or turning
406 it on if it was off, is not yet supported using this web-based
409 <tr class="bg2" align="left" valign="top">
410 <td class="en2" align="center" valign="middle"><input type="radio"
411 name="block" value="Y" @block-y@
413 <td class="dis2" align="center" valign="middle"><input type="radio"
414 name="block" value="N" @block-n@
416 <td class="noc2" align="center" valign="middle"><input type="radio"
417 name="block" value="X" @block-x@
419 <td class="action"><a href="@user-manual@@helplink@BLOCK">block</a></td>
420 <td>Block the request</td>
422 <tr class="bg1" align="left" valign="top">
423 <td class="en1" align="center" valign="middle"><input type="radio"
424 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
425 onclick="show_deanimate_opts(true)"></td>
426 <td class="dis1" align="center" valign="middle"><input type="radio"
427 name="deanimate_gifs" value="N" @deanimate-gifs-n@
428 onclick="show_deanimate_opts(false)"></td>
429 <td class="noc1" align="center" valign="middle"><input type="radio"
430 name="deanimate_gifs" value="X" @deanimate-gifs-x@
431 onclick="show_deanimate_opts(false)"></td>
432 <td class="action"><a href="@user-manual@@helplink@DEANIMATE-GIFS">deanimate-gifs</a></td>
433 <td>Replace animated GIFs with their (first/last) frame.</td>
435 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
436 <td class="en1"> </td>
437 <td class="dis1"> </td>
438 <td class="noc1"> </td>
440 <td>Use the <input type="radio" name="deanimate_gifs_mode"
441 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
442 for="deanimate_first">first frame</label> <input
443 type="radio" name="deanimate_gifs_mode" value="last"
444 id="deanimate_last" @deanimate-gifs-param-last@><label
445 for="deanimate_last">last frame</label></td>
447 <tr class="bg1" align="left" valign="top">
448 <td class="en1" align="center" valign="middle"><input type="radio"
449 name="downgrade" value="Y" @downgrade-y@></td>
450 <td class="dis1" align="center" valign="middle"><input type="radio"
451 name="downgrade" value="N" @downgrade-n@></td>
452 <td class="noc1" align="center" valign="middle"><input type="radio"
453 name="downgrade" value="X" @downgrade-x@></td>
454 <td class="action"><a href="@user-manual@@helplink@DOWNGRADE-HTTP-VERSION">downgrade-http-version</td>
455 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
456 what you're doing!</td>
458 <tr class="bg2" align="left" valign="top">
459 <td class="en2" align="center" valign="middle"><input type="radio"
460 name="fast_redirects" value="Y" @fast-redirects-y@
462 <td class="dis2" align="center" valign="middle"><input type="radio"
463 name="fast_redirects" value="N" @fast-redirects-n@
465 <td class="noc2" align="center" valign="middle"><input type="radio"
466 name="fast_redirects" value="X" @fast-redirects-x@
468 <td class="action"><a href="@user-manual@@helplink@FAST-REDIRECTS">fast-redirects</a></td>
469 <td>Bypass some click-tracking URLs.</td>
471 <tr class="bg2" align="left" valign="top">
472 <td class="en2"> </td>
473 <td class="dis2"> </td>
474 <td class="noc2"> </td>
475 <td class="action"><a href="@user-manual@@helplink@FILTER">filter</a></td>
476 <td>Filter the website through regular expression filters.
477 You can enable or disable the filters individually.</td>
480 <tr class="bg2" align="left" valign="top">
481 <td class="en2"> </td>
482 <td class="dis2" align="center" valign="middle"><input type="radio"
483 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
484 <td class="noc2" align="center" valign="middle"><input type="radio"
485 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
486 <td class="subaction" colspan="2"> All filters applied by previous rules</td>
489 <tr class="bg1" align="left" valign="top">
490 <td class="en1" align="center" valign="middle"><input type="radio"
491 name="image" value="Y" @image-y@
493 <td class="dis1" align="center" valign="middle"><input type="radio"
494 name="image" value="N" @image-n@
496 <td class="noc1" align="center" valign="middle"><input type="radio"
497 name="image" value="X" @image-x@
499 <td class="action"><a href="@user-manual@@helplink@HANDLE-AS-IMAGE">handle-as-image</a></td>
500 <td>Request is for an image (only useful in conjunction with the <i><b><a href="@user-manual@@helplink@BLOCK">block</a></b></i>
501 and <i><b><a href="@user-manual@@helplink@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
503 <tr class="bg1" align="left" valign="top">
504 <td class="en1" align="center" valign="middle"><input type="radio"
505 name="hide_forwarded" value="Y" @hide-forwarded-y@
507 <td class="dis1" align="center" valign="middle"><input type="radio"
508 name="hide_forwarded" value="N" @hide-forwarded-n@
510 <td class="noc1" align="center" valign="middle"><input type="radio"
511 name="hide_forwarded" value="X" @hide-forwarded-x@
513 <td class="action"><a href="@user-manual@@helplink@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
514 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
516 <tr class="bg2" align="left" valign="top">
517 <td class="en2" align="center" valign="middle"><input type="radio"
518 name="hide_from" id="hide_from_y" value="Y" @hide-from-y@
519 onclick="show_hide_from_opts(true)"></td>
520 <td class="dis2" align="center" valign="middle"><input type="radio"
521 name="hide_from" value="N" @hide-from-n@
522 onclick="show_hide_from_opts(false)"></td>
523 <td class="noc2" align="center" valign="middle"><input type="radio"
524 name="hide_from" value="X" @hide-from-x@
525 onclick="show_hide_from_opts(false)"></td>
526 <td class="action"><a href="@user-manual@@helplink@HIDE-FROM-HEADER">hide-from-header</a></td>
527 <td>Stop old web browsers from sending the user's e-mail address with
530 <tr class="bg2" align="left" valign="top" id="hide_from_opts">
531 <td class="en2"> </td>
532 <td class="dis2"> </td>
533 <td class="noc2"> </td>
535 <td><input type="radio" name="hide_from_mode" value="block"
536 onclick="hide_from_param_disable(true);"
537 @hide-from-param-block@ id="from_mode_block"><label
538 for="from_mode_block">Remove completely</label><br>
539 <input type="radio" name="hide_from_mode" value="CUSTOM"
540 onclick="hide_from_param_disable(false);"
541 @hide-from-param-custom@ id="from_mode_set"><label
542 for="from_mode_set">Fake e-mail address:</label><br>
543 <input type="text" name="hide_from_param" id="hide_from_param"
544 size="40" value="@hide-from-param@"></td>
546 <tr class="bg1" align="left" valign="top">
547 <td class="en1" align="center" valign="middle"><input type="radio"
548 name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
549 onclick="show_hide_referer_opts(true)"></td>
550 <td class="dis1" align="center" valign="middle"><input type="radio"
551 name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
552 onclick="show_hide_referer_opts(false)"></td>
553 <td class="noc1" align="center" valign="middle"><input type="radio"
554 name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
555 onclick="show_hide_referer_opts(false)"
557 <td class="action"><a href="@user-manual@@helplink@HIDE-REFERRER">hide-referrer</a></td>
558 <td>Helps prevent tracking by not sending the URL of the previous web
561 <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
562 <td class="en1"> </td>
563 <td class="dis1"> </td>
564 <td class="noc1"> </td>
566 <td><input type="radio" name="hide_referer_mode" value="block"
567 onclick="hide_referer_param_disable(true)"
568 @hide-referer-param-block@ id="referer_mode_block"><label
569 for="referer_mode_block">Remove completely</label> (breaks images
570 on some free web hosts).<br>
571 <input type="radio" name="hide_referer_mode" value="forge"
572 onclick="hide_referer_param_disable(true)"
573 @hide-referer-param-forge@ id="referer_mode_forge"><label
574 for="referer_mode_forge">Fake as the root directory of the
575 site</label> (fools checks for in-site links.)<br>
576 <input type="radio" name="hide_referer_mode" value="CUSTOM"
577 onclick="hide_referer_param_disable(false)"
578 @hide-referer-param-custom@ id="referer_mode_set"><label
579 for="referer_mode_set">Fake as this web address:</label><br>
580 <input type="text" name="hide_referer_param"
581 id="hide_referer_param" size="40"
582 value="@hide-referer-param@"></td>
584 <tr class="bg2" align="left" valign="top">
585 <td class="en2" align="center" valign="middle"><input type="radio"
586 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
587 onclick="show_user_agent_opts(true)"></td>
588 <td class="dis2" align="center" valign="middle"><input type="radio"
589 name="hide_user_agent" value="N" @hide-user-agent-n@
590 onclick="show_user_agent_opts(false)"></td>
591 <td class="noc2" align="center" valign="middle"><input type="radio"
592 name="hide_user_agent" value="X" @hide-user-agent-x@
593 onclick="show_user_agent_opts(false)"></td>
594 <td class="action"><a href="@user-manual@@helplink@HIDE-USER-AGENT">hide-user-agent</a></td>
595 <td>Pretend to be using a different web browser. (Breaks many web
598 <tr class="bg2" align="left" valign="top" id="user_agent_opts">
599 <td class="en2"> </td>
600 <td class="dis2"> </td>
601 <td class="noc2"> </td>
603 <td>User Agent string to send:<br>
604 <input type="text" name="hide_user_agent_mode" size="40"
605 value="@hide-user-agent-param@"></td>
607 <tr class="bg2" align="left" valign="top">
608 <td class="en2" align="center" valign="middle"><input type="radio"
609 name="no_popups" value="Y" @no-popups-y@
611 <td class="dis2" align="center" valign="middle"><input type="radio"
612 name="no_popups" value="N" @no-popups-n@
614 <td class="noc2" align="center" valign="middle"><input type="radio"
615 name="no_popups" value="X" @no-popups-x@
617 <td class="action"><a href="@user-manual@@helplink@KILL-POPUPS">kill-popups</td>
618 <td>Filter the website through a built-in filter to disable many JavaScript
621 <tr class="bg1" align="left" valign="top">
622 <td class="en1" align="center" valign="middle"><input type="radio"
623 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
624 onclick="show_limit_connect_opts(true)"></td>
625 <td class="dis1" align="center" valign="middle"><input type="radio"
626 name="limit_connect" value="N" @limit-connect-n@
627 onclick="show_limit_connect_opts(false)"></td>
628 <td class="noc1" align="center" valign="middle"><input type="radio"
629 name="limit_connect" value="X" @limit-connect-x@
630 onclick="show_limit_connect_opts(false)"></td>
631 <td class="action"><a href="@user-manual@@helplink@LIMIT-CONNECT">limit-connect</a></td>
632 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
633 Note that this allows arbitrary tunnelling, so opening all
634 ports would be a security hole.</td>
636 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
637 <td class="en1"> </td>
638 <td class="dis1"> </td>
639 <td class="noc1"> </td>
641 <td>Legal SSL ports (comma separated, ranges allowed):<br>
642 <input type="text" name="limit_connect_mode" size="40"
643 value="@limit-connect-param@"></td>
645 <tr class="bg2" align="left" valign="top">
646 <td class="en2" align="center" valign="middle"><input type="radio"
647 name="no_compression" value="Y" @no-compression-y@
649 <td class="dis2" align="center" valign="middle"><input type="radio"
650 name="no_compression" value="N" @no-compression-n@
652 <td class="noc2" align="center" valign="middle"><input type="radio"
653 name="no_compression" value="X" @no-compression-x@
655 <td class="action"><a href="@user-manual@@helplink@PREVENT-COMPRESSION">prevent-compression</a></td>
656 <td>Disables compression. Compressed web pages are faster to
657 download, but cannot be filtered with <a href="@user-manual@@helplink@FILTER"><b>filter</b></a>
658 or <a href="@user-manual@@helplink@KILL-POPUPS"><b>kill-popups</b></a>.
659 This setting only affects the few web sites which support
662 <tr class="bg2" align="left" valign="top">
663 <td class="en2" align="center" valign="middle"><input type="radio"
664 name="no_cookies_read" value="Y" @no-cookies-read-y@
666 <td class="dis2" align="center" valign="middle"><input type="radio"
667 name="no_cookies_read" value="N" @no-cookies-read-n@
669 <td class="noc2" align="center" valign="middle"><input type="radio"
670 name="no_cookies_read" value="X" @no-cookies-read-x@
672 <td class="action"><a href="@user-manual@@helplink@PREVENT-READING-COOKIES">prevent-reading-cookies</a></td>
673 <td>Prevent the website from reading cookies.</td>
675 <tr class="bg1" align="left" valign="top">
676 <td class="en1" align="center" valign="middle"><input type="radio"
677 name="no_cookies_set" value="Y" @no-cookies-set-y@
679 <td class="dis1" align="center" valign="middle"><input type="radio"
680 name="no_cookies_set" value="N" @no-cookies-set-n@
682 <td class="noc1" align="center" valign="middle"><input type="radio"
683 name="no_cookies_set" value="X" @no-cookies-set-x@
685 <td class="action"><a href="@user-manual@@helplink@PREVENT-SETTING-COOKIES">prevent-setting-cookies</a></td>
686 <td>Prevent the website from setting cookies.</td>
688 <tr class="bg1" align="left" valign="top">
689 <td class="en1" align="center" valign="middle"><input type="radio"
690 name="vanilla_wafer" value="Y" @vanilla-wafer-y@
692 <td class="dis1" align="center" valign="middle"><input type="radio"
693 name="vanilla_wafer" value="N" @vanilla-wafer-n@
695 <td class="noc1" align="center" valign="middle"><input type="radio"
696 name="vanilla_wafer" value="X" @vanilla-wafer-x@
698 <td class="action"><a href="@user-manual@@helplink@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
699 <td>Adds a special wafer (standard cookie) to all your requests.</td>
701 <tr class="bg2" align="left" valign="top">
702 <td class="en2" align="center" valign="middle"><input type="radio"
703 name="wafer" id="wafer_y" value="Y" @wafer-y@
704 onclick="show_wafer_opts(true)"></td>
705 <td class="dis2" align="center" valign="middle"><input type="radio"
706 name="wafer" id="wafer_n" value="N" @wafer-n@
707 onclick="show_wafer_opts(false)"></td>
708 <td class="noc2" align="center" valign="middle"><input type="radio"
709 name="wafer" id="wafer_x" value="X" @wafer-x@
710 onclick="show_wafer_opts(false)"></td>
711 <td class="action"><a href="@user-manual@@helplink@SEND-WAFER">send-wafer</a></td>
712 <td>Adds user-specified cookies.</td>
714 <tr class="bg2" align="left" valign="top" id="wafer_opts">
715 <td class="en2"> </td>
716 <td class="dis2"> </td>
717 <td class="noc2"> </td>
719 <td>Editing the settings for this option, or turning
720 it on if it was off, is not yet supported using this web-based
723 <tr class="bg1" align="left" valign="top">
724 <td class="en1" align="center" valign="middle"><input type="radio"
725 name="no_cookies_keep" value="Y" @no-cookies-keep-y@
727 <td class="dis1" align="center" valign="middle"><input type="radio"
728 name="no_cookies_keep" value="N" @no-cookies-keep-n@
730 <td class="noc1" align="center" valign="middle"><input type="radio"
731 name="no_cookies_keep" value="X" @no-cookies-keep-x@
733 <td class="action"><a href="@user-manual@@helplink@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
734 <td>Any cookies set by the website are changed to temporary
735 ("per-session") ones, which only last until you close your web
736 browser. This will allow you to use sites that require cookies, but
737 sites will not be able to track you across sessions. For this to
738 be useful, you should disable
739 <a href="@user-manual@@helplink@PREVENT-READING-COOKIES"><b>prevent-reading-cookies</b></a> and
740 <a href="@user-manual@@helplink@PREVENT-SETTING-COOKIES"><b>prevent-setting-cookies</b></a>.</td>
742 <tr class="bg2" align="left" valign="top">
743 <td class="en2" align="center" valign="middle"><input type="radio"
744 name="image_blocker" id="image_blocker_y" value="Y" @image-blocker-y@
745 onclick="show_image_blocker_opts(true)"></td>
746 <td class="dis2" align="center" valign="middle"><input type="radio"
747 name="image_blocker" value="N" @image-blocker-n@
748 onclick="show_image_blocker_opts(false)"></td>
749 <td class="noc2" align="center" valign="middle"><input type="radio"
750 name="image_blocker" value="X" @image-blocker-x@
751 onclick="show_image_blocker_opts(false)"></td>
752 <td class="action"><a href="@user-manual@@helplink@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
753 <td>Specifies how to block images.</td>
755 <tr class="bg2" align="left" valign="top" id="image_blocker_opts">
756 <td class="en2"> </td>
757 <td class="dis2"> </td>
758 <td class="noc2"> </td>
760 <td><input type="radio" name="image_blocker_mode"
761 onclick="image_blocker_param_disable(true)"
762 value="pattern" id="image_blocker_mode_pattern"
763 @image-blocker-param-pattern@><label
764 for="image_blocker_mode_pattern">Send a pattern (<img
765 src="send-banner?type=p" width="12" height="12"
766 alt="pattern">)</label><br>
767 <input type="radio" name="image_blocker_mode" value="blank"
768 onclick="image_blocker_param_disable(true)"
769 id="image_blocker_mode_blank" @image-blocker-param-blank@><label
770 for="image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
771 <input type="radio" name="image_blocker_mode" value="CUSTOM"
772 onclick="image_blocker_param_disable(false)"
773 id="image_blocker_mode_set" @image-blocker-param-custom@><label
774 for="image_blocker_mode_set">Redirect
775 the browser to this image URL:</label><br>
776 <input type="text" name="image_blocker_param" id="image_blocker_param"
777 size="40" value="@image-blocker-param@"></td>
784 <td class="green" align="center">
785 <p><input type="submit" value="Submit" name="Submit"></p>
791 <h2>More Privoxy:</h2>
799 #include mod-support-and-service
804 <!-- @if-have-help-info-start -->
808 #include mod-local-help
812 <!-- if-have-help-info-end@ -->
816 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
824 <script type="text/javascript">
827 if (document.getElementById) {
828 // alert("Netscape 6 or IE5");
829 document.getElementById("hide_from_param").disabled = !(document.getElementById("from_mode_set").checked);
830 document.getElementById("hide_referer_param").disabled = !(document.getElementById("referer_mode_set").checked);
831 document.getElementById("image_blocker_param").disabled = !(document.getElementById("image_blocker_mode_set").checked);
833 show_add_header_opts (document.getElementById("add_header_y").checked);
834 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
835 show_hide_from_opts (document.getElementById("hide_from_y").checked);
836 show_hide_referer_opts (document.getElementById("hide_referer_y").checked);
837 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
838 show_image_blocker_opts (document.getElementById("image_blocker_y").checked);
839 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
840 show_wafer_opts (document.getElementById("wafer_y").checked);
841 } else if (document.all) {
843 document.myform.hide_from_param.disabled = !(document.myform.from_mode_set.checked);
844 document.myform.hide_referer_param.disabled = !(document.myform.referer_mode_set.checked);
845 document.myform.image_blocker_param.disabled = !(document.myform.image_blocker_mode_set.checked);
847 show_add_header_opts (document.myform.add_header_y.checked);
848 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
849 show_hide_from_opts (document.myform.hide_from_y.checked);
850 show_hide_referer_opts (document.myform.hide_referer_y.checked);
851 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
852 show_image_blocker_opts (document.myform.image_blocker_y.checked);
853 show_limit_connect_opts (document.myform.limit_connect_y.checked);
854 show_wafer_opts (document.myform.wafer_y.checked);
855 } else if (document.layers) {
856 // alert("Netscape 4");