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://ijbswa.sourceforge.net
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.17 2002/03/24 15:23:33 jongfoster
38 # Revision 1.16 2002/03/24 11:01:06 swa
41 # Revision 1.15 2002/03/23 16:18:15 swa
42 # renamed every reference to the old name with foobar.
43 # fixed "application foobar application" tag, fixed
44 # "the foobar" with "foobar". left junkbuster in cvs
45 # comments and remarks to history untouched. should
46 # make final rename easier.
48 # Revision 1.14 2002/03/16 15:22:19 jongfoster
49 # Moving 'alpha' warning to the end of the page
51 # Revision 1.13 2002/03/16 14:28:38 jongfoster
52 # First version of modular filters support
54 # Revision 1.12 2002/03/12 01:42:50 oes
55 # Introduced modular filters
57 # Revision 1.11 2002/03/08 18:19:14 jongfoster
58 # Adding +image-blocker{pattern} option to edit interface
60 # Revision 1.10 2002/03/03 10:29:12 swa
61 # point users to the right feedback forms,
62 # not necessarily the developer list.
64 # Revision 1.9 2002/01/23 00:26:45 jongfoster
65 # Reducing length of URLs
66 # Where encoded and unencoded versions of a string existed, removing
69 # Revision 1.8 2002/01/17 21:33:00 jongfoster
70 # Replacing all references to the URL of the config interface
73 # Revision 1.7 2002/01/17 21:21:03 jongfoster
74 # DOS->Unix line endings
76 # Revision 1.6 2001/11/22 21:58:41 jongfoster
77 # Adding action +no-cookies-keep
79 # Revision 1.5 2001/11/13 21:12:17 jongfoster
80 # Added support for the following actions:
81 # +downgrade, +limit-connect, +no-compression
83 # Revision 1.4 2001/11/13 00:58:18 jongfoster
84 # New version of actions file editor templates
87 ##############################################################################
89 # Browser support for the JavaScript on this page:
90 # MS Internet Explorer 5.5 - Tested, Yes
91 # Netscape 6.0 - Tested, Yes
92 # Netscape 4.75 - Tested, NO
93 # Opera 5.12 - Tested, NO
94 # MS Internet Explorer 4+ - Untested, Yes
95 # MS IE 3.x, NS3.x - Untested, NO
96 # Mozilla >=0.6 - Untested, Yes
98 # All browsers should work, you just might not get the pretty DHTML effects.
100 # The effects that only work under the browsers marked "Yes" above are:
101 # - Text edit boxes that won't have any effect are disabled.
102 # - Table rows containing additional settings are hidden if the feature in
103 # question is disabled.
105 # There are major kludges to get around these problems with NS4, but they
106 # screw up the HTML too much for other browsers. If anyone wants to try,
107 # here's some descriptions of the kludges:
108 # http://www.webreference.com/js/tips/991114.html
109 # http://www.webreference.com/dhtml/column12/outDisplay.html
111 # If you're favorite browser isn't listed, please test and add it.
114 #############################################################################
118 # This file currently produces valid HTML 4.01 Strict.
120 # If you change it, please save the generated page from your web browser
121 # and then upload it to http://validator.w3.org/ for checking.
123 #############################################################################
125 # Available variables include:
131 # deanimate-gifs-param-first
132 # deanimate-gifs-param-last
133 # hide-from-param-block
134 # hide-from-param-custom
136 # hide-referer-param-forge
137 # hide-referer-param-block
138 # hide-referer-param-custom
140 # hide-user-agent-param
141 # image-blocker-param-pattern
142 # image-blocker-param-blank
143 # image-blocker-param-custom
146 #############################################################################
147 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
151 <meta http-equiv="Content-Style-Type" content="text/css">
152 <meta http-equiv="Content-Script-Type" content="text/javascript">
153 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
154 <meta name="robots" content="noindex,nofollow">
156 <title>Privoxy: Edit actions</title>
158 <style type="text/css">
159 body { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
160 background-color: #ffffff;
162 td.action { font-weight: bold;
164 white-space: nowrap }
165 td.subaction { font-style: italic }
166 th { font-weight: bold; }
167 # This is the key to the color names below:
168 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
169 # 1=odd rows, 2=even rows, h=Table header
170 tr.hdr { background-color: #999999 }
171 tr.bg1 { background-color: #eeeeee }
172 td.en1 { background-color: #eeffee }
173 td.dis1 { background-color: #ffeeee }
174 td.noc1 { background-color: #eeeeff }
175 tr.bg2 { background-color: #dddddd }
176 td.en2 { background-color: #ddffdd }
177 td.dis2 { background-color: #ffdddd }
178 td.noc2 { background-color: #ddddff }
179 th.enh { background-color: #99ff99 }
180 th.dish { background-color: #ff9999 }
181 th.noch { background-color: #9999ff }
182 table.wide { border-color: white;
184 border-left-width: 10px;
185 border-right-width: 10px;
186 border-top-width: 0px;
187 border-bottom-width: 0px }
188 td.light { background-color: #eeeeee }
189 td.dark { background-color: #dddddd }
190 td.green { background-color: #ddffdd }
193 <script type="text/javascript">
196 function hide_from_param_disable(tf)
198 if (document.getElementById) {
200 document.getElementById("hide_from_param").disabled = tf;
201 } else if (document.all) {
203 document.myform.hide_from_param.disabled = tf;
207 function hide_referer_param_disable(tf)
209 if (document.getElementById) {
210 document.getElementById("hide_referer_param").disabled = tf;
211 } else if (document.all) {
212 document.myform.hide_referer_param.disabled = tf;
216 function image_blocker_param_disable(tf)
218 if (document.getElementById) {
219 document.getElementById("image_blocker_param").disabled = tf;
220 } else if (document.all) {
221 document.myform.image_blocker_param.disabled = tf;
225 function show_add_header_opts(tf)
227 if (document.getElementById) {
228 target = document.getElementById("add_header_opts");
229 } else if (document.all) {
230 target = document.add_header_opts;
234 target.style.display = (tf ? "" : "none");
237 function show_deanimate_opts(tf)
239 if (document.getElementById) {
240 target = document.getElementById("deanimate_opts");
241 } else if (document.all) {
242 target = document.deanimate_opts;
246 target.style.display = (tf ? "" : "none");
249 function show_hide_from_opts(tf)
251 if (document.getElementById) {
252 target = document.getElementById("hide_from_opts");
253 } else if (document.all) {
254 target = document.hide_from_opts;
258 target.style.display = (tf ? "" : "none");
261 function show_hide_referer_opts(tf)
263 if (document.getElementById) {
264 target = document.getElementById("hide_referer_opts");
265 } else if (document.all) {
266 target = document.hide_referer_opts;
270 target.style.display = (tf ? "" : "none");
273 function show_user_agent_opts(tf)
275 if (document.getElementById) {
276 target = document.getElementById("user_agent_opts");
277 } else if (document.all) {
278 target = document.user_agent_opts;
282 target.style.display = (tf ? "" : "none");
285 function show_image_blocker_opts(tf)
287 if (document.getElementById) {
288 target = document.getElementById("image_blocker_opts");
289 } else if (document.all) {
290 target = document.image_blocker_opts;
294 target.style.display = (tf ? "" : "none");
297 function show_limit_connect_opts(tf)
299 if (document.getElementById) {
300 target = document.getElementById("limit_connect_opts");
301 } else if (document.all) {
302 target = document.limit_connect_opts;
306 target.style.display = (tf ? "" : "none");
309 function show_wafer_opts(tf)
311 if (document.getElementById) {
312 target = document.getElementById("wafer_opts");
313 } else if (document.all) {
314 target = document.wafer_opts;
318 target.style.display = (tf ? "" : "none");
327 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
329 <table cellpadding="20" cellspacing="10" border="0" width="100%">
332 <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>
339 <input type="hidden" name="f" value="@f@">
340 <input type="hidden" name="v" value="@v@">
341 <input type="hidden" name="s" value="@s@">
347 <table border="0" width="100%" cellspacing="2" class="wide">
348 <tr class="hdr" align="left">
349 <th class="enh" align="center">Enable</th>
350 <th class="dish" align="center">Disable</th>
351 <th class="noch" align="center">No Change</th>
355 <tr class="bg1" align="left" valign="top">
356 <td class="en1" align="center" valign="middle"><input type="radio"
357 name="add_header" id="add_header_y" value="Y" @add-header-y@
358 onclick="show_add_header_opts(true)"></td>
359 <td class="dis1" align="center" valign="middle"><input type="radio"
360 name="add_header" value="N" @add-header-n@
361 onclick="show_add_header_opts(false)"></td>
362 <td class="noc1" align="center" valign="middle"><input type="radio"
363 name="add_header" value="X" @add-header-x@
364 onclick="show_add_header_opts(false)"></td>
365 <td class="action">+add-header</td>
366 <td>Adds HTTP headers.</td>
368 <tr class="bg1" align="left" valign="top" id="add_header_opts">
369 <td class="en1"> </td>
370 <td class="dis1"> </td>
371 <td class="noc1"> </td>
373 <td>Editing the settings for this option, or turning
374 it on if it was off, is not yet supported using this web-based
377 <tr class="bg2" align="left" valign="top">
378 <td class="en2" align="center" valign="middle"><input type="radio"
379 name="block" value="Y" @block-y@
381 <td class="dis2" align="center" valign="middle"><input type="radio"
382 name="block" value="N" @block-n@
384 <td class="noc2" align="center" valign="middle"><input type="radio"
385 name="block" value="X" @block-x@
387 <td class="action">+block</td>
388 <td>Block the request</td>
390 <tr class="bg1" align="left" valign="top">
391 <td class="en1" align="center" valign="middle"><input type="radio"
392 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
393 onclick="show_deanimate_opts(true)"></td>
394 <td class="dis1" align="center" valign="middle"><input type="radio"
395 name="deanimate_gifs" value="N" @deanimate-gifs-n@
396 onclick="show_deanimate_opts(false)"></td>
397 <td class="noc1" align="center" valign="middle"><input type="radio"
398 name="deanimate_gifs" value="X" @deanimate-gifs-x@
399 onclick="show_deanimate_opts(false)"></td>
400 <td class="action">+deanimate-gifs</td>
401 <td>Replace animated GIFs with their (first/last) frame.</td>
403 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
404 <td class="en1"> </td>
405 <td class="dis1"> </td>
406 <td class="noc1"> </td>
408 <td>Use the <input type="radio" name="deanimate_gifs_mode"
409 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
410 for="deanimate_first">first frame</label> <input
411 type="radio" name="deanimate_gifs_mode" value="last"
412 id="deanimate_last" @deanimate-gifs-param-last@><label
413 for="deanimate_last">last frame</label></td>
415 <tr class="bg2" align="left" valign="top">
416 <td class="en2" align="center" valign="middle"><input type="radio"
417 name="fast_redirects" value="Y" @fast-redirects-y@
419 <td class="dis2" align="center" valign="middle"><input type="radio"
420 name="fast_redirects" value="N" @fast-redirects-n@
422 <td class="noc2" align="center" valign="middle"><input type="radio"
423 name="fast_redirects" value="X" @fast-redirects-x@
425 <td class="action">+fast-redirects</td>
426 <td>Bypass some tracking URLs.</td>
428 <tr class="bg1" align="left" valign="top">
429 <td class="en1" align="center" valign="middle"><input type="radio"
430 name="downgrade" value="Y" @downgrade-y@></td>
431 <td class="dis1" align="center" valign="middle"><input type="radio"
432 name="downgrade" value="N" @downgrade-n@></td>
433 <td class="noc1" align="center" valign="middle"><input type="radio"
434 name="downgrade" value="X" @downgrade-x@></td>
435 <td class="action">+downgrade</td>
436 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
437 what you're doing!</td>
439 <tr class="bg2" align="left" valign="top">
440 <td class="en2"> </td>
441 <td class="dis2"> </td>
442 <td class="noc2"> </td>
443 <td class="action">+filter</td>
444 <td>Filter the website through regular expression filters.
445 You can enable or disable the filters individually.</td>
448 <tr class="bg2" align="left" valign="top">
449 <td class="en2"> </td>
450 <td class="dis2" align="center" valign="middle"><input type="radio"
451 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
452 <td class="noc2" align="center" valign="middle"><input type="radio"
453 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
454 <td class="subaction" colspan="2"> All filters applied by previous rules</td>
457 <tr class="bg1" align="left" valign="top">
458 <td class="en1" align="center" valign="middle"><input type="radio"
459 name="hide_forwarded" value="Y" @hide-forwarded-y@
461 <td class="dis1" align="center" valign="middle"><input type="radio"
462 name="hide_forwarded" value="N" @hide-forwarded-n@
464 <td class="noc1" align="center" valign="middle"><input type="radio"
465 name="hide_forwarded" value="X" @hide-forwarded-x@
467 <td class="action">+hide-forwarded</td>
468 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
470 <tr class="bg2" align="left" valign="top">
471 <td class="en2" align="center" valign="middle"><input type="radio"
472 name="hide_from" id="hide_from_y" value="Y" @hide-from-y@
473 onclick="show_hide_from_opts(true)"></td>
474 <td class="dis2" align="center" valign="middle"><input type="radio"
475 name="hide_from" value="N" @hide-from-n@
476 onclick="show_hide_from_opts(false)"></td>
477 <td class="noc2" align="center" valign="middle"><input type="radio"
478 name="hide_from" value="X" @hide-from-x@
479 onclick="show_hide_from_opts(false)"></td>
480 <td class="action">+hide-from</td>
481 <td>Stop old web browsers from sending the user's e-mail address with
484 <tr class="bg2" align="left" valign="top" id="hide_from_opts">
485 <td class="en2"> </td>
486 <td class="dis2"> </td>
487 <td class="noc2"> </td>
489 <td><input type="radio" name="hide_from_mode" value="block"
490 onclick="hide_from_param_disable(true);"
491 @hide-from-param-block@ id="from_mode_block"><label
492 for="from_mode_block">Remove completely</label><br>
493 <input type="radio" name="hide_from_mode" value="CUSTOM"
494 onclick="hide_from_param_disable(false);"
495 @hide-from-param-custom@ id="from_mode_set"><label
496 for="from_mode_set">Fake e-mail address:</label><br>
497 <input type="text" name="hide_from_param" id="hide_from_param"
498 size="40" value="@hide-from-param@"></td>
500 <tr class="bg1" align="left" valign="top">
501 <td class="en1" align="center" valign="middle"><input type="radio"
502 name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
503 onclick="show_hide_referer_opts(true)"></td>
504 <td class="dis1" align="center" valign="middle"><input type="radio"
505 name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
506 onclick="show_hide_referer_opts(false)"></td>
507 <td class="noc1" align="center" valign="middle"><input type="radio"
508 name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
509 onclick="show_hide_referer_opts(false)"
511 <td class="action">+hide-referer</td>
512 <td>Helps prevent tracking by not sending the URL of the previous web
515 <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
516 <td class="en1"> </td>
517 <td class="dis1"> </td>
518 <td class="noc1"> </td>
520 <td><input type="radio" name="hide_referer_mode" value="block"
521 onclick="hide_referer_param_disable(true)"
522 @hide-referer-param-block@ id="referer_mode_block"><label
523 for="referer_mode_block">Remove completely</label> (breaks images
524 on some free web hosts).<br>
525 <input type="radio" name="hide_referer_mode" value="forge"
526 onclick="hide_referer_param_disable(true)"
527 @hide-referer-param-forge@ id="referer_mode_forge"><label
528 for="referer_mode_forge">Fake as the root directory of the
529 site</label> (fools checks for in-site links.)<br>
530 <input type="radio" name="hide_referer_mode" value="CUSTOM"
531 onclick="hide_referer_param_disable(false)"
532 @hide-referer-param-custom@ id="referer_mode_set"><label
533 for="referer_mode_set">Fake as this web address:</label><br>
534 <input type="text" name="hide_referer_param"
535 id="hide_referer_param" size="40"
536 value="@hide-referer-param@"></td>
538 <tr class="bg2" align="left" valign="top">
539 <td class="en2" align="center" valign="middle"><input type="radio"
540 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
541 onclick="show_user_agent_opts(true)"></td>
542 <td class="dis2" align="center" valign="middle"><input type="radio"
543 name="hide_user_agent" value="N" @hide-user-agent-n@
544 onclick="show_user_agent_opts(false)"></td>
545 <td class="noc2" align="center" valign="middle"><input type="radio"
546 name="hide_user_agent" value="X" @hide-user-agent-x@
547 onclick="show_user_agent_opts(false)"></td>
548 <td class="action">+hide-user-agent</td>
549 <td>Pretend to be using a different web browser. (Breaks many web
552 <tr class="bg2" align="left" valign="top" id="user_agent_opts">
553 <td class="en2"> </td>
554 <td class="dis2"> </td>
555 <td class="noc2"> </td>
557 <td>User Agent string to send:<br>
558 <input type="text" name="hide_user_agent_mode" size="40"
559 value="@hide-user-agent-param@"></td>
561 <tr class="bg1" align="left" valign="top">
562 <td class="en1" align="center" valign="middle"><input type="radio"
563 name="image" value="Y" @image-y@
565 <td class="dis1" align="center" valign="middle"><input type="radio"
566 name="image" value="N" @image-n@
568 <td class="noc1" align="center" valign="middle"><input type="radio"
569 name="image" value="X" @image-x@
571 <td class="action">+image</td>
572 <td>Request is for an image (only useful in conjunction with the <i><b>+block</b></i>
573 and <i><b>+image-blocker</b></i> options).</td>
575 <tr class="bg2" align="left" valign="top">
576 <td class="en2" align="center" valign="middle"><input type="radio"
577 name="image_blocker" id="image_blocker_y" value="Y" @image-blocker-y@
578 onclick="show_image_blocker_opts(true)"></td>
579 <td class="dis2" align="center" valign="middle"><input type="radio"
580 name="image_blocker" value="N" @image-blocker-n@
581 onclick="show_image_blocker_opts(false)"></td>
582 <td class="noc2" align="center" valign="middle"><input type="radio"
583 name="image_blocker" value="X" @image-blocker-x@
584 onclick="show_image_blocker_opts(false)"></td>
585 <td class="action">+image-blocker</td>
586 <td>Specifies how to block images. Disable to always send a HTML
587 "blocked" page.</td>
589 <tr class="bg2" align="left" valign="top" id="image_blocker_opts">
590 <td class="en2"> </td>
591 <td class="dis2"> </td>
592 <td class="noc2"> </td>
594 <td><input type="radio" name="image_blocker_mode"
595 onclick="image_blocker_param_disable(true)"
596 value="pattern" id="image_blocker_mode_pattern"
597 @image-blocker-param-pattern@><label
598 for="image_blocker_mode_pattern">Send a pattern (<img
599 src="send-banner?type=p" width="12" height="12"
600 alt="pattern">)</label><br>
601 <input type="radio" name="image_blocker_mode" value="blank"
602 onclick="image_blocker_param_disable(true)"
603 id="image_blocker_mode_blank" @image-blocker-param-blank@><label
604 for="image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
605 <input type="radio" name="image_blocker_mode" value="CUSTOM"
606 onclick="image_blocker_param_disable(false)"
607 id="image_blocker_mode_set" @image-blocker-param-custom@><label
608 for="image_blocker_mode_set">Redirect
609 the browser to this image URL:</label><br>
610 <input type="text" name="image_blocker_param" id="image_blocker_param"
611 size="40" value="@image-blocker-param@"></td>
613 <tr class="bg1" align="left" valign="top">
614 <td class="en1" align="center" valign="middle"><input type="radio"
615 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
616 onclick="show_limit_connect_opts(true)"></td>
617 <td class="dis1" align="center" valign="middle"><input type="radio"
618 name="limit_connect" value="N" @limit-connect-n@
619 onclick="show_limit_connect_opts(false)"></td>
620 <td class="noc1" align="center" valign="middle"><input type="radio"
621 name="limit_connect" value="X" @limit-connect-x@
622 onclick="show_limit_connect_opts(false)"></td>
623 <td class="action">+limit-connect</td>
624 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
625 Note that this allows arbitrary tunnelling, so opening all
626 ports would be a security hole.</td>
628 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
629 <td class="en1"> </td>
630 <td class="dis1"> </td>
631 <td class="noc1"> </td>
633 <td>Legal SSL ports (comma separated, ranges allowed):<br>
634 <input type="text" name="limit_connect_mode" size="40"
635 value="@limit-connect-param@"></td>
637 <tr class="bg2" align="left" valign="top">
638 <td class="en2" align="center" valign="middle"><input type="radio"
639 name="no_compression" value="Y" @no-compression-y@
641 <td class="dis2" align="center" valign="middle"><input type="radio"
642 name="no_compression" value="N" @no-compression-n@
644 <td class="noc2" align="center" valign="middle"><input type="radio"
645 name="no_compression" value="X" @no-compression-x@
647 <td class="action">+no-compression</td>
648 <td>Disables compression. Compressed web pages are faster to
649 download, but cannot be filtered with +filter or +no-popups.
650 This setting only affects the few web sites which support
653 <tr class="bg1" align="left" valign="top">
654 <td class="en1" align="center" valign="middle"><input type="radio"
655 name="no_cookies_keep" value="Y" @no-cookies-keep-y@
657 <td class="dis1" align="center" valign="middle"><input type="radio"
658 name="no_cookies_keep" value="N" @no-cookies-keep-n@
660 <td class="noc1" align="center" valign="middle"><input type="radio"
661 name="no_cookies_keep" value="X" @no-cookies-keep-x@
663 <td class="action">+no-cookies-keep</td>
664 <td>Any cookies set by the website are changed to temporary
665 ("per-session") ones, which only last until you close your web
666 browser. This will allow you to use sites that require cookies, but
667 sites will not be able to track you across sessions. For this to
668 be useful, you should disable <b><i>no-cookies-read</i></b> and
669 <b><i>no-cookies-set</i></b>.</td>
671 <tr class="bg2" align="left" valign="top">
672 <td class="en2" align="center" valign="middle"><input type="radio"
673 name="no_cookies_read" value="Y" @no-cookies-read-y@
675 <td class="dis2" align="center" valign="middle"><input type="radio"
676 name="no_cookies_read" value="N" @no-cookies-read-n@
678 <td class="noc2" align="center" valign="middle"><input type="radio"
679 name="no_cookies_read" value="X" @no-cookies-read-x@
681 <td class="action">+no-cookies-read</td>
682 <td>Prevent the website from reading cookies.</td>
684 <tr class="bg1" align="left" valign="top">
685 <td class="en1" align="center" valign="middle"><input type="radio"
686 name="no_cookies_set" value="Y" @no-cookies-set-y@
688 <td class="dis1" align="center" valign="middle"><input type="radio"
689 name="no_cookies_set" value="N" @no-cookies-set-n@
691 <td class="noc1" align="center" valign="middle"><input type="radio"
692 name="no_cookies_set" value="X" @no-cookies-set-x@
694 <td class="action">+no-cookies-set</td>
695 <td>Prevent the website from setting cookies.</td>
697 <tr class="bg2" align="left" valign="top">
698 <td class="en2" align="center" valign="middle"><input type="radio"
699 name="no_popups" value="Y" @no-popups-y@
701 <td class="dis2" align="center" valign="middle"><input type="radio"
702 name="no_popups" value="N" @no-popups-n@
704 <td class="noc2" align="center" valign="middle"><input type="radio"
705 name="no_popups" value="X" @no-popups-x@
707 <td class="action">+no-popups</td>
708 <td>Filter the website through a built-in filter to disable JavaScript
711 <tr class="bg1" align="left" valign="top">
712 <td class="en1" align="center" valign="middle"><input type="radio"
713 name="vanilla_wafer" value="Y" @vanilla-wafer-y@
715 <td class="dis1" align="center" valign="middle"><input type="radio"
716 name="vanilla_wafer" value="N" @vanilla-wafer-n@
718 <td class="noc1" align="center" valign="middle"><input type="radio"
719 name="vanilla_wafer" value="X" @vanilla-wafer-x@
721 <td class="action">+vanilla-wafer</td>
722 <td>If you use a jarfile, automatically adds a special wafer.</td>
724 <tr class="bg2" align="left" valign="top">
725 <td class="en2" align="center" valign="middle"><input type="radio"
726 name="wafer" id="wafer_y" value="Y" @wafer-y@
727 onclick="show_wafer_opts(true)"></td>
728 <td class="dis2" align="center" valign="middle"><input type="radio"
729 name="wafer" id="wafer_n" value="N" @wafer-n@
730 onclick="show_wafer_opts(false)"></td>
731 <td class="noc2" align="center" valign="middle"><input type="radio"
732 name="wafer" id="wafer_x" value="X" @wafer-x@
733 onclick="show_wafer_opts(false)"></td>
734 <td class="action">+wafer</td>
735 <td>Adds user-specified cookies.</td>
737 <tr class="bg2" align="left" valign="top" id="wafer_opts">
738 <td class="en2"> </td>
739 <td class="dis2"> </td>
740 <td class="noc2"> </td>
742 <td>Editing the settings for this option, or turning
743 it on if it was off, is not yet supported using this web-based
749 <script type="text/javascript">
752 if (document.getElementById) {
753 // alert("Netscape 6 or IE5");
754 document.getElementById("hide_from_param").disabled = !(document.getElementById("from_mode_set").checked);
755 document.getElementById("hide_referer_param").disabled = !(document.getElementById("referer_mode_set").checked);
756 document.getElementById("image_blocker_param").disabled = !(document.getElementById("image_blocker_mode_set").checked);
758 show_add_header_opts (document.getElementById("add_header_y").checked);
759 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
760 show_hide_from_opts (document.getElementById("hide_from_y").checked);
761 show_hide_referer_opts (document.getElementById("hide_referer_y").checked);
762 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
763 show_image_blocker_opts (document.getElementById("image_blocker_y").checked);
764 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
765 show_wafer_opts (document.getElementById("wafer_y").checked);
766 } else if (document.all) {
768 document.myform.hide_from_param.disabled = !(document.myform.from_mode_set.checked);
769 document.myform.hide_referer_param.disabled = !(document.myform.referer_mode_set.checked);
770 document.myform.image_blocker_param.disabled = !(document.myform.image_blocker_mode_set.checked);
772 show_add_header_opts (document.myform.add_header_y.checked);
773 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
774 show_hide_from_opts (document.myform.hide_from_y.checked);
775 show_hide_referer_opts (document.myform.hide_referer_y.checked);
776 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
777 show_image_blocker_opts (document.myform.image_blocker_y.checked);
778 show_limit_connect_opts (document.myform.limit_connect_y.checked);
779 show_wafer_opts (document.myform.wafer_y.checked);
780 } else if (document.layers) {
781 // alert("Netscape 4");
786 <table cellpadding="20" cellspacing="10" border="0" width="100%">
788 <td class="green" align="center">
789 <p><input type="submit" value="Submit" name="Submit"></p>
795 <h2>More Privoxy:</h2>
802 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>