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.18 2002/03/24 16:32:08 jongfoster
36 # Removing logo option
38 # Revision 1.17 2002/03/24 15:23:33 jongfoster
41 # Revision 1.16 2002/03/24 11:01:06 swa
44 # Revision 1.15 2002/03/23 16:18:15 swa
45 # renamed every reference to the old name with foobar.
46 # fixed "application foobar application" tag, fixed
47 # "the foobar" with "foobar". left junkbuster in cvs
48 # comments and remarks to history untouched. should
49 # make final rename easier.
51 # Revision 1.14 2002/03/16 15:22:19 jongfoster
52 # Moving 'alpha' warning to the end of the page
54 # Revision 1.13 2002/03/16 14:28:38 jongfoster
55 # First version of modular filters support
57 # Revision 1.12 2002/03/12 01:42:50 oes
58 # Introduced modular filters
60 # Revision 1.11 2002/03/08 18:19:14 jongfoster
61 # Adding +image-blocker{pattern} option to edit interface
63 # Revision 1.10 2002/03/03 10:29:12 swa
64 # point users to the right feedback forms,
65 # not necessarily the developer list.
67 # Revision 1.9 2002/01/23 00:26:45 jongfoster
68 # Reducing length of URLs
69 # Where encoded and unencoded versions of a string existed, removing
72 # Revision 1.8 2002/01/17 21:33:00 jongfoster
73 # Replacing all references to the URL of the config interface
76 # Revision 1.7 2002/01/17 21:21:03 jongfoster
77 # DOS->Unix line endings
79 # Revision 1.6 2001/11/22 21:58:41 jongfoster
80 # Adding action +no-cookies-keep
82 # Revision 1.5 2001/11/13 21:12:17 jongfoster
83 # Added support for the following actions:
84 # +downgrade, +limit-connect, +no-compression
86 # Revision 1.4 2001/11/13 00:58:18 jongfoster
87 # New version of actions file editor templates
90 ##############################################################################
92 # Browser support for the JavaScript on this page:
93 # MS Internet Explorer 5.5 - Tested, Yes
94 # Netscape 6.0 - Tested, Yes
95 # Netscape 4.75 - Tested, NO
96 # Opera 5.12 - Tested, NO
97 # MS Internet Explorer 4+ - Untested, Yes
98 # MS IE 3.x, NS3.x - Untested, NO
99 # Mozilla >=0.6 - Untested, Yes
101 # All browsers should work, you just might not get the pretty DHTML effects.
103 # The effects that only work under the browsers marked "Yes" above are:
104 # - Text edit boxes that won't have any effect are disabled.
105 # - Table rows containing additional settings are hidden if the feature in
106 # question is disabled.
108 # There are major kludges to get around these problems with NS4, but they
109 # screw up the HTML too much for other browsers. If anyone wants to try,
110 # here's some descriptions of the kludges:
111 # http://www.webreference.com/js/tips/991114.html
112 # http://www.webreference.com/dhtml/column12/outDisplay.html
114 # If you're favorite browser isn't listed, please test and add it.
117 #############################################################################
121 # This file currently produces valid HTML 4.01 Strict.
123 # If you change it, please save the generated page from your web browser
124 # and then upload it to http://validator.w3.org/ for checking.
126 #############################################################################
128 # Available variables include:
134 # deanimate-gifs-param-first
135 # deanimate-gifs-param-last
136 # hide-from-param-block
137 # hide-from-param-custom
139 # hide-referer-param-forge
140 # hide-referer-param-block
141 # hide-referer-param-custom
143 # hide-user-agent-param
144 # image-blocker-param-pattern
145 # image-blocker-param-blank
146 # image-blocker-param-custom
149 #############################################################################
150 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
154 <meta http-equiv="Content-Style-Type" content="text/css">
155 <meta http-equiv="Content-Script-Type" content="text/javascript">
156 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
157 <meta name="robots" content="noindex,nofollow">
159 <title>Privoxy: Edit actions</title>
161 <style type="text/css">
162 body { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
163 background-color: #ffffff;
165 td.action { font-weight: bold;
167 white-space: nowrap }
168 td.subaction { font-style: italic }
169 th { font-weight: bold; }
170 # This is the key to the color names below:
171 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
172 # 1=odd rows, 2=even rows, h=Table header
173 tr.hdr { background-color: #999999 }
174 tr.bg1 { background-color: #eeeeee }
175 td.en1 { background-color: #eeffee }
176 td.dis1 { background-color: #ffeeee }
177 td.noc1 { background-color: #eeeeff }
178 tr.bg2 { background-color: #dddddd }
179 td.en2 { background-color: #ddffdd }
180 td.dis2 { background-color: #ffdddd }
181 td.noc2 { background-color: #ddddff }
182 th.enh { background-color: #99ff99 }
183 th.dish { background-color: #ff9999 }
184 th.noch { background-color: #9999ff }
185 table.wide { border-color: white;
187 border-left-width: 10px;
188 border-right-width: 10px;
189 border-top-width: 0px;
190 border-bottom-width: 0px }
191 td.light { background-color: #eeeeee }
192 td.dark { background-color: #dddddd }
193 td.green { background-color: #ddffdd }
196 <script type="text/javascript">
199 function hide_from_param_disable(tf)
201 if (document.getElementById) {
203 document.getElementById("hide_from_param").disabled = tf;
204 } else if (document.all) {
206 document.myform.hide_from_param.disabled = tf;
210 function hide_referer_param_disable(tf)
212 if (document.getElementById) {
213 document.getElementById("hide_referer_param").disabled = tf;
214 } else if (document.all) {
215 document.myform.hide_referer_param.disabled = tf;
219 function image_blocker_param_disable(tf)
221 if (document.getElementById) {
222 document.getElementById("image_blocker_param").disabled = tf;
223 } else if (document.all) {
224 document.myform.image_blocker_param.disabled = tf;
228 function show_add_header_opts(tf)
230 if (document.getElementById) {
231 target = document.getElementById("add_header_opts");
232 } else if (document.all) {
233 target = document.add_header_opts;
237 target.style.display = (tf ? "" : "none");
240 function show_deanimate_opts(tf)
242 if (document.getElementById) {
243 target = document.getElementById("deanimate_opts");
244 } else if (document.all) {
245 target = document.deanimate_opts;
249 target.style.display = (tf ? "" : "none");
252 function show_hide_from_opts(tf)
254 if (document.getElementById) {
255 target = document.getElementById("hide_from_opts");
256 } else if (document.all) {
257 target = document.hide_from_opts;
261 target.style.display = (tf ? "" : "none");
264 function show_hide_referer_opts(tf)
266 if (document.getElementById) {
267 target = document.getElementById("hide_referer_opts");
268 } else if (document.all) {
269 target = document.hide_referer_opts;
273 target.style.display = (tf ? "" : "none");
276 function show_user_agent_opts(tf)
278 if (document.getElementById) {
279 target = document.getElementById("user_agent_opts");
280 } else if (document.all) {
281 target = document.user_agent_opts;
285 target.style.display = (tf ? "" : "none");
288 function show_image_blocker_opts(tf)
290 if (document.getElementById) {
291 target = document.getElementById("image_blocker_opts");
292 } else if (document.all) {
293 target = document.image_blocker_opts;
297 target.style.display = (tf ? "" : "none");
300 function show_limit_connect_opts(tf)
302 if (document.getElementById) {
303 target = document.getElementById("limit_connect_opts");
304 } else if (document.all) {
305 target = document.limit_connect_opts;
309 target.style.display = (tf ? "" : "none");
312 function show_wafer_opts(tf)
314 if (document.getElementById) {
315 target = document.getElementById("wafer_opts");
316 } else if (document.all) {
317 target = document.wafer_opts;
321 target.style.display = (tf ? "" : "none");
330 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
332 <table cellpadding="20" cellspacing="10" border="0" width="100%">
335 <p><big><big><b>This is Privoxy (privacy enhancing proxy) @version@ on @my-hostname@ (@my-ip-address@), port @my-port@, @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</b></big></big></p>
342 <input type="hidden" name="f" value="@f@">
343 <input type="hidden" name="v" value="@v@">
344 <input type="hidden" name="s" value="@s@">
350 <table border="0" width="100%" cellspacing="2" class="wide">
351 <tr class="hdr" align="left">
352 <th class="enh" align="center">Enable</th>
353 <th class="dish" align="center">Disable</th>
354 <th class="noch" align="center">No Change</th>
358 <tr class="bg1" align="left" valign="top">
359 <td class="en1" align="center" valign="middle"><input type="radio"
360 name="add_header" id="add_header_y" value="Y" @add-header-y@
361 onclick="show_add_header_opts(true)"></td>
362 <td class="dis1" align="center" valign="middle"><input type="radio"
363 name="add_header" value="N" @add-header-n@
364 onclick="show_add_header_opts(false)"></td>
365 <td class="noc1" align="center" valign="middle"><input type="radio"
366 name="add_header" value="X" @add-header-x@
367 onclick="show_add_header_opts(false)"></td>
368 <td class="action">+add-header</td>
369 <td>Adds HTTP headers.</td>
371 <tr class="bg1" align="left" valign="top" id="add_header_opts">
372 <td class="en1"> </td>
373 <td class="dis1"> </td>
374 <td class="noc1"> </td>
376 <td>Editing the settings for this option, or turning
377 it on if it was off, is not yet supported using this web-based
380 <tr class="bg2" align="left" valign="top">
381 <td class="en2" align="center" valign="middle"><input type="radio"
382 name="block" value="Y" @block-y@
384 <td class="dis2" align="center" valign="middle"><input type="radio"
385 name="block" value="N" @block-n@
387 <td class="noc2" align="center" valign="middle"><input type="radio"
388 name="block" value="X" @block-x@
390 <td class="action">+block</td>
391 <td>Block the request</td>
393 <tr class="bg1" align="left" valign="top">
394 <td class="en1" align="center" valign="middle"><input type="radio"
395 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
396 onclick="show_deanimate_opts(true)"></td>
397 <td class="dis1" align="center" valign="middle"><input type="radio"
398 name="deanimate_gifs" value="N" @deanimate-gifs-n@
399 onclick="show_deanimate_opts(false)"></td>
400 <td class="noc1" align="center" valign="middle"><input type="radio"
401 name="deanimate_gifs" value="X" @deanimate-gifs-x@
402 onclick="show_deanimate_opts(false)"></td>
403 <td class="action">+deanimate-gifs</td>
404 <td>Replace animated GIFs with their (first/last) frame.</td>
406 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
407 <td class="en1"> </td>
408 <td class="dis1"> </td>
409 <td class="noc1"> </td>
411 <td>Use the <input type="radio" name="deanimate_gifs_mode"
412 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
413 for="deanimate_first">first frame</label> <input
414 type="radio" name="deanimate_gifs_mode" value="last"
415 id="deanimate_last" @deanimate-gifs-param-last@><label
416 for="deanimate_last">last frame</label></td>
418 <tr class="bg2" align="left" valign="top">
419 <td class="en2" align="center" valign="middle"><input type="radio"
420 name="fast_redirects" value="Y" @fast-redirects-y@
422 <td class="dis2" align="center" valign="middle"><input type="radio"
423 name="fast_redirects" value="N" @fast-redirects-n@
425 <td class="noc2" align="center" valign="middle"><input type="radio"
426 name="fast_redirects" value="X" @fast-redirects-x@
428 <td class="action">+fast-redirects</td>
429 <td>Bypass some tracking URLs.</td>
431 <tr class="bg1" align="left" valign="top">
432 <td class="en1" align="center" valign="middle"><input type="radio"
433 name="downgrade" value="Y" @downgrade-y@></td>
434 <td class="dis1" align="center" valign="middle"><input type="radio"
435 name="downgrade" value="N" @downgrade-n@></td>
436 <td class="noc1" align="center" valign="middle"><input type="radio"
437 name="downgrade" value="X" @downgrade-x@></td>
438 <td class="action">+downgrade</td>
439 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
440 what you're doing!</td>
442 <tr class="bg2" align="left" valign="top">
443 <td class="en2"> </td>
444 <td class="dis2"> </td>
445 <td class="noc2"> </td>
446 <td class="action">+filter</td>
447 <td>Filter the website through regular expression filters.
448 You can enable or disable the filters individually.</td>
451 <tr class="bg2" align="left" valign="top">
452 <td class="en2"> </td>
453 <td class="dis2" align="center" valign="middle"><input type="radio"
454 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
455 <td class="noc2" align="center" valign="middle"><input type="radio"
456 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
457 <td class="subaction" colspan="2"> All filters applied by previous rules</td>
460 <tr class="bg1" align="left" valign="top">
461 <td class="en1" align="center" valign="middle"><input type="radio"
462 name="hide_forwarded" value="Y" @hide-forwarded-y@
464 <td class="dis1" align="center" valign="middle"><input type="radio"
465 name="hide_forwarded" value="N" @hide-forwarded-n@
467 <td class="noc1" align="center" valign="middle"><input type="radio"
468 name="hide_forwarded" value="X" @hide-forwarded-x@
470 <td class="action">+hide-forwarded</td>
471 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
473 <tr class="bg2" align="left" valign="top">
474 <td class="en2" align="center" valign="middle"><input type="radio"
475 name="hide_from" id="hide_from_y" value="Y" @hide-from-y@
476 onclick="show_hide_from_opts(true)"></td>
477 <td class="dis2" align="center" valign="middle"><input type="radio"
478 name="hide_from" value="N" @hide-from-n@
479 onclick="show_hide_from_opts(false)"></td>
480 <td class="noc2" align="center" valign="middle"><input type="radio"
481 name="hide_from" value="X" @hide-from-x@
482 onclick="show_hide_from_opts(false)"></td>
483 <td class="action">+hide-from</td>
484 <td>Stop old web browsers from sending the user's e-mail address with
487 <tr class="bg2" align="left" valign="top" id="hide_from_opts">
488 <td class="en2"> </td>
489 <td class="dis2"> </td>
490 <td class="noc2"> </td>
492 <td><input type="radio" name="hide_from_mode" value="block"
493 onclick="hide_from_param_disable(true);"
494 @hide-from-param-block@ id="from_mode_block"><label
495 for="from_mode_block">Remove completely</label><br>
496 <input type="radio" name="hide_from_mode" value="CUSTOM"
497 onclick="hide_from_param_disable(false);"
498 @hide-from-param-custom@ id="from_mode_set"><label
499 for="from_mode_set">Fake e-mail address:</label><br>
500 <input type="text" name="hide_from_param" id="hide_from_param"
501 size="40" value="@hide-from-param@"></td>
503 <tr class="bg1" align="left" valign="top">
504 <td class="en1" align="center" valign="middle"><input type="radio"
505 name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
506 onclick="show_hide_referer_opts(true)"></td>
507 <td class="dis1" align="center" valign="middle"><input type="radio"
508 name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
509 onclick="show_hide_referer_opts(false)"></td>
510 <td class="noc1" align="center" valign="middle"><input type="radio"
511 name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
512 onclick="show_hide_referer_opts(false)"
514 <td class="action">+hide-referer</td>
515 <td>Helps prevent tracking by not sending the URL of the previous web
518 <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
519 <td class="en1"> </td>
520 <td class="dis1"> </td>
521 <td class="noc1"> </td>
523 <td><input type="radio" name="hide_referer_mode" value="block"
524 onclick="hide_referer_param_disable(true)"
525 @hide-referer-param-block@ id="referer_mode_block"><label
526 for="referer_mode_block">Remove completely</label> (breaks images
527 on some free web hosts).<br>
528 <input type="radio" name="hide_referer_mode" value="forge"
529 onclick="hide_referer_param_disable(true)"
530 @hide-referer-param-forge@ id="referer_mode_forge"><label
531 for="referer_mode_forge">Fake as the root directory of the
532 site</label> (fools checks for in-site links.)<br>
533 <input type="radio" name="hide_referer_mode" value="CUSTOM"
534 onclick="hide_referer_param_disable(false)"
535 @hide-referer-param-custom@ id="referer_mode_set"><label
536 for="referer_mode_set">Fake as this web address:</label><br>
537 <input type="text" name="hide_referer_param"
538 id="hide_referer_param" size="40"
539 value="@hide-referer-param@"></td>
541 <tr class="bg2" align="left" valign="top">
542 <td class="en2" align="center" valign="middle"><input type="radio"
543 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
544 onclick="show_user_agent_opts(true)"></td>
545 <td class="dis2" align="center" valign="middle"><input type="radio"
546 name="hide_user_agent" value="N" @hide-user-agent-n@
547 onclick="show_user_agent_opts(false)"></td>
548 <td class="noc2" align="center" valign="middle"><input type="radio"
549 name="hide_user_agent" value="X" @hide-user-agent-x@
550 onclick="show_user_agent_opts(false)"></td>
551 <td class="action">+hide-user-agent</td>
552 <td>Pretend to be using a different web browser. (Breaks many web
555 <tr class="bg2" align="left" valign="top" id="user_agent_opts">
556 <td class="en2"> </td>
557 <td class="dis2"> </td>
558 <td class="noc2"> </td>
560 <td>User Agent string to send:<br>
561 <input type="text" name="hide_user_agent_mode" size="40"
562 value="@hide-user-agent-param@"></td>
564 <tr class="bg1" align="left" valign="top">
565 <td class="en1" align="center" valign="middle"><input type="radio"
566 name="image" value="Y" @image-y@
568 <td class="dis1" align="center" valign="middle"><input type="radio"
569 name="image" value="N" @image-n@
571 <td class="noc1" align="center" valign="middle"><input type="radio"
572 name="image" value="X" @image-x@
574 <td class="action">+image</td>
575 <td>Request is for an image (only useful in conjunction with the <i><b>+block</b></i>
576 and <i><b>+image-blocker</b></i> options).</td>
578 <tr class="bg2" align="left" valign="top">
579 <td class="en2" align="center" valign="middle"><input type="radio"
580 name="image_blocker" id="image_blocker_y" value="Y" @image-blocker-y@
581 onclick="show_image_blocker_opts(true)"></td>
582 <td class="dis2" align="center" valign="middle"><input type="radio"
583 name="image_blocker" value="N" @image-blocker-n@
584 onclick="show_image_blocker_opts(false)"></td>
585 <td class="noc2" align="center" valign="middle"><input type="radio"
586 name="image_blocker" value="X" @image-blocker-x@
587 onclick="show_image_blocker_opts(false)"></td>
588 <td class="action">+image-blocker</td>
589 <td>Specifies how to block images. Disable to always send a HTML
590 "blocked" page.</td>
592 <tr class="bg2" align="left" valign="top" id="image_blocker_opts">
593 <td class="en2"> </td>
594 <td class="dis2"> </td>
595 <td class="noc2"> </td>
597 <td><input type="radio" name="image_blocker_mode"
598 onclick="image_blocker_param_disable(true)"
599 value="pattern" id="image_blocker_mode_pattern"
600 @image-blocker-param-pattern@><label
601 for="image_blocker_mode_pattern">Send a pattern (<img
602 src="send-banner?type=p" width="12" height="12"
603 alt="pattern">)</label><br>
604 <input type="radio" name="image_blocker_mode" value="blank"
605 onclick="image_blocker_param_disable(true)"
606 id="image_blocker_mode_blank" @image-blocker-param-blank@><label
607 for="image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
608 <input type="radio" name="image_blocker_mode" value="CUSTOM"
609 onclick="image_blocker_param_disable(false)"
610 id="image_blocker_mode_set" @image-blocker-param-custom@><label
611 for="image_blocker_mode_set">Redirect
612 the browser to this image URL:</label><br>
613 <input type="text" name="image_blocker_param" id="image_blocker_param"
614 size="40" value="@image-blocker-param@"></td>
616 <tr class="bg1" align="left" valign="top">
617 <td class="en1" align="center" valign="middle"><input type="radio"
618 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
619 onclick="show_limit_connect_opts(true)"></td>
620 <td class="dis1" align="center" valign="middle"><input type="radio"
621 name="limit_connect" value="N" @limit-connect-n@
622 onclick="show_limit_connect_opts(false)"></td>
623 <td class="noc1" align="center" valign="middle"><input type="radio"
624 name="limit_connect" value="X" @limit-connect-x@
625 onclick="show_limit_connect_opts(false)"></td>
626 <td class="action">+limit-connect</td>
627 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
628 Note that this allows arbitrary tunnelling, so opening all
629 ports would be a security hole.</td>
631 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
632 <td class="en1"> </td>
633 <td class="dis1"> </td>
634 <td class="noc1"> </td>
636 <td>Legal SSL ports (comma separated, ranges allowed):<br>
637 <input type="text" name="limit_connect_mode" size="40"
638 value="@limit-connect-param@"></td>
640 <tr class="bg2" align="left" valign="top">
641 <td class="en2" align="center" valign="middle"><input type="radio"
642 name="no_compression" value="Y" @no-compression-y@
644 <td class="dis2" align="center" valign="middle"><input type="radio"
645 name="no_compression" value="N" @no-compression-n@
647 <td class="noc2" align="center" valign="middle"><input type="radio"
648 name="no_compression" value="X" @no-compression-x@
650 <td class="action">+no-compression</td>
651 <td>Disables compression. Compressed web pages are faster to
652 download, but cannot be filtered with +filter or +no-popups.
653 This setting only affects the few web sites which support
656 <tr class="bg1" align="left" valign="top">
657 <td class="en1" align="center" valign="middle"><input type="radio"
658 name="no_cookies_keep" value="Y" @no-cookies-keep-y@
660 <td class="dis1" align="center" valign="middle"><input type="radio"
661 name="no_cookies_keep" value="N" @no-cookies-keep-n@
663 <td class="noc1" align="center" valign="middle"><input type="radio"
664 name="no_cookies_keep" value="X" @no-cookies-keep-x@
666 <td class="action">+no-cookies-keep</td>
667 <td>Any cookies set by the website are changed to temporary
668 ("per-session") ones, which only last until you close your web
669 browser. This will allow you to use sites that require cookies, but
670 sites will not be able to track you across sessions. For this to
671 be useful, you should disable <b><i>no-cookies-read</i></b> and
672 <b><i>no-cookies-set</i></b>.</td>
674 <tr class="bg2" align="left" valign="top">
675 <td class="en2" align="center" valign="middle"><input type="radio"
676 name="no_cookies_read" value="Y" @no-cookies-read-y@
678 <td class="dis2" align="center" valign="middle"><input type="radio"
679 name="no_cookies_read" value="N" @no-cookies-read-n@
681 <td class="noc2" align="center" valign="middle"><input type="radio"
682 name="no_cookies_read" value="X" @no-cookies-read-x@
684 <td class="action">+no-cookies-read</td>
685 <td>Prevent the website from reading cookies.</td>
687 <tr class="bg1" align="left" valign="top">
688 <td class="en1" align="center" valign="middle"><input type="radio"
689 name="no_cookies_set" value="Y" @no-cookies-set-y@
691 <td class="dis1" align="center" valign="middle"><input type="radio"
692 name="no_cookies_set" value="N" @no-cookies-set-n@
694 <td class="noc1" align="center" valign="middle"><input type="radio"
695 name="no_cookies_set" value="X" @no-cookies-set-x@
697 <td class="action">+no-cookies-set</td>
698 <td>Prevent the website from setting cookies.</td>
700 <tr class="bg2" align="left" valign="top">
701 <td class="en2" align="center" valign="middle"><input type="radio"
702 name="no_popups" value="Y" @no-popups-y@
704 <td class="dis2" align="center" valign="middle"><input type="radio"
705 name="no_popups" value="N" @no-popups-n@
707 <td class="noc2" align="center" valign="middle"><input type="radio"
708 name="no_popups" value="X" @no-popups-x@
710 <td class="action">+no-popups</td>
711 <td>Filter the website through a built-in filter to disable JavaScript
714 <tr class="bg1" align="left" valign="top">
715 <td class="en1" align="center" valign="middle"><input type="radio"
716 name="vanilla_wafer" value="Y" @vanilla-wafer-y@
718 <td class="dis1" align="center" valign="middle"><input type="radio"
719 name="vanilla_wafer" value="N" @vanilla-wafer-n@
721 <td class="noc1" align="center" valign="middle"><input type="radio"
722 name="vanilla_wafer" value="X" @vanilla-wafer-x@
724 <td class="action">+vanilla-wafer</td>
725 <td>If you use a jarfile, automatically adds a special wafer.</td>
727 <tr class="bg2" align="left" valign="top">
728 <td class="en2" align="center" valign="middle"><input type="radio"
729 name="wafer" id="wafer_y" value="Y" @wafer-y@
730 onclick="show_wafer_opts(true)"></td>
731 <td class="dis2" align="center" valign="middle"><input type="radio"
732 name="wafer" id="wafer_n" value="N" @wafer-n@
733 onclick="show_wafer_opts(false)"></td>
734 <td class="noc2" align="center" valign="middle"><input type="radio"
735 name="wafer" id="wafer_x" value="X" @wafer-x@
736 onclick="show_wafer_opts(false)"></td>
737 <td class="action">+wafer</td>
738 <td>Adds user-specified cookies.</td>
740 <tr class="bg2" align="left" valign="top" id="wafer_opts">
741 <td class="en2"> </td>
742 <td class="dis2"> </td>
743 <td class="noc2"> </td>
745 <td>Editing the settings for this option, or turning
746 it on if it was off, is not yet supported using this web-based
752 <script type="text/javascript">
755 if (document.getElementById) {
756 // alert("Netscape 6 or IE5");
757 document.getElementById("hide_from_param").disabled = !(document.getElementById("from_mode_set").checked);
758 document.getElementById("hide_referer_param").disabled = !(document.getElementById("referer_mode_set").checked);
759 document.getElementById("image_blocker_param").disabled = !(document.getElementById("image_blocker_mode_set").checked);
761 show_add_header_opts (document.getElementById("add_header_y").checked);
762 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
763 show_hide_from_opts (document.getElementById("hide_from_y").checked);
764 show_hide_referer_opts (document.getElementById("hide_referer_y").checked);
765 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
766 show_image_blocker_opts (document.getElementById("image_blocker_y").checked);
767 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
768 show_wafer_opts (document.getElementById("wafer_y").checked);
769 } else if (document.all) {
771 document.myform.hide_from_param.disabled = !(document.myform.from_mode_set.checked);
772 document.myform.hide_referer_param.disabled = !(document.myform.referer_mode_set.checked);
773 document.myform.image_blocker_param.disabled = !(document.myform.image_blocker_mode_set.checked);
775 show_add_header_opts (document.myform.add_header_y.checked);
776 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
777 show_hide_from_opts (document.myform.hide_from_y.checked);
778 show_hide_referer_opts (document.myform.hide_referer_y.checked);
779 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
780 show_image_blocker_opts (document.myform.image_blocker_y.checked);
781 show_limit_connect_opts (document.myform.limit_connect_y.checked);
782 show_wafer_opts (document.myform.wafer_y.checked);
783 } else if (document.layers) {
784 // alert("Netscape 4");
789 <table cellpadding="20" cellspacing="10" border="0" width="100%">
791 <td class="green" align="center">
792 <p><input type="submit" value="Submit" name="Submit"></p>
798 <h2>More Privoxy:</h2>
805 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>