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