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