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