Removing logo option
[privoxy.git] / templates / edit-actions-for-url
1 ##############################################################################
2 #
3 # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $
4 #
5 # Purpose     :  Template used to edit the actions associated with a
6 #                particular section in an actions file.
7
8 #
9 # Copyright   :  Written by and Copyright (C) 2001 the SourceForge
10 #                Privoxy team.  http://ijbswa.sourceforge.net
11 #
12 #                Original Author: Copyright (C) 2001 Jonathan Foster
13 #                http://www.jon-foster.co.uk/
14 #
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.
20 #
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.
26 #
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.
32 #
33 # Revisions   :
34 #    $Log: edit-actions-for-url,v $
35 #    Revision 1.17  2002/03/24 15:23:33  jongfoster
36 #    Name changes
37 #
38 #    Revision 1.16  2002/03/24 11:01:06  swa
39 #    name change
40 #
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.
47 #
48 #    Revision 1.14  2002/03/16 15:22:19  jongfoster
49 #    Moving 'alpha' warning to the end of the page
50 #
51 #    Revision 1.13  2002/03/16 14:28:38  jongfoster
52 #    First version of modular filters support
53 #
54 #    Revision 1.12  2002/03/12 01:42:50  oes
55 #    Introduced modular filters
56 #
57 #    Revision 1.11  2002/03/08 18:19:14  jongfoster
58 #    Adding +image-blocker{pattern} option to edit interface
59 #
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.
63 #
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
67 #    the unencoded one.
68 #
69 #    Revision 1.8  2002/01/17 21:33:00  jongfoster
70 #    Replacing all references to the URL of the config interface
71 #    with @default-cgi@
72 #
73 #    Revision 1.7  2002/01/17 21:21:03  jongfoster
74 #    DOS->Unix line endings
75 #
76 #    Revision 1.6  2001/11/22 21:58:41  jongfoster
77 #    Adding action +no-cookies-keep
78 #
79 #    Revision 1.5  2001/11/13 21:12:17  jongfoster
80 #    Added support for the following actions:
81 #    +downgrade, +limit-connect, +no-compression
82 #
83 #    Revision 1.4  2001/11/13 00:58:18  jongfoster
84 #    New version of actions file editor templates
85 #
86 #
87 ##############################################################################
88 #
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
97 #
98 # All browsers should work, you just might not get the pretty DHTML effects.
99 #
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.
104 #
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
110 #
111 # If you're favorite browser isn't listed, please test and add it.
112 #
113 #
114 #############################################################################
115 #
116 # Standard support:
117 #
118 # This file currently produces valid HTML 4.01 Strict.
119 #
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.
122 #
123 #############################################################################
124 #
125 # Available variables include:
126 #
127 # action-name-y
128 # action-name-n
129 # action-name-x
130 #
131 # deanimate-gifs-param-first
132 # deanimate-gifs-param-last
133 # hide-from-param-block
134 # hide-from-param-custom
135 # hide-from-param
136 # hide-referer-param-forge
137 # hide-referer-param-block
138 # hide-referer-param-custom
139 # hide-referer-param
140 # hide-user-agent-param
141 # image-blocker-param-pattern
142 # image-blocker-param-blank
143 # image-blocker-param-custom
144 #
145 #
146 #############################################################################
147 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
148 <html>
149
150 <head>
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">
155
156 <title>Privoxy: Edit actions</title>
157
158 <style type="text/css">
159 body         { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
160                background-color: #ffffff;
161                color: #000000            }
162 td.action    { font-weight: bold;
163                font-style: italic;
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;
183                border-style: solid;
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 }
191 </style>
192
193 <script type="text/javascript">
194 <!--
195
196 function hide_from_param_disable(tf)
197 {
198     if (document.getElementById) {
199         // NS6 or IE5
200         document.getElementById("hide_from_param").disabled = tf;
201     } else if (document.all) {
202         // IE4
203         document.myform.hide_from_param.disabled = tf;
204     }
205 }
206
207 function hide_referer_param_disable(tf)
208 {
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;
213     }
214 }
215
216 function image_blocker_param_disable(tf)
217 {
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;
222     }
223 }
224
225 function show_add_header_opts(tf)
226 {
227     if (document.getElementById) {
228         target = document.getElementById("add_header_opts");
229     } else if (document.all) {
230         target = document.add_header_opts;
231     } else {
232         return;
233     }
234     target.style.display = (tf ? "" : "none");
235 }
236
237 function show_deanimate_opts(tf)
238 {
239     if (document.getElementById) {
240         target = document.getElementById("deanimate_opts");
241     } else if (document.all) {
242         target = document.deanimate_opts;
243     } else {
244         return;
245     }
246     target.style.display = (tf ? "" : "none");
247 }
248
249 function show_hide_from_opts(tf)
250 {
251     if (document.getElementById) {
252         target = document.getElementById("hide_from_opts");
253     } else if (document.all) {
254         target = document.hide_from_opts;
255     } else {
256         return;
257     }
258     target.style.display = (tf ? "" : "none");
259 }
260
261 function show_hide_referer_opts(tf)
262 {
263     if (document.getElementById) {
264         target = document.getElementById("hide_referer_opts");
265     } else if (document.all) {
266         target = document.hide_referer_opts;
267     } else {
268         return;
269     }
270     target.style.display = (tf ? "" : "none");
271 }
272
273 function show_user_agent_opts(tf)
274 {
275     if (document.getElementById) {
276         target = document.getElementById("user_agent_opts");
277     } else if (document.all) {
278         target = document.user_agent_opts;
279     } else {
280         return;
281     }
282     target.style.display = (tf ? "" : "none");
283 }
284
285 function show_image_blocker_opts(tf)
286 {
287     if (document.getElementById) {
288         target = document.getElementById("image_blocker_opts");
289     } else if (document.all) {
290         target = document.image_blocker_opts;
291     } else {
292         return;
293     }
294     target.style.display = (tf ? "" : "none");
295 }
296
297 function show_limit_connect_opts(tf)
298 {
299     if (document.getElementById) {
300         target = document.getElementById("limit_connect_opts");
301     } else if (document.all) {
302         target = document.limit_connect_opts;
303     } else {
304         return;
305     }
306     target.style.display = (tf ? "" : "none");
307 }
308
309 function show_wafer_opts(tf)
310 {
311     if (document.getElementById) {
312         target = document.getElementById("wafer_opts");
313     } else if (document.all) {
314         target = document.wafer_opts;
315     } else {
316         return;
317     }
318     target.style.display = (tf ? "" : "none");
319 }
320
321 //-->
322 </script>
323 </head>
324
325 <body>
326
327 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
328
329   <table cellpadding="20" cellspacing="10" border="0" width="100%">
330     <tr>
331       <td class="dark">
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>
333       </td>
334     </tr>
335
336     <tr>
337       <td class="light">
338         <h2>Edit Actions
339           <input type="hidden" name="f" value="@f@">
340           <input type="hidden" name="v" value="@v@">
341           <input type="hidden" name="s" value="@s@">
342         </h2>
343       </td>
344     </tr>
345   </table>
346
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>
352       <th>Action</th>
353       <th>Description</th>
354     </tr>
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>
367     </tr>
368     <tr class="bg1" align="left" valign="top" id="add_header_opts">
369       <td class="en1">&nbsp;</td>
370       <td class="dis1">&nbsp;</td>
371       <td class="noc1">&nbsp;</td>
372       <td>&nbsp;</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
375         editor.</td>
376     </tr>
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@
380         ></td>
381       <td class="dis2" align="center" valign="middle"><input type="radio"
382         name="block" value="N" @block-n@
383         ></td>
384       <td class="noc2" align="center" valign="middle"><input type="radio"
385         name="block" value="X" @block-x@
386         ></td>
387       <td class="action">+block</td>
388       <td>Block the request</td>
389     </tr>
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>
402     </tr>
403     <tr class="bg1" align="left" valign="top" id="deanimate_opts">
404       <td class="en1">&nbsp;</td>
405       <td class="dis1">&nbsp;</td>
406       <td class="noc1">&nbsp;</td>
407       <td>&nbsp;</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>&nbsp;&nbsp; <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>
414     </tr>
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@
418         ></td>
419       <td class="dis2" align="center" valign="middle"><input type="radio"
420         name="fast_redirects" value="N" @fast-redirects-n@
421         ></td>
422       <td class="noc2" align="center" valign="middle"><input type="radio"
423         name="fast_redirects" value="X" @fast-redirects-x@
424         ></td>
425       <td class="action">+fast-redirects</td>
426       <td>Bypass some tracking URLs.</td>
427     </tr>
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>
438     </tr>
439     <tr class="bg2" align="left" valign="top">
440       <td class="en2">&nbsp;</td>
441       <td class="dis2">&nbsp;</td>
442       <td class="noc2">&nbsp;</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>
446     </tr>
447
448     <tr class="bg2" align="left" valign="top">
449       <td class="en2">&nbsp;</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">&nbsp;&nbsp;All filters applied by previous rules</td>
455     </tr>
456 @filter-params@
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@
460         ></td>
461       <td class="dis1" align="center" valign="middle"><input type="radio"
462         name="hide_forwarded" value="N" @hide-forwarded-n@
463         ></td>
464       <td class="noc1" align="center" valign="middle"><input type="radio"
465         name="hide_forwarded" value="X" @hide-forwarded-x@
466         ></td>
467       <td class="action">+hide-forwarded</td>
468       <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
469     </tr>
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
482         every request.</td>
483     </tr>
484     <tr class="bg2" align="left" valign="top" id="hide_from_opts">
485       <td class="en2">&nbsp;</td>
486       <td class="dis2">&nbsp;</td>
487       <td class="noc2">&nbsp;</td>
488       <td>&nbsp;</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>
499     </tr>
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)"
510         ></td>
511       <td class="action">+hide-referer</td>
512       <td>Helps prevent tracking by not sending the URL of the previous web
513         page.&nbsp;</td>
514     </tr>
515     <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
516       <td class="en1">&nbsp;</td>
517       <td class="dis1">&nbsp;</td>
518       <td class="noc1">&nbsp;</td>
519       <td>&nbsp;</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>
537     </tr>
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.&nbsp; (Breaks many web
550         sites).</td>
551     </tr>
552     <tr class="bg2" align="left" valign="top" id="user_agent_opts">
553       <td class="en2">&nbsp;</td>
554       <td class="dis2">&nbsp;</td>
555       <td class="noc2">&nbsp;</td>
556       <td>&nbsp;</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>
560     </tr>
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@
564         ></td>
565       <td class="dis1" align="center" valign="middle"><input type="radio"
566         name="image" value="N" @image-n@
567         ></td>
568       <td class="noc1" align="center" valign="middle"><input type="radio"
569         name="image" value="X" @image-x@
570         ></td>
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>
574     </tr>
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.&nbsp; Disable to always send a HTML
587         &quot;blocked&quot; page.</td>
588     </tr>
589     <tr class="bg2" align="left" valign="top" id="image_blocker_opts">
590       <td class="en2">&nbsp;</td>
591       <td class="dis2">&nbsp;</td>
592       <td class="noc2">&nbsp;</td>
593       <td>&nbsp;</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>
612     </tr>
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>
627     </tr>
628     <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
629       <td class="en1">&nbsp;</td>
630       <td class="dis1">&nbsp;</td>
631       <td class="noc1">&nbsp;</td>
632       <td>&nbsp;</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>
636     </tr>
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@
640         ></td>
641       <td class="dis2" align="center" valign="middle"><input type="radio"
642         name="no_compression" value="N" @no-compression-n@
643         ></td>
644       <td class="noc2" align="center" valign="middle"><input type="radio"
645         name="no_compression" value="X" @no-compression-x@
646         ></td>
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
651         compression.</td>
652     </tr>
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@
656         ></td>
657       <td class="dis1" align="center" valign="middle"><input type="radio"
658         name="no_cookies_keep" value="N" @no-cookies-keep-n@
659         ></td>
660       <td class="noc1" align="center" valign="middle"><input type="radio"
661         name="no_cookies_keep" value="X" @no-cookies-keep-x@
662         ></td>
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>
670     </tr>
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@
674         ></td>
675       <td class="dis2" align="center" valign="middle"><input type="radio"
676         name="no_cookies_read" value="N" @no-cookies-read-n@
677         ></td>
678       <td class="noc2" align="center" valign="middle"><input type="radio"
679         name="no_cookies_read" value="X" @no-cookies-read-x@
680         ></td>
681       <td class="action">+no-cookies-read</td>
682       <td>Prevent the website from reading cookies.</td>
683     </tr>
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@
687         ></td>
688       <td class="dis1" align="center" valign="middle"><input type="radio"
689         name="no_cookies_set" value="N" @no-cookies-set-n@
690         ></td>
691       <td class="noc1" align="center" valign="middle"><input type="radio"
692         name="no_cookies_set" value="X" @no-cookies-set-x@
693         ></td>
694       <td class="action">+no-cookies-set</td>
695       <td>Prevent the website from setting cookies.</td>
696     </tr>
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@
700         ></td>
701       <td class="dis2" align="center" valign="middle"><input type="radio"
702         name="no_popups" value="N" @no-popups-n@
703         ></td>
704       <td class="noc2" align="center" valign="middle"><input type="radio"
705         name="no_popups" value="X" @no-popups-x@
706         ></td>
707       <td class="action">+no-popups</td>
708       <td>Filter the website through a built-in filter to disable JavaScript
709         pop-up windows.</td>
710     </tr>
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@
714         ></td>
715       <td class="dis1" align="center" valign="middle"><input type="radio"
716         name="vanilla_wafer" value="N" @vanilla-wafer-n@
717         ></td>
718       <td class="noc1" align="center" valign="middle"><input type="radio"
719         name="vanilla_wafer" value="X" @vanilla-wafer-x@
720         ></td>
721       <td class="action">+vanilla-wafer</td>
722       <td>If you use a jarfile, automatically adds a special wafer.</td>
723     </tr>
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>
736     </tr>
737     <tr class="bg2" align="left" valign="top" id="wafer_opts">
738       <td class="en2">&nbsp;</td>
739       <td class="dis2">&nbsp;</td>
740       <td class="noc2">&nbsp;</td>
741       <td>&nbsp;</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
744         editor.</td>
745     </tr>
746   </table>
747
748
749 <script type="text/javascript">
750 <!--
751
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);
757
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) {
767     // alert("IE4");
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);
771
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");
782 }
783 //-->
784 </script>
785
786   <table cellpadding="20" cellspacing="10" border="0" width="100%">
787     <tr>
788       <td class="green" align="center">
789         <p><input type="submit" value="Submit" name="Submit"></p>
790       </td>
791     </tr>
792
793     <tr>
794       <td class="dark">
795         <h2>More Privoxy:</h2>
796         <ul>@menu@</ul>
797       </td>
798     </tr>
799
800     <tr>
801       <td>
802         <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
803       </td>
804     </tr>
805
806   </table>
807 </form>
808
809 </body>
810
811 </html>
812