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