1 ##############################################################################
3 # File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $
5 # Purpose : Template used to edit the actions associated with a
6 # particular section in an actions file.
9 # Copyright : Written by and Copyright (C) 2001 the SourceForge
10 # Privoxy team. http://www.privoxy.org/
12 # Original Author: Copyright (C) 2001 Jonathan Foster
13 # http://www.jon-foster.co.uk/
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.
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.
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.
34 # $Log: edit-actions-for-url,v $
35 # Revision 1.29 2002/05/21 19:10:57 oes
36 # Fixed JavaScript error
38 # Revision 1.28 2002/05/14 21:36:38 oes
39 # - Renamed prevent-(setting/reading)-cookies to
40 # crunch-(incoming/outgoing)-cookies
41 # - Renamed helplink export to actions-help-prefix
42 # - Restored alphabetical order of actions
44 # Revision 1.27 2002/04/26 22:55:26 jongfoster
45 # Removing the alternating colors because they've been wrong
46 # since the actions renames, they're high maintenance, they
47 # don't look particularly good, and now there are gaps between
48 # the table cells we don't need them.
50 # Revision 1.26 2002/04/26 21:55:17 jongfoster
51 # Cosmetic change: Making the +filter UI look the same as
54 # Revision 1.25 2002/04/26 21:37:50 jongfoster
55 # Fixing all(?) the substitutions that were broken in the
56 # recent actions rename.
58 # Revision 1.24 2002/04/26 18:24:28 jongfoster
59 # Fixing typos in help hyperlinks
61 # Revision 1.23 2002/04/26 12:57:02 oes
62 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
64 # Revision 1.22 2002/04/10 13:32:53 oes
65 # Made templates modular
67 # Revision 1.21 2002/04/08 17:05:18 oes
68 # Inline a style exception
70 # Revision 1.20 2002/04/05 16:01:30 oes
71 # Correct HTML, external Stylesheets, eye candy, some fixes
73 # Revision 1.19 2002/03/26 22:29:56 swa
74 # we have a new homepage!
76 # Revision 1.18 2002/03/24 16:32:08 jongfoster
77 # Removing logo option
79 # Revision 1.17 2002/03/24 15:23:33 jongfoster
82 # Revision 1.16 2002/03/24 11:01:06 swa
85 # Revision 1.15 2002/03/23 16:18:15 swa
86 # renamed every reference to the old name with foobar.
87 # fixed "application foobar application" tag, fixed
88 # "the foobar" with "foobar". left junkbuster in cvs
89 # comments and remarks to history untouched. should
90 # make final rename easier.
92 # Revision 1.14 2002/03/16 15:22:19 jongfoster
93 # Moving 'alpha' warning to the end of the page
95 # Revision 1.13 2002/03/16 14:28:38 jongfoster
96 # First version of modular filters support
98 # Revision 1.12 2002/03/12 01:42:50 oes
99 # Introduced modular filters
101 # Revision 1.11 2002/03/08 18:19:14 jongfoster
102 # Adding +image-blocker{pattern} option to edit interface
104 # Revision 1.10 2002/03/03 10:29:12 swa
105 # point users to the right feedback forms,
106 # not necessarily the developer list.
108 # Revision 1.9 2002/01/23 00:26:45 jongfoster
109 # Reducing length of URLs
110 # Where encoded and unencoded versions of a string existed, removing
113 # Revision 1.8 2002/01/17 21:33:00 jongfoster
114 # Replacing all references to the URL of the config interface
117 # Revision 1.7 2002/01/17 21:21:03 jongfoster
118 # DOS->Unix line endings
120 # Revision 1.6 2001/11/22 21:58:41 jongfoster
121 # Adding action +no-cookies-keep
123 # Revision 1.5 2001/11/13 21:12:17 jongfoster
124 # Added support for the following actions:
125 # +downgrade, +limit-connect, +no-compression
127 # Revision 1.4 2001/11/13 00:58:18 jongfoster
128 # New version of actions file editor templates
131 ##############################################################################
133 # Browser support for the JavaScript on this page:
134 # MS Internet Explorer 5.5 - Tested, Yes
135 # Netscape 6.0 - Tested, Yes
136 # Netscape 4.75 - Tested, NO
137 # Opera 5.12 - Tested, NO
138 # MS Internet Explorer 4+ - Untested, Yes
139 # MS IE 3.x, NS3.x - Untested, NO
140 # Mozilla >=0.6 - Untested, Yes
142 # All browsers should work, you just might not get the pretty DHTML effects.
144 # The effects that only work under the browsers marked "Yes" above are:
145 # - Text edit boxes that won't have any effect are disabled.
146 # - Table rows containing additional settings are hidden if the feature in
147 # question is disabled.
149 # There are major kludges to get around these problems with NS4, but they
150 # screw up the HTML too much for other browsers. If anyone wants to try,
151 # here's some descriptions of the kludges:
152 # http://www.webreference.com/js/tips/991114.html
153 # http://www.webreference.com/dhtml/column12/outDisplay.html
155 # If you're favorite browser isn't listed, please test and add it.
158 #############################################################################
162 # This file currently produces valid HTML 4.01 Strict.
164 # If you change it, please save the generated page from your web browser
165 # and then upload it to http://validator.w3.org/ for checking.
167 #############################################################################
169 # Available variables include:
175 # deanimate-gifs-param-first
176 # deanimate-gifs-param-last
177 # hide-from-param-block
178 # hide-from-param-custom
180 # hide-referrer-param-forge
181 # hide-referrer-param-block
182 # hide-referrer-param-custom
183 # hide-referrer-param
184 # hide-user-agent-param
185 # image-blocker-param-pattern
186 # image-blocker-param-blank
187 # image-blocker-param-custom
190 #############################################################################
191 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
195 <meta http-equiv="Content-Style-Type" content="text/css">
196 <meta http-equiv="Content-Script-Type" content="text/javascript">
197 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
198 <meta name="robots" content="noindex,nofollow">
199 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
201 <title>Privoxy@@my-hostname@: Edit actions</title>
203 <style type="text/css">
204 td.action { font-weight: bold;
206 white-space: nowrap }
207 td.subaction { font-style: italic }
208 th { font-weight: bold; }
209 # This is the key to the color names below:
210 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
211 # 1=odd rows, 2=even rows, h=Table header
212 tr.hdr { background-color: #999999 }
213 tr.bg1 { background-color: #eeeeee }
214 td.en1 { background-color: #ddffdd }
215 td.dis1 { background-color: #ffdddd }
216 td.noc1 { background-color: #ddddff }
217 th.enh { background-color: #99ff99 }
218 th.dish { background-color: #ff9999 }
219 th.noch { background-color: #9999ff }
220 table.wide { padding: 5px; }
221 td.green { border: solid black 1px; background-color: #ddffdd; }
227 border-left-width: 10px;
228 border-right-width: 10px;
229 border-top-width: 0px;
230 border-bottom-width: 0px }
233 <script type="text/javascript">
236 function hide_from_header_param_disable(tf)
238 if (document.getElementById) {
240 document.getElementById("hide_from_header_param").disabled = tf;
241 } else if (document.all) {
243 document.myform.hide_from_header_param.disabled = tf;
247 function hide_referrer_param_disable(tf)
249 if (document.getElementById) {
250 document.getElementById("hide_referrer_param").disabled = tf;
251 } else if (document.all) {
252 document.myform.hide_referrer_param.disabled = tf;
256 function set_image_blocker_param_disable(tf)
258 if (document.getElementById) {
259 document.getElementById("set_image_blocker_param").disabled = tf;
260 } else if (document.all) {
261 document.myform.set_image_blocker_param.disabled = tf;
265 function show_add_header_opts(tf)
267 if (document.getElementById) {
268 target = document.getElementById("add_header_opts");
269 } else if (document.all) {
270 target = document.add_header_opts;
274 target.style.display = (tf ? "" : "none");
277 function show_deanimate_opts(tf)
279 if (document.getElementById) {
280 target = document.getElementById("deanimate_opts");
281 } else if (document.all) {
282 target = document.deanimate_opts;
286 target.style.display = (tf ? "" : "none");
289 function show_hide_from_header_opts(tf)
291 if (document.getElementById) {
292 target = document.getElementById("hide_from_header_opts");
293 } else if (document.all) {
294 target = document.hide_from_header_opts;
298 target.style.display = (tf ? "" : "none");
301 function show_hide_referrer_opts(tf)
303 if (document.getElementById) {
304 target = document.getElementById("hide_referrer_opts");
305 } else if (document.all) {
306 target = document.hide_referrer_opts;
310 target.style.display = (tf ? "" : "none");
313 function show_user_agent_opts(tf)
315 if (document.getElementById) {
316 target = document.getElementById("user_agent_opts");
317 } else if (document.all) {
318 target = document.user_agent_opts;
322 target.style.display = (tf ? "" : "none");
325 function show_set_image_blocker_opts(tf)
327 if (document.getElementById) {
328 target = document.getElementById("set_image_blocker_opts");
329 } else if (document.all) {
330 target = document.set_image_blocker_opts;
334 target.style.display = (tf ? "" : "none");
337 function show_limit_connect_opts(tf)
339 if (document.getElementById) {
340 target = document.getElementById("limit_connect_opts");
341 } else if (document.all) {
342 target = document.limit_connect_opts;
346 target.style.display = (tf ? "" : "none");
349 function show_send_wafer_opts(tf)
351 if (document.getElementById) {
352 target = document.getElementById("send_wafer_opts");
353 } else if (document.all) {
354 target = document.send_wafer_opts;
358 target.style.display = (tf ? "" : "none");
367 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
369 <table cellpadding="20" cellspacing="10" border="0" width="100%">
378 <!-- @if-unstable-start -->
379 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
383 #include mod-unstable-warning
387 <!-- if-unstable-end@ -->
392 <input type="hidden" name="f" value="@f@">
393 <input type="hidden" name="v" value="@v@">
394 <input type="hidden" name="s" value="@s@">
400 <td class="green" align="center">
401 <p><input type="submit" value="Submit" name="Submit"></p>
405 <tr><td class="wrapbox">
407 <table border="0" cellspacing="2" width="100%" class="wide">
408 <tr class="hdr" align="left">
409 <th class="enh" align="center">Enable</th>
410 <th class="dish" align="center">Disable</th>
411 <th class="noch" align="center">No Change</th>
415 <tr class="bg1" align="left" valign="top">
416 <td class="en1" align="center" valign="middle"><input type="radio"
417 name="add_header" id="add_header_y" value="Y" @add-header-y@
418 onclick="show_add_header_opts(true)"></td>
419 <td class="dis1" align="center" valign="middle"><input type="radio"
420 name="add_header" value="N" @add-header-n@
421 onclick="show_add_header_opts(false)"></td>
422 <td class="noc1" align="center" valign="middle"><input type="radio"
423 name="add_header" value="X" @add-header-x@
424 onclick="show_add_header_opts(false)"></td>
425 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
426 <td>Adds HTTP headers.</td>
428 <tr class="bg1" align="left" valign="top" id="add_header_opts">
429 <td class="en1"> </td>
430 <td class="dis1"> </td>
431 <td class="noc1"> </td>
433 <td>Editing the settings for this option, or turning
434 it on if it was off, is not yet supported using this web-based
437 <tr class="bg1" align="left" valign="top">
438 <td class="en1" align="center" valign="middle"><input type="radio"
439 name="block" value="Y" @block-y@
441 <td class="dis1" align="center" valign="middle"><input type="radio"
442 name="block" value="N" @block-n@
444 <td class="noc1" align="center" valign="middle"><input type="radio"
445 name="block" value="X" @block-x@
447 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
448 <td>Block the request</td>
450 <tr class="bg1" align="left" valign="top">
451 <td class="en1" align="center" valign="middle"><input type="radio"
452 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
454 <td class="dis1" align="center" valign="middle"><input type="radio"
455 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
457 <td class="noc1" align="center" valign="middle"><input type="radio"
458 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
460 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
461 <td>Prevent the website from setting cookies on your system.</td>
463 <tr class="bg1" align="left" valign="top">
464 <td class="en1" align="center" valign="middle"><input type="radio"
465 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
467 <td class="dis1" align="center" valign="middle"><input type="radio"
468 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
470 <td class="noc1" align="center" valign="middle"><input type="radio"
471 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
473 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
474 <td>Prevent the website from reading cookies from your system.</td>
476 <tr class="bg1" align="left" valign="top">
477 <td class="en1" align="center" valign="middle"><input type="radio"
478 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
479 onclick="show_deanimate_opts(true)"></td>
480 <td class="dis1" align="center" valign="middle"><input type="radio"
481 name="deanimate_gifs" value="N" @deanimate-gifs-n@
482 onclick="show_deanimate_opts(false)"></td>
483 <td class="noc1" align="center" valign="middle"><input type="radio"
484 name="deanimate_gifs" value="X" @deanimate-gifs-x@
485 onclick="show_deanimate_opts(false)"></td>
486 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
487 <td>Replace animated GIFs with their (first/last) frame.</td>
489 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
490 <td class="en1"> </td>
491 <td class="dis1"> </td>
492 <td class="noc1"> </td>
494 <td>Use the <input type="radio" name="deanimate_gifs_mode"
495 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
496 for="deanimate_first">first frame</label> <input
497 type="radio" name="deanimate_gifs_mode" value="last"
498 id="deanimate_last" @deanimate-gifs-param-last@><label
499 for="deanimate_last">last frame</label></td>
501 <tr class="bg1" align="left" valign="top">
502 <td class="en1" align="center" valign="middle"><input type="radio"
503 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
504 <td class="dis1" align="center" valign="middle"><input type="radio"
505 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
506 <td class="noc1" align="center" valign="middle"><input type="radio"
507 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
508 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION">downgrade-http-version</td>
509 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
510 what you're doing!</td>
512 <tr class="bg1" align="left" valign="top">
513 <td class="en1" align="center" valign="middle"><input type="radio"
514 name="fast_redirects" value="Y" @fast-redirects-y@
516 <td class="dis1" align="center" valign="middle"><input type="radio"
517 name="fast_redirects" value="N" @fast-redirects-n@
519 <td class="noc1" align="center" valign="middle"><input type="radio"
520 name="fast_redirects" value="X" @fast-redirects-x@
522 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
523 <td>Bypass some click-tracking URLs.</td>
526 <tr class="bg1" align="left" valign="top">
527 <td class="en1"> </td>
528 <td class="dis1" align="center" valign="middle"><input type="radio"
529 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
530 <td class="noc1" align="center" valign="middle"><input type="radio"
531 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
532 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
533 <td>Filter the website through regular expression
534 filters. You can use the radio buttons on this line to disable
535 all filters applied by previous rules, and/or you can enable or
536 disable the filters individually below.</td>
539 <tr class="bg1" align="left" valign="top">
540 <td class="en1" align="center" valign="middle"><input type="radio"
541 name="handle_as_image" value="Y" @handle-as-image-y@
543 <td class="dis1" align="center" valign="middle"><input type="radio"
544 name="handle_as_image" value="N" @handle-as-image-n@
546 <td class="noc1" align="center" valign="middle"><input type="radio"
547 name="handle_as_image" value="X" @handle-as-image-x@
549 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
550 <td>Request is for an image (only useful in conjunction with the <i><b><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></b></i>
551 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
553 <tr class="bg1" align="left" valign="top">
554 <td class="en1" align="center" valign="middle"><input type="radio"
555 name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
557 <td class="dis1" align="center" valign="middle"><input type="radio"
558 name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
560 <td class="noc1" align="center" valign="middle"><input type="radio"
561 name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
563 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
564 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
566 <tr class="bg1" align="left" valign="top">
567 <td class="en1" align="center" valign="middle"><input type="radio"
568 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
569 onclick="show_hide_from_header_opts(true)"></td>
570 <td class="dis1" align="center" valign="middle"><input type="radio"
571 name="hide_from_header" value="N" @hide-from-header-n@
572 onclick="show_hide_from_header_opts(false)"></td>
573 <td class="noc1" align="center" valign="middle"><input type="radio"
574 name="hide_from_header" value="X" @hide-from-header-x@
575 onclick="show_hide_from_header_opts(false)"></td>
576 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
577 <td>Stop old web browsers from sending the user's e-mail address with
580 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
581 <td class="en1"> </td>
582 <td class="dis1"> </td>
583 <td class="noc1"> </td>
585 <td><input type="radio" name="hide_from_header_mode" value="block"
586 onclick="hide_from_header_param_disable(true);"
587 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
588 for="hide_from_header_mode_block">Remove completely</label><br>
589 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
590 onclick="hide_from_header_param_disable(false);"
591 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
592 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
593 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
594 size="40" value="@hide-from-header-param@"></td>
596 <tr class="bg1" align="left" valign="top">
597 <td class="en1" align="center" valign="middle"><input type="radio"
598 name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
599 onclick="show_hide_referrer_opts(true)"></td>
600 <td class="dis1" align="center" valign="middle"><input type="radio"
601 name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
602 onclick="show_hide_referrer_opts(false)"></td>
603 <td class="noc1" align="center" valign="middle"><input type="radio"
604 name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
605 onclick="show_hide_referrer_opts(false)"
607 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
608 <td>Helps prevent tracking by not sending the URL of the previous web
611 <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
612 <td class="en1"> </td>
613 <td class="dis1"> </td>
614 <td class="noc1"> </td>
616 <td><input type="radio" name="hide_referrer_mode" value="block"
617 onclick="hide_referrer_param_disable(true)"
618 @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
619 for="hide_referrer_mode_block">Remove completely</label> (breaks images
620 on some free web hosts).<br>
621 <input type="radio" name="hide_referrer_mode" value="forge"
622 onclick="hide_referrer_param_disable(true)"
623 @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
624 for="hide_referrer_mode_forge">Fake as the root directory of the
625 site</label> (fools checks for in-site links.)<br>
626 <input type="radio" name="hide_referrer_mode" value="CUSTOM"
627 onclick="hide_referrer_param_disable(false)"
628 @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
629 for="hide_referrer_mode_set">Fake as this web address:</label><br>
630 <input type="text" name="hide_referrer_param"
631 id="hide_referrer_param" size="40"
632 value="@hide-referrer-param@"></td>
634 <tr class="bg1" align="left" valign="top">
635 <td class="en1" align="center" valign="middle"><input type="radio"
636 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
637 onclick="show_user_agent_opts(true)"></td>
638 <td class="dis1" align="center" valign="middle"><input type="radio"
639 name="hide_user_agent" value="N" @hide-user-agent-n@
640 onclick="show_user_agent_opts(false)"></td>
641 <td class="noc1" align="center" valign="middle"><input type="radio"
642 name="hide_user_agent" value="X" @hide-user-agent-x@
643 onclick="show_user_agent_opts(false)"></td>
644 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
645 <td>Pretend to be using a different web browser. (Breaks many web
648 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
649 <td class="en1"> </td>
650 <td class="dis1"> </td>
651 <td class="noc1"> </td>
653 <td>User Agent string to send:<br>
654 <input type="text" name="hide_user_agent_mode" size="40"
655 value="@hide-user-agent-param@"></td>
657 <tr class="bg1" align="left" valign="top">
658 <td class="en1" align="center" valign="middle"><input type="radio"
659 name="kill_popups" value="Y" @kill-popups-y@
661 <td class="dis1" align="center" valign="middle"><input type="radio"
662 name="kill_popups" value="N" @kill-popups-n@
664 <td class="noc1" align="center" valign="middle"><input type="radio"
665 name="kill_popups" value="X" @kill-popups-x@
667 <td class="action"><a href="@user-manual@@actions-help-prefix@KILL-POPUPS">kill-popups</td>
668 <td>Filter the website through a built-in filter to disable many JavaScript
671 <tr class="bg1" align="left" valign="top">
672 <td class="en1" align="center" valign="middle"><input type="radio"
673 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
674 onclick="show_limit_connect_opts(true)"></td>
675 <td class="dis1" align="center" valign="middle"><input type="radio"
676 name="limit_connect" value="N" @limit-connect-n@
677 onclick="show_limit_connect_opts(false)"></td>
678 <td class="noc1" align="center" valign="middle"><input type="radio"
679 name="limit_connect" value="X" @limit-connect-x@
680 onclick="show_limit_connect_opts(false)"></td>
681 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
682 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
683 Note that this allows arbitrary tunnelling, so opening all
684 ports would be a security hole.</td>
686 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
687 <td class="en1"> </td>
688 <td class="dis1"> </td>
689 <td class="noc1"> </td>
691 <td>Legal SSL ports (comma separated, ranges allowed):<br>
692 <input type="text" name="limit_connect_mode" size="40"
693 value="@limit-connect-param@"></td>
695 <tr class="bg1" align="left" valign="top">
696 <td class="en1" align="center" valign="middle"><input type="radio"
697 name="prevent_compression" value="Y" @prevent-compression-y@
699 <td class="dis1" align="center" valign="middle"><input type="radio"
700 name="prevent_compression" value="N" @prevent-compression-n@
702 <td class="noc1" align="center" valign="middle"><input type="radio"
703 name="prevent_compression" value="X" @prevent-compression-x@
705 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
706 <td>Disables compression. Compressed web pages are faster to
707 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
708 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>.
709 This setting only affects the few web sites which support
712 <tr class="bg1" align="left" valign="top">
713 <td class="en1" align="center" valign="middle"><input type="radio"
714 name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
716 <td class="dis1" align="center" valign="middle"><input type="radio"
717 name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
719 <td class="noc1" align="center" valign="middle"><input type="radio"
720 name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
722 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
723 <td>Adds a special wafer (standard cookie) to all your requests.</td>
725 <tr class="bg1" align="left" valign="top">
726 <td class="en1" align="center" valign="middle"><input type="radio"
727 name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
728 onclick="show_send_wafer_opts(true)"></td>
729 <td class="dis1" align="center" valign="middle"><input type="radio"
730 name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
731 onclick="show_send_wafer_opts(false)"></td>
732 <td class="noc1" align="center" valign="middle"><input type="radio"
733 name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
734 onclick="show_send_wafer_opts(false)"></td>
735 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-WAFER">send-wafer</a></td>
736 <td>Adds user-specified cookies.</td>
738 <tr class="bg1" align="left" valign="top" id="send_wafer_opts">
739 <td class="en1"> </td>
740 <td class="dis1"> </td>
741 <td class="noc1"> </td>
743 <td>Editing the settings for this option, or turning
744 it on if it was off, is not yet supported using this web-based
747 <tr class="bg1" align="left" valign="top">
748 <td class="en1" align="center" valign="middle"><input type="radio"
749 name="session_cookies_only" value="Y" @session-cookies-only-y@
751 <td class="dis1" align="center" valign="middle"><input type="radio"
752 name="session_cookies_only" value="N" @session-cookies-only-n@
754 <td class="noc1" align="center" valign="middle"><input type="radio"
755 name="session_cookies_only" value="X" @session-cookies-only-x@
757 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
758 <td>Any cookies set by the website are changed to temporary
759 ("per-session") ones, which only last until you close your web
760 browser. This will allow you to use sites that require cookies, but
761 sites will not be able to track you across sessions. For this to
762 be useful, you should disable
763 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
764 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
766 <tr class="bg1" align="left" valign="top">
767 <td class="en1" align="center" valign="middle"><input type="radio"
768 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
769 onclick="show_set_image_blocker_opts(true)"></td>
770 <td class="dis1" align="center" valign="middle"><input type="radio"
771 name="set_image_blocker" value="N" @set-image-blocker-n@
772 onclick="show_set_image_blocker_opts(false)"></td>
773 <td class="noc1" align="center" valign="middle"><input type="radio"
774 name="set_image_blocker" value="X" @set-image-blocker-x@
775 onclick="show_set_image_blocker_opts(false)"></td>
776 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
777 <td>Specifies how to block images.</td>
779 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
780 <td class="en1"> </td>
781 <td class="dis1"> </td>
782 <td class="noc1"> </td>
784 <td><input type="radio" name="set_image_blocker_mode"
785 onclick="set_image_blocker_param_disable(true)"
786 value="pattern" id="set_image_blocker_mode_pattern"
787 @set-image-blocker-param-pattern@><label
788 for="set_image_blocker_mode_pattern">Send a pattern (<img
789 src="send-banner?type=p" width="12" height="12"
790 alt="pattern">)</label><br>
791 <input type="radio" name="set_image_blocker_mode" value="blank"
792 onclick="set_image_blocker_param_disable(true)"
793 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
794 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
795 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
796 onclick="set_image_blocker_param_disable(false)"
797 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
798 for="set_image_blocker_mode_set">Redirect
799 the browser to this image URL:</label><br>
800 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
801 size="40" value="@set-image-blocker-param@"></td>
808 <td class="green" align="center">
809 <p><input type="submit" value="Submit" name="Submit"></p>
815 <h2>More Privoxy:</h2>
823 #include mod-support-and-service
828 <!-- @if-have-help-info-start -->
832 #include mod-local-help
836 <!-- if-have-help-info-end@ -->
840 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
848 <script type="text/javascript">
851 if (document.getElementById) {
852 // alert("Netscape 6 or IE5");
853 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
854 document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
855 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
857 show_add_header_opts (document.getElementById("add_header_y").checked);
858 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
859 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
860 show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
861 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
862 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
863 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
864 show_send_wafer_opts (document.getElementById("wafer_y").checked);
865 } else if (document.all) {
867 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
868 document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
869 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
871 show_add_header_opts (document.myform.add_header_y.checked);
872 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
873 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
874 show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
875 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
876 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
877 show_limit_connect_opts (document.myform.limit_connect_y.checked);
878 show_send_wafer_opts (document.myform.wafer_y.checked);
879 } else if (document.layers) {
880 // alert("Netscape 4");