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