Replacing all references to the URL of the config interface
[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 #                IJBSWA 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.7  2002/01/17 21:21:03  jongfoster
36 #    DOS->Unix line endings
37 #
38 #    Revision 1.6  2001/11/22 21:58:41  jongfoster
39 #    Adding action +no-cookies-keep
40 #
41 #    Revision 1.5  2001/11/13 21:12:17  jongfoster
42 #    Added support for the following actions:
43 #    +downgrade, +limit-connect, +no-compression
44 #
45 #    Revision 1.4  2001/11/13 00:58:18  jongfoster
46 #    New version of actions file editor templates
47 #
48 #
49 ##############################################################################
50 #
51 # Browser support for the JavaScript on this page:
52 #   MS Internet Explorer 5.5 - Tested,   Yes
53 #   Netscape 6.0             - Tested,   Yes
54 #   Netscape 4.75            - Tested,   NO
55 #   Opera 5.12               - Tested,   NO
56 #   MS Internet Explorer 4+  - Untested, Yes
57 #   MS IE 3.x, NS3.x         - Untested, NO
58 #   Mozilla >=0.6            - Untested, Yes
59 #
60 # All browsers should work, you just might not get the pretty DHTML effects.
61 #
62 # The effects that only work under the browsers marked "Yes" above are:
63 #  - Text edit boxes that won't have any effect are disabled.
64 #  - Table rows containing additional settings are hidden if the feature in
65 #    question is disabled.
66 #
67 # There are major kludges to get around these problems with NS4, but they
68 # screw up the HTML too much for other browsers.  If anyone wants to try,
69 # here's some descriptions of the kludges:
70 #    http://www.webreference.com/js/tips/991114.html
71 #    http://www.webreference.com/dhtml/column12/outDisplay.html
72 #
73 # If you're favorite browser isn't listed, please test and add it.
74 #
75 #
76 #############################################################################
77 #
78 # Standard support:
79 #
80 # This file currently produces valid HTML 4.01 Strict.
81 #
82 # If you change it, please save the generated page from your web browser
83 # and then upload it to http://validator.w3.org/ for checking.
84 #
85 #############################################################################
86 #
87 # Available variables include:
88 #
89 # action-name-y
90 # action-name-n
91 # action-name-x
92 #
93 # deanimate-gifs-param-first
94 # deanimate-gifs-param-last
95 # hide-from-param-block
96 # hide-from-param-custom
97 # hide-from-param
98 # hide-referer-param-forge
99 # hide-referer-param-block
100 # hide-referer-param-custom
101 # hide-referer-param
102 # hide-user-agent-param
103 # image-blocker-param-logo
104 # image-blocker-param-blank
105 # image-blocker-param-custom
106 # image-blocker-param-logo
107 #
108 #
109 #############################################################################
110 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
111 <html>
112
113 <head>
114 <meta http-equiv="Content-Style-Type" content="text/css">
115 <meta http-equiv="Content-Script-Type" content="text/javascript">
116 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
117 <meta name="robots" content="noindex,nofollow">
118
119 <title>JunkBuster: Edit actions</title>
120
121 <style type="text/css">
122 body         { font-family: Helvetica, Helv, Arial, Sans-Serif, sans-serif;
123                background-color: #ffffff;
124                color: #000000            }
125 td.action    { font-weight: bold;
126                font-style: italic;
127                white-space: nowrap       }
128 th           { font-weight: bold;        }
129 # This is the key to the color names below:
130 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
131 # 1=odd rows, 2=even rows, h=Table header
132 tr.hdr       { background-color: #999999 }
133 tr.bg1       { background-color: #eeeeee }
134 td.en1       { background-color: #eeffee }
135 td.dis1      { background-color: #ffeeee }
136 td.noc1      { background-color: #eeeeff }
137 tr.bg2       { background-color: #dddddd }
138 td.en2       { background-color: #ddffdd }
139 td.dis2      { background-color: #ffdddd }
140 td.noc2      { background-color: #ddddff }
141 th.enh       { background-color: #99ff99 }
142 th.dish      { background-color: #ff9999 }
143 th.noch      { background-color: #9999ff }
144 table.wide   { border-color: white;
145                border-style: solid;
146                border-left-width: 10px;
147                border-right-width: 10px;
148                border-top-width: 0px;
149                border-bottom-width: 0px  }
150 td.light     { background-color: #eeeeee }
151 td.dark      { background-color: #dddddd }
152 td.green     { background-color: #ddffdd }
153 </style>
154
155 <script type="text/javascript">
156 <!--
157
158 function hide_from_param_disable(tf)
159 {
160     if (document.getElementById) {
161         // NS6 or IE5
162         document.getElementById("hide_from_param").disabled = tf;
163     } else if (document.all) {
164         // IE4
165         document.myform.hide_from_param.disabled = tf;
166     }
167 }
168
169 function hide_referer_param_disable(tf)
170 {
171     if (document.getElementById) {
172         document.getElementById("hide_referer_param").disabled = tf;
173     } else if (document.all) {
174         document.myform.hide_referer_param.disabled = tf;
175     }
176 }
177
178 function image_blocker_param_disable(tf)
179 {
180     if (document.getElementById) {
181         document.getElementById("image_blocker_param").disabled = tf;
182     } else if (document.all) {
183         document.myform.image_blocker_param.disabled = tf;
184     }
185 }
186
187 function show_add_header_opts(tf)
188 {
189     if (document.getElementById) {
190         target = document.getElementById("add_header_opts");
191     } else if (document.all) {
192         target = document.add_header_opts;
193     } else {
194         return;
195     }
196     target.style.display = (tf ? "" : "none");
197 }
198
199 function show_deanimate_opts(tf)
200 {
201     if (document.getElementById) {
202         target = document.getElementById("deanimate_opts");
203     } else if (document.all) {
204         target = document.deanimate_opts;
205     } else {
206         return;
207     }
208     target.style.display = (tf ? "" : "none");
209 }
210
211 function show_hide_from_opts(tf)
212 {
213     if (document.getElementById) {
214         target = document.getElementById("hide_from_opts");
215     } else if (document.all) {
216         target = document.hide_from_opts;
217     } else {
218         return;
219     }
220     target.style.display = (tf ? "" : "none");
221 }
222
223 function show_hide_referer_opts(tf)
224 {
225     if (document.getElementById) {
226         target = document.getElementById("hide_referer_opts");
227     } else if (document.all) {
228         target = document.hide_referer_opts;
229     } else {
230         return;
231     }
232     target.style.display = (tf ? "" : "none");
233 }
234
235 function show_user_agent_opts(tf)
236 {
237     if (document.getElementById) {
238         target = document.getElementById("user_agent_opts");
239     } else if (document.all) {
240         target = document.user_agent_opts;
241     } else {
242         return;
243     }
244     target.style.display = (tf ? "" : "none");
245 }
246
247 function show_image_blocker_opts(tf)
248 {
249     if (document.getElementById) {
250         target = document.getElementById("image_blocker_opts");
251     } else if (document.all) {
252         target = document.image_blocker_opts;
253     } else {
254         return;
255     }
256     target.style.display = (tf ? "" : "none");
257 }
258
259 function show_limit_connect_opts(tf)
260 {
261     if (document.getElementById) {
262         target = document.getElementById("limit_connect_opts");
263     } else if (document.all) {
264         target = document.limit_connect_opts;
265     } else {
266         return;
267     }
268     target.style.display = (tf ? "" : "none");
269 }
270
271 function show_wafer_opts(tf)
272 {
273     if (document.getElementById) {
274         target = document.getElementById("wafer_opts");
275     } else if (document.all) {
276         target = document.wafer_opts;
277     } else {
278         return;
279     }
280     target.style.display = (tf ? "" : "none");
281 }
282
283 //-->
284 </script>
285 </head>
286
287 <body>
288
289 <form method="GET" action="@default-cgi@edit-actions-submit" id="myform" name="myform">
290
291   <table cellpadding="20" cellspacing="10" border="0" width="100%">
292     <tr>
293       <td class="dark">
294         <p><b><big><big>This is the Internet 
295           J</big>UNK</big><i style="color: #ff0000">BUSTER</i><big><big>
296           @version@ on @my-hostname@ (@my-ip-address@),
297           port @my-port@, 
298           @if-enabled-display-then@Enabled@else-not-enabled-display@Disabled@endif-enabled-display@</big></big></b></p>
299       </td>
300     </tr>
301
302 <!-- @if-unstable-start -->
303 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
304     <tr>
305       <td style="background-color: #ffdddd" >
306         <p><b>Please note that this <span style="color: #ff0000">@code-status@</span> release
307           of the proxy software is not intended for production systems!
308           <br>Use at your own risk. See the <a href="http://www.gnu.org/copyleft/gpl.html">license</a> for details.</b>
309         </p>
310
311         <p>Feel free to <a href="mailto:ijbswa-developers@lists.sourceforge.net">mail the developers</a>
312           with any problems you encounter.
313         </p>
314       </td>
315     </tr>
316 <!-- if-unstable-end@ -->
317
318     <tr>
319       <td class="light">
320         <h2>Edit Actions
321           <input type="hidden" name="filename" value="@filename@">
322           <input type="hidden" name="ver" value="@ver@">
323           <input type="hidden" name="section" value="@section@">
324         </h2>
325       </td>
326     </tr>
327   </table>
328
329   <table border="0" width="100%" cellspacing="0" class="wide">
330     <tr class="hdr" align="left">
331       <th>Action
332       </th>
333       <th>Description</th>
334       <th class="enh" align="center">Enable</th>
335       <th class="dish" align="center">Disable</th>
336       <th class="noch" align="center">No Change</th>
337     </tr>
338     <tr class="bg1" align="left" valign="top">
339       <td class="action">+add-header</td>
340       <td>Adds HTTP headers.</td>
341       <td class="en1" align="center" valign="middle"><input type="radio"
342         name="add_header" id="add_header_y" value="Y" @add-header-y@
343         onclick="show_add_header_opts(true)"></td>
344       <td class="dis1" align="center" valign="middle"><input type="radio"
345         name="add_header" value="N" @add-header-n@
346         onclick="show_add_header_opts(false)"></td>
347       <td class="noc1" align="center" valign="middle"><input type="radio"
348         name="add_header" value="X" @add-header-x@
349         onclick="show_add_header_opts(false)"></td>
350     </tr>
351     <tr class="bg1" align="left" valign="top" id="add_header_opts">
352       <td>&nbsp;</td>
353       <td colspan="4">Editing the settings for this option, or turning
354         it on if it was off, is not yet supported using this web-based
355         editor.</td>
356     </tr>
357     <tr class="bg2" align="left" valign="top">
358       <td class="action">+block</td>
359       <td>Block the request</td>
360       <td class="en2" align="center" valign="middle"><input type="radio"
361         name="block" value="Y" @block-y@
362         ></td>
363       <td class="dis2" align="center" valign="middle"><input type="radio"
364         name="block" value="N" @block-n@
365         ></td>
366       <td class="noc2" align="center" valign="middle"><input type="radio"
367         name="block" value="X" @block-x@
368         ></td>
369     </tr>
370     <tr class="bg1" align="left" valign="top">
371       <td class="action">+deanimate-gifs</td>
372       <td>Replace animated GIFs with their (first/last) frame.</td>
373       <td class="en1" align="center" valign="middle"><input type="radio"
374         name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
375         onclick="show_deanimate_opts(true)"></td>
376       <td class="dis1" align="center" valign="middle"><input type="radio"
377         name="deanimate_gifs" value="N" @deanimate-gifs-n@
378         onclick="show_deanimate_opts(false)"></td>
379       <td class="noc1" align="center" valign="middle"><input type="radio"
380         name="deanimate_gifs" value="X" @deanimate-gifs-x@
381         onclick="show_deanimate_opts(false)"></td>
382     </tr>
383     <tr class="bg1" align="left" valign="top" id="deanimate_opts">
384       <td>&nbsp;</td>
385       <td colspan="4">Use the <input type="radio" name="deanimate_gifs_mode"
386         value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
387         for="deanimate_first">first frame</label>&nbsp;&nbsp; <input
388         type="radio" name="deanimate_gifs_mode" value="last" 
389         id="deanimate_last" @deanimate-gifs-param-last@><label
390         for="deanimate_last">last frame</label></td>
391     </tr>
392     <tr class="bg2" align="left" valign="top">
393       <td class="action">+fast-redirects</td>
394       <td>Bypass some tracking URLs.</td>
395       <td class="en2" align="center" valign="middle"><input type="radio"
396         name="fast_redirects" value="Y" @fast-redirects-y@
397         ></td>
398       <td class="dis2" align="center" valign="middle"><input type="radio"
399         name="fast_redirects" value="N" @fast-redirects-n@
400         ></td>
401       <td class="noc2" align="center" valign="middle"><input type="radio"
402         name="fast_redirects" value="X" @fast-redirects-x@
403         ></td>
404     </tr>
405     <tr class="bg1" align="left" valign="top">
406       <td class="action">+downgrade</td>
407       <td>Change HTTP/1.1 requests to HTTP/1.0.  Only change if you know
408         what you're doing!</td>
409       <td class="en1" align="center" valign="middle"><input type="radio"
410         name="downgrade" value="Y" @downgrade-y@></td>
411       <td class="dis1" align="center" valign="middle"><input type="radio"
412         name="downgrade" value="N" @downgrade-n@></td>
413       <td class="noc1" align="center" valign="middle"><input type="radio"
414         name="downgrade" value="X" @downgrade-x@></td>
415     </tr>
416     <tr class="bg2" align="left" valign="top">
417       <td class="action">+filter</td>
418       <td>Filter the website through the re_filterfile</td>
419       <td class="en2" align="center" valign="middle"><input type="radio"
420         name="filter" value="Y" @filter-y@
421         ></td>
422       <td class="dis2" align="center" valign="middle"><input type="radio"
423         name="filter" value="N" @filter-n@ 
424         ></td>
425       <td class="noc2" align="center" valign="middle"><input type="radio"
426         name="filter" value="X" @filter-x@
427          ></td>
428     </tr>
429     <tr class="bg1" align="left" valign="top">
430       <td class="action">+hide-forwarded</td>
431       <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
432       <td class="en1" align="center" valign="middle"><input type="radio"
433         name="hide_forwarded" value="Y" @hide-forwarded-y@
434         ></td>
435       <td class="dis1" align="center" valign="middle"><input type="radio"
436         name="hide_forwarded" value="N" @hide-forwarded-n@
437         ></td>
438       <td class="noc1" align="center" valign="middle"><input type="radio"
439         name="hide_forwarded" value="X" @hide-forwarded-x@
440         ></td>
441     </tr>
442     <tr class="bg2" align="left" valign="top">
443       <td class="action">+hide-from</td>
444       <td>Stop old web browsers from sending the user's e-mail address with
445         every request.</td>
446       <td class="en2" align="center" valign="middle"><input type="radio"
447         name="hide_from" id="hide_from_y" value="Y" @hide-from-y@
448         onclick="show_hide_from_opts(true)"></td>
449       <td class="dis2" align="center" valign="middle"><input type="radio"
450         name="hide_from" value="N" @hide-from-n@
451         onclick="show_hide_from_opts(false)"></td>
452       <td class="noc2" align="center" valign="middle"><input type="radio"
453         name="hide_from" value="X" @hide-from-x@
454         onclick="show_hide_from_opts(false)"></td>
455     </tr>
456     <tr class="bg2" align="left" valign="top" id="hide_from_opts">
457       <td>&nbsp;</td>
458       <td colspan="4"><input type="radio" name="hide_from_mode" value="block"
459         onclick="hide_from_param_disable(true);"
460         @hide-from-param-block@ id="from_mode_block"><label
461         for="from_mode_block">Remove completely</label><br>
462         <input type="radio" name="hide_from_mode" value="CUSTOM" 
463         onclick="hide_from_param_disable(false);"
464         @hide-from-param-custom@ id="from_mode_set"><label
465         for="from_mode_set">Fake e-mail address:</label><br>
466         <input type="text" name="hide_from_param" id="hide_from_param"
467         size="40" value="@hide-from-param@"></td>
468     </tr>
469     <tr class="bg1" align="left" valign="top">
470       <td class="action">+hide-referer</td>
471       <td>Helps prevent tracking by not sending the URL of the previous web
472         page.&nbsp;</td>
473       <td class="en1" align="center" valign="middle"><input type="radio"
474         name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
475         onclick="show_hide_referer_opts(true)"></td>
476       <td class="dis1" align="center" valign="middle"><input type="radio"
477         name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
478         onclick="show_hide_referer_opts(false)"></td>
479       <td class="noc1" align="center" valign="middle"><input type="radio"
480         name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
481         onclick="show_hide_referer_opts(false)"
482         ></td>
483     </tr>
484     <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
485       <td>&nbsp;</td>
486       <td colspan="4"><input type="radio" name="hide_referer_mode" value="block"
487         onclick="hide_referer_param_disable(true)"
488         @hide-referer-param-block@ id="referer_mode_block"><label
489         for="referer_mode_block">Remove completely</label> (breaks images
490         on some free web hosts).<br>
491         <input type="radio" name="hide_referer_mode" value="forge"
492         onclick="hide_referer_param_disable(true)"
493         @hide-referer-param-forge@ id="referer_mode_forge"><label
494         for="referer_mode_forge">Fake as the root directory of the
495         site</label> (fools checks for in-site links.)<br>
496         <input type="radio" name="hide_referer_mode" value="CUSTOM"
497         onclick="hide_referer_param_disable(false)"
498         @hide-referer-param-custom@ id="referer_mode_set"><label
499         for="referer_mode_set">Fake as this web address:</label><br>
500         <input type="text" name="hide_referer_param" 
501         id="hide_referer_param" size="40"
502         value="@hide-referer-param@"></td>
503     </tr>
504     <tr class="bg2" align="left" valign="top">
505       <td class="action">+hide-user-agent</td>
506       <td>Pretend to be using a different web browser.&nbsp; (Breaks many web
507         sites).</td>
508       <td class="en2" align="center" valign="middle"><input type="radio"
509         name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
510         onclick="show_user_agent_opts(true)"></td>
511       <td class="dis2" align="center" valign="middle"><input type="radio"
512         name="hide_user_agent" value="N" @hide-user-agent-n@
513         onclick="show_user_agent_opts(false)"></td>
514       <td class="noc2" align="center" valign="middle"><input type="radio"
515         name="hide_user_agent" value="X" @hide-user-agent-x@
516         onclick="show_user_agent_opts(false)"></td>
517     </tr>
518     <tr class="bg2" align="left" valign="top" id="user_agent_opts">
519       <td>&nbsp;</td>
520       <td colspan="4">User Agent string to send:<br>
521         <input type="text" name="hide_user_agent_mode" size="40"
522         value="@hide-user-agent-param@"></td>
523     </tr>
524     <tr class="bg1" align="left" valign="top">
525       <td class="action">+image</td>
526       <td>Request is for an image (only useful in conjunction with the <i><b>+block</b></i>
527         and <i><b>+image-blocker</b></i> options).</td>
528       <td class="en1" align="center" valign="middle"><input type="radio"
529         name="image" value="Y" @image-y@
530         ></td>
531       <td class="dis1" align="center" valign="middle"><input type="radio"
532         name="image" value="N" @image-n@
533         ></td>
534       <td class="noc1" align="center" valign="middle"><input type="radio"
535         name="image" value="X" @image-x@
536         ></td>
537     </tr>
538     <tr class="bg2" align="left" valign="top">
539       <td class="action">+image-blocker</td>
540       <td>Specifies how to block images.&nbsp; Disable to always send a HTML
541         &quot;blocked&quot; page.</td>
542       <td class="en2" align="center" valign="middle"><input type="radio"
543         name="image_blocker" id="image_blocker_y" value="Y" @image-blocker-y@
544         onclick="show_image_blocker_opts(true)"></td>
545       <td class="dis2" align="center" valign="middle"><input type="radio"
546         name="image_blocker" value="N" @image-blocker-n@
547         onclick="show_image_blocker_opts(false)"></td>
548       <td class="noc2" align="center" valign="middle"><input type="radio"
549         name="image_blocker" value="X" @image-blocker-x@
550         onclick="show_image_blocker_opts(false)"></td>
551     </tr>
552     <tr class="bg2" align="left" valign="top" id="image_blocker_opts">
553       <td>&nbsp;</td>
554       <td colspan="4"><input type="radio" name="image_blocker_mode"
555         onclick="image_blocker_param_disable(true)"
556         value="logo" id="image_blocker_mode_logo" @image-blocker-param-logo@><label
557         for="image_blocker_mode_logo">Send Junkbuster logo</label><br>
558         <input type="radio" name="image_blocker_mode" value="blank"
559         onclick="image_blocker_param_disable(true)"
560         id="image_blocker_mode_blank" @image-blocker-param-blank@><label 
561         for="image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
562         <input type="radio" name="image_blocker_mode" value="CUSTOM"
563         onclick="image_blocker_param_disable(false)"
564         id="image_blocker_mode_set" @image-blocker-param-custom@><label
565         for="image_blocker_mode_set">Redirect
566         the browser to this image URL:</label><br>
567         <input type="text" name="image_blocker_param" id="image_blocker_param"
568         size="40" value="@image-blocker-param@"></td>
569     </tr>
570     <tr class="bg1" align="left" valign="top">
571       <td class="action">+limit-connect</td>
572       <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
573         Note that this allows arbitrary tunnelling, so opening all
574         ports would be a security hole.</td>
575       <td class="en1" align="center" valign="middle"><input type="radio"
576         name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
577         onclick="show_limit_connect_opts(true)"></td>
578       <td class="dis1" align="center" valign="middle"><input type="radio"
579         name="limit_connect" value="N" @limit-connect-n@
580         onclick="show_limit_connect_opts(false)"></td>
581       <td class="noc1" align="center" valign="middle"><input type="radio"
582         name="limit_connect" value="X" @limit-connect-x@
583         onclick="show_limit_connect_opts(false)"></td>
584     </tr>
585     <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
586       <td>&nbsp;</td>
587       <td colspan="4">Legal SSL ports (comma separated, ranges allowed):<br>
588         <input type="text" name="limit_connect_mode" size="40"
589         value="@limit-connect-param@"></td>
590     </tr>
591     <tr class="bg2" align="left" valign="top">
592       <td class="action">+no-compression</td>
593       <td>Disables compression.  Compressed web pages are faster to
594         download, but cannot be filtered with +filter or +no-popups.
595         This setting only affects the few web sites which support
596         compression.</td>
597       <td class="en2" align="center" valign="middle"><input type="radio"
598         name="no_compression" value="Y" @no-compression-y@
599         ></td>
600       <td class="dis2" align="center" valign="middle"><input type="radio"
601         name="no_compression" value="N" @no-compression-n@
602         ></td>
603       <td class="noc2" align="center" valign="middle"><input type="radio"
604         name="no_compression" value="X" @no-compression-x@
605         ></td>
606     </tr>
607     <tr class="bg1" align="left" valign="top">
608       <td class="action">+no-cookies-keep</td>
609       <td>Any cookies set by the website are changed to temporary
610         ("per-session") ones, which only last until you close your web
611         browser.  This will allow you to use sites that require cookies, but
612         sites will not be able to track you across sessions.  For this to
613         be useful, you should disable <b><i>no-cookies-read</i></b> and
614         <b><i>no-cookies-set</i></b>.</td>
615       <td class="en1" align="center" valign="middle"><input type="radio"
616         name="no_cookies_keep" value="Y" @no-cookies-keep-y@
617         ></td>
618       <td class="dis1" align="center" valign="middle"><input type="radio"
619         name="no_cookies_keep" value="N" @no-cookies-keep-n@
620         ></td>
621       <td class="noc1" align="center" valign="middle"><input type="radio"
622         name="no_cookies_keep" value="X" @no-cookies-keep-x@
623         ></td>
624     </tr>
625     <tr class="bg2" align="left" valign="top">
626       <td class="action">+no-cookies-read</td>
627       <td>Prevent the website from reading cookies.</td>
628       <td class="en2" align="center" valign="middle"><input type="radio"
629         name="no_cookies_read" value="Y" @no-cookies-read-y@
630         ></td>
631       <td class="dis2" align="center" valign="middle"><input type="radio"
632         name="no_cookies_read" value="N" @no-cookies-read-n@
633         ></td>
634       <td class="noc2" align="center" valign="middle"><input type="radio"
635         name="no_cookies_read" value="X" @no-cookies-read-x@
636         ></td>
637     </tr>
638     <tr class="bg1" align="left" valign="top">
639       <td class="action">+no-cookies-set</td>
640       <td>Prevent the website from setting cookies.</td>
641       <td class="en1" align="center" valign="middle"><input type="radio"
642         name="no_cookies_set" value="Y" @no-cookies-set-y@
643         ></td>
644       <td class="dis1" align="center" valign="middle"><input type="radio"
645         name="no_cookies_set" value="N" @no-cookies-set-n@
646         ></td>
647       <td class="noc1" align="center" valign="middle"><input type="radio"
648         name="no_cookies_set" value="X" @no-cookies-set-x@
649         ></td>
650     </tr>
651     <tr class="bg2" align="left" valign="top">
652       <td class="action">+no-popups</td>
653       <td>Filter the website through a built-in filter to disable JavaScript
654         pop-up windows.</td>
655       <td class="en2" align="center" valign="middle"><input type="radio"
656         name="no_popups" value="Y" @no-popups-y@
657         ></td>
658       <td class="dis2" align="center" valign="middle"><input type="radio"
659         name="no_popups" value="N" @no-popups-n@
660         ></td>
661       <td class="noc2" align="center" valign="middle"><input type="radio"
662         name="no_popups" value="X" @no-popups-x@
663         ></td>
664     </tr>
665     <tr class="bg1" align="left" valign="top">
666       <td class="action">+vanilla-wafer</td>
667       <td>If you use a jarfile, automatically adds a special wafer.</td>
668       <td class="en1" align="center" valign="middle"><input type="radio"
669         name="vanilla_wafer" value="Y" @vanilla-wafer-y@
670         ></td>
671       <td class="dis1" align="center" valign="middle"><input type="radio"
672         name="vanilla_wafer" value="N" @vanilla-wafer-n@
673         ></td>
674       <td class="noc1" align="center" valign="middle"><input type="radio"
675         name="vanilla_wafer" value="X" @vanilla-wafer-x@
676         ></td>
677     </tr>
678     <tr class="bg2" align="left" valign="top">
679       <td class="action">+wafer</td>
680       <td>Adds user-specified cookies.</td>
681       <td class="en2" align="center" valign="middle"><input type="radio"
682         name="wafer" id="wafer_y" value="Y" @wafer-y@
683         onclick="show_wafer_opts(true)"></td>
684       <td class="dis2" align="center" valign="middle"><input type="radio"
685         name="wafer" id="wafer_n" value="N" @wafer-n@
686         onclick="show_wafer_opts(false)"></td>
687       <td class="noc2" align="center" valign="middle"><input type="radio"
688         name="wafer" id="wafer_x" value="X" @wafer-x@
689         onclick="show_wafer_opts(false)"></td>
690     </tr>
691     <tr class="bg2" align="left" valign="top" id="wafer_opts">
692       <td>&nbsp;</td>
693       <td colspan="4">Editing the settings for this option, or turning
694         it on if it was off, is not yet supported using this web-based
695         editor.</td>
696     </tr>
697   </table>
698
699
700 <script type="text/javascript">
701 <!--
702
703 if (document.getElementById) {
704     // alert("Netscape 6 or IE5");
705     document.getElementById("hide_from_param").disabled = !(document.getElementById("from_mode_set").checked);
706     document.getElementById("hide_referer_param").disabled = !(document.getElementById("referer_mode_set").checked);
707     document.getElementById("image_blocker_param").disabled = !(document.getElementById("image_blocker_mode_set").checked);
708
709     show_add_header_opts    (document.getElementById("add_header_y").checked);
710     show_deanimate_opts     (document.getElementById("deanimate_gifs_y").checked);
711     show_hide_from_opts     (document.getElementById("hide_from_y").checked);
712     show_hide_referer_opts  (document.getElementById("hide_referer_y").checked);
713     show_user_agent_opts    (document.getElementById("hide_user_agent_y").checked);
714     show_image_blocker_opts (document.getElementById("image_blocker_y").checked);
715     show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
716     show_wafer_opts         (document.getElementById("wafer_y").checked);
717 } else if (document.all) {
718     // alert("IE4");
719     document.myform.hide_from_param.disabled = !(document.myform.from_mode_set.checked);
720     document.myform.hide_referer_param.disabled = !(document.myform.referer_mode_set.checked);
721     document.myform.image_blocker_param.disabled = !(document.myform.image_blocker_mode_set.checked);
722
723     show_add_header_opts    (document.myform.add_header_y.checked);
724     show_deanimate_opts     (document.myform.deanimate_gifs_y.checked);
725     show_hide_from_opts     (document.myform.hide_from_y.checked);
726     show_hide_referer_opts  (document.myform.hide_referer_y.checked);
727     show_user_agent_opts    (document.myform.hide_user_agent_y.checked);
728     show_image_blocker_opts (document.myform.image_blocker_y.checked);
729     show_limit_connect_opts (document.myform.limit_connect_y.checked);
730     show_wafer_opts         (document.myform.wafer_y.checked);
731 } else if (document.layers) {
732     // alert("Netscape 4");
733 }
734 //-->
735 </script>
736
737   <table cellpadding="20" cellspacing="10" border="0" width="100%">
738     <tr>
739       <td class="green" align="center">
740         <p><input type="submit" value="Submit" name="Submit"></p>
741       </td>
742     </tr>
743
744     <tr>
745       <td class="dark">
746         <h2>More Junkbuster:</h2>
747         <ul>@menu@</ul>
748       </td>
749     </tr>
750
751 <!-- @if-have-help-info-start -->
752     <tr>
753       <td class="light">
754         <h2>Local Junkbuster support:</h2>
755
756 <!-- @if-have-proxy-info-start -->
757         <p>You can consult the <a href="@proxy-info-url@">online documentation</a> for more information about this Junkbuster installation.
758 <!-- if-have-proxy-info-end@ -->
759
760 <!-- @if-have-adminaddr-info-start -->
761         <p>Address e-mail questions about this service to
762           <a href="mailto:@admin-address@"><code>@admin-address@</code></a>,
763           who will be glad to help you.
764 <!-- if-have-adminaddr-info-end@ -->
765
766         </p>
767       </td>
768     </tr>
769 <!-- if-have-help-info-end@ -->
770     
771     <tr>
772       <td>
773         <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
774       </td>
775     </tr>
776
777   </table>
778 </form>
779
780 </body>
781
782 </html>
783