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.27 2002/04/26 22:55:26 jongfoster
36 # Removing the alternating colors because they've been wrong
37 # since the actions renames, they're high maintenance, they
38 # don't look particularly good, and now there are gaps between
39 # the table cells we don't need them.
41 # Revision 1.26 2002/04/26 21:55:17 jongfoster
42 # Cosmetic change: Making the +filter UI look the same as
45 # Revision 1.25 2002/04/26 21:37:50 jongfoster
46 # Fixing all(?) the substitutions that were broken in the
47 # recent actions rename.
49 # Revision 1.24 2002/04/26 18:24:28 jongfoster
50 # Fixing typos in help hyperlinks
52 # Revision 1.23 2002/04/26 12:57:02 oes
53 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
55 # Revision 1.22 2002/04/10 13:32:53 oes
56 # Made templates modular
58 # Revision 1.21 2002/04/08 17:05:18 oes
59 # Inline a style exception
61 # Revision 1.20 2002/04/05 16:01:30 oes
62 # Correct HTML, external Stylesheets, eye candy, some fixes
64 # Revision 1.19 2002/03/26 22:29:56 swa
65 # we have a new homepage!
67 # Revision 1.18 2002/03/24 16:32:08 jongfoster
68 # Removing logo option
70 # Revision 1.17 2002/03/24 15:23:33 jongfoster
73 # Revision 1.16 2002/03/24 11:01:06 swa
76 # Revision 1.15 2002/03/23 16:18:15 swa
77 # renamed every reference to the old name with foobar.
78 # fixed "application foobar application" tag, fixed
79 # "the foobar" with "foobar". left junkbuster in cvs
80 # comments and remarks to history untouched. should
81 # make final rename easier.
83 # Revision 1.14 2002/03/16 15:22:19 jongfoster
84 # Moving 'alpha' warning to the end of the page
86 # Revision 1.13 2002/03/16 14:28:38 jongfoster
87 # First version of modular filters support
89 # Revision 1.12 2002/03/12 01:42:50 oes
90 # Introduced modular filters
92 # Revision 1.11 2002/03/08 18:19:14 jongfoster
93 # Adding +image-blocker{pattern} option to edit interface
95 # Revision 1.10 2002/03/03 10:29:12 swa
96 # point users to the right feedback forms,
97 # not necessarily the developer list.
99 # Revision 1.9 2002/01/23 00:26:45 jongfoster
100 # Reducing length of URLs
101 # Where encoded and unencoded versions of a string existed, removing
104 # Revision 1.8 2002/01/17 21:33:00 jongfoster
105 # Replacing all references to the URL of the config interface
108 # Revision 1.7 2002/01/17 21:21:03 jongfoster
109 # DOS->Unix line endings
111 # Revision 1.6 2001/11/22 21:58:41 jongfoster
112 # Adding action +no-cookies-keep
114 # Revision 1.5 2001/11/13 21:12:17 jongfoster
115 # Added support for the following actions:
116 # +downgrade, +limit-connect, +no-compression
118 # Revision 1.4 2001/11/13 00:58:18 jongfoster
119 # New version of actions file editor templates
122 ##############################################################################
124 # Browser support for the JavaScript on this page:
125 # MS Internet Explorer 5.5 - Tested, Yes
126 # Netscape 6.0 - Tested, Yes
127 # Netscape 4.75 - Tested, NO
128 # Opera 5.12 - Tested, NO
129 # MS Internet Explorer 4+ - Untested, Yes
130 # MS IE 3.x, NS3.x - Untested, NO
131 # Mozilla >=0.6 - Untested, Yes
133 # All browsers should work, you just might not get the pretty DHTML effects.
135 # The effects that only work under the browsers marked "Yes" above are:
136 # - Text edit boxes that won't have any effect are disabled.
137 # - Table rows containing additional settings are hidden if the feature in
138 # question is disabled.
140 # There are major kludges to get around these problems with NS4, but they
141 # screw up the HTML too much for other browsers. If anyone wants to try,
142 # here's some descriptions of the kludges:
143 # http://www.webreference.com/js/tips/991114.html
144 # http://www.webreference.com/dhtml/column12/outDisplay.html
146 # If you're favorite browser isn't listed, please test and add it.
149 #############################################################################
153 # This file currently produces valid HTML 4.01 Strict.
155 # If you change it, please save the generated page from your web browser
156 # and then upload it to http://validator.w3.org/ for checking.
158 #############################################################################
160 # Available variables include:
166 # deanimate-gifs-param-first
167 # deanimate-gifs-param-last
168 # hide-from-param-block
169 # hide-from-param-custom
171 # hide-referer-param-forge
172 # hide-referer-param-block
173 # hide-referer-param-custom
175 # hide-user-agent-param
176 # image-blocker-param-pattern
177 # image-blocker-param-blank
178 # image-blocker-param-custom
181 #############################################################################
182 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
186 <meta http-equiv="Content-Style-Type" content="text/css">
187 <meta http-equiv="Content-Script-Type" content="text/javascript">
188 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
189 <meta name="robots" content="noindex,nofollow">
190 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
192 <title>Privoxy@@my-hostname@: Edit actions</title>
194 <style type="text/css">
195 td.action { font-weight: bold;
197 white-space: nowrap }
198 td.subaction { font-style: italic }
199 th { font-weight: bold; }
200 # This is the key to the color names below:
201 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
202 # 1=odd rows, 2=even rows, h=Table header
203 tr.hdr { background-color: #999999 }
204 tr.bg1 { background-color: #eeeeee }
205 td.en1 { background-color: #ddffdd }
206 td.dis1 { background-color: #ffdddd }
207 td.noc1 { background-color: #ddddff }
208 th.enh { background-color: #99ff99 }
209 th.dish { background-color: #ff9999 }
210 th.noch { background-color: #9999ff }
211 table.wide { padding: 5px; }
212 td.green { border: solid black 1px; background-color: #ddffdd; }
218 border-left-width: 10px;
219 border-right-width: 10px;
220 border-top-width: 0px;
221 border-bottom-width: 0px }
224 <script type="text/javascript">
227 function hide_from_header_param_disable(tf)
229 if (document.getElementById) {
231 document.getElementById("hide_from_header_param").disabled = tf;
232 } else if (document.all) {
234 document.myform.hide_from_header_param.disabled = tf;
238 function hide_referer_param_disable(tf)
240 if (document.getElementById) {
241 document.getElementById("hide_referer_param").disabled = tf;
242 } else if (document.all) {
243 document.myform.hide_referer_param.disabled = tf;
247 function set_image_blocker_param_disable(tf)
249 if (document.getElementById) {
250 document.getElementById("set_image_blocker_param").disabled = tf;
251 } else if (document.all) {
252 document.myform.set_image_blocker_param.disabled = tf;
256 function show_add_header_opts(tf)
258 if (document.getElementById) {
259 target = document.getElementById("add_header_opts");
260 } else if (document.all) {
261 target = document.add_header_opts;
265 target.style.display = (tf ? "" : "none");
268 function show_deanimate_opts(tf)
270 if (document.getElementById) {
271 target = document.getElementById("deanimate_opts");
272 } else if (document.all) {
273 target = document.deanimate_opts;
277 target.style.display = (tf ? "" : "none");
280 function show_hide_from_header_opts(tf)
282 if (document.getElementById) {
283 target = document.getElementById("hide_from_header_opts");
284 } else if (document.all) {
285 target = document.hide_from_header_opts;
289 target.style.display = (tf ? "" : "none");
292 function show_hide_referer_opts(tf)
294 if (document.getElementById) {
295 target = document.getElementById("hide_referer_opts");
296 } else if (document.all) {
297 target = document.hide_referer_opts;
301 target.style.display = (tf ? "" : "none");
304 function show_user_agent_opts(tf)
306 if (document.getElementById) {
307 target = document.getElementById("user_agent_opts");
308 } else if (document.all) {
309 target = document.user_agent_opts;
313 target.style.display = (tf ? "" : "none");
316 function show_set_image_blocker_opts(tf)
318 if (document.getElementById) {
319 target = document.getElementById("set_image_blocker_opts");
320 } else if (document.all) {
321 target = document.set_image_blocker_opts;
325 target.style.display = (tf ? "" : "none");
328 function show_limit_connect_opts(tf)
330 if (document.getElementById) {
331 target = document.getElementById("limit_connect_opts");
332 } else if (document.all) {
333 target = document.limit_connect_opts;
337 target.style.display = (tf ? "" : "none");
340 function show_send_wafer_opts(tf)
342 if (document.getElementById) {
343 target = document.getElementById("send_wafer_opts");
344 } else if (document.all) {
345 target = document.send_wafer_opts;
349 target.style.display = (tf ? "" : "none");
358 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
360 <table cellpadding="20" cellspacing="10" border="0" width="100%">
369 <!-- @if-unstable-start -->
370 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
374 #include mod-unstable-warning
378 <!-- if-unstable-end@ -->
383 <input type="hidden" name="f" value="@f@">
384 <input type="hidden" name="v" value="@v@">
385 <input type="hidden" name="s" value="@s@">
390 <tr><td class="wrapbox">
392 <table border="0" cellspacing="2" width="100%" class="wide">
393 <tr class="hdr" align="left">
394 <th class="enh" align="center">Enable</th>
395 <th class="dish" align="center">Disable</th>
396 <th class="noch" align="center">No Change</th>
400 <tr class="bg1" align="left" valign="top">
401 <td class="en1" align="center" valign="middle"><input type="radio"
402 name="add_header" id="add_header_y" value="Y" @add-header-y@
403 onclick="show_add_header_opts(true)"></td>
404 <td class="dis1" align="center" valign="middle"><input type="radio"
405 name="add_header" value="N" @add-header-n@
406 onclick="show_add_header_opts(false)"></td>
407 <td class="noc1" align="center" valign="middle"><input type="radio"
408 name="add_header" value="X" @add-header-x@
409 onclick="show_add_header_opts(false)"></td>
410 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
411 <td>Adds HTTP headers.</td>
413 <tr class="bg1" align="left" valign="top" id="add_header_opts">
414 <td class="en1"> </td>
415 <td class="dis1"> </td>
416 <td class="noc1"> </td>
418 <td>Editing the settings for this option, or turning
419 it on if it was off, is not yet supported using this web-based
422 <tr class="bg1" align="left" valign="top">
423 <td class="en1" align="center" valign="middle"><input type="radio"
424 name="block" value="Y" @block-y@
426 <td class="dis1" align="center" valign="middle"><input type="radio"
427 name="block" value="N" @block-n@
429 <td class="noc1" align="center" valign="middle"><input type="radio"
430 name="block" value="X" @block-x@
432 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
433 <td>Block the request</td>
435 <tr class="bg1" align="left" valign="top">
436 <td class="en1" align="center" valign="middle"><input type="radio"
437 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
439 <td class="dis1" align="center" valign="middle"><input type="radio"
440 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
442 <td class="noc1" align="center" valign="middle"><input type="radio"
443 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
445 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
446 <td>Prevent the website from setting cookies on your system.</td>
448 <tr class="bg1" align="left" valign="top">
449 <td class="en1" align="center" valign="middle"><input type="radio"
450 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
452 <td class="dis1" align="center" valign="middle"><input type="radio"
453 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
455 <td class="noc1" align="center" valign="middle"><input type="radio"
456 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
458 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
459 <td>Prevent the website from reading cookies from your system.</td>
461 <tr class="bg1" align="left" valign="top">
462 <td class="en1" align="center" valign="middle"><input type="radio"
463 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
464 onclick="show_deanimate_opts(true)"></td>
465 <td class="dis1" align="center" valign="middle"><input type="radio"
466 name="deanimate_gifs" value="N" @deanimate-gifs-n@
467 onclick="show_deanimate_opts(false)"></td>
468 <td class="noc1" align="center" valign="middle"><input type="radio"
469 name="deanimate_gifs" value="X" @deanimate-gifs-x@
470 onclick="show_deanimate_opts(false)"></td>
471 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
472 <td>Replace animated GIFs with their (first/last) frame.</td>
474 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
475 <td class="en1"> </td>
476 <td class="dis1"> </td>
477 <td class="noc1"> </td>
479 <td>Use the <input type="radio" name="deanimate_gifs_mode"
480 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
481 for="deanimate_first">first frame</label> <input
482 type="radio" name="deanimate_gifs_mode" value="last"
483 id="deanimate_last" @deanimate-gifs-param-last@><label
484 for="deanimate_last">last frame</label></td>
486 <tr class="bg1" align="left" valign="top">
487 <td class="en1" align="center" valign="middle"><input type="radio"
488 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
489 <td class="dis1" align="center" valign="middle"><input type="radio"
490 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
491 <td class="noc1" align="center" valign="middle"><input type="radio"
492 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
493 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION">downgrade-http-version</td>
494 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
495 what you're doing!</td>
497 <tr class="bg1" align="left" valign="top">
498 <td class="en1" align="center" valign="middle"><input type="radio"
499 name="fast_redirects" value="Y" @fast-redirects-y@
501 <td class="dis1" align="center" valign="middle"><input type="radio"
502 name="fast_redirects" value="N" @fast-redirects-n@
504 <td class="noc1" align="center" valign="middle"><input type="radio"
505 name="fast_redirects" value="X" @fast-redirects-x@
507 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
508 <td>Bypass some click-tracking URLs.</td>
511 <tr class="bg1" align="left" valign="top">
512 <td class="en1"> </td>
513 <td class="dis1" align="center" valign="middle"><input type="radio"
514 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
515 <td class="noc1" align="center" valign="middle"><input type="radio"
516 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
517 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
518 <td>Filter the website through regular expression
519 filters. You can use the radio buttons on this line to disable
520 all filters applied by previous rules, and/or you can enable or
521 disable the filters individually below.</td>
524 <tr class="bg1" align="left" valign="top">
525 <td class="en1" align="center" valign="middle"><input type="radio"
526 name="handle_as_image" value="Y" @handle-as-image-y@
528 <td class="dis1" align="center" valign="middle"><input type="radio"
529 name="handle_as_image" value="N" @handle-as-image-n@
531 <td class="noc1" align="center" valign="middle"><input type="radio"
532 name="handle_as_image" value="X" @handle-as-image-x@
534 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
535 <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>
536 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
538 <tr class="bg1" align="left" valign="top">
539 <td class="en1" align="center" valign="middle"><input type="radio"
540 name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
542 <td class="dis1" align="center" valign="middle"><input type="radio"
543 name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
545 <td class="noc1" align="center" valign="middle"><input type="radio"
546 name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
548 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
549 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
551 <tr class="bg1" align="left" valign="top">
552 <td class="en1" align="center" valign="middle"><input type="radio"
553 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
554 onclick="show_hide_from_header_opts(true)"></td>
555 <td class="dis1" align="center" valign="middle"><input type="radio"
556 name="hide_from_header" value="N" @hide-from-header-n@
557 onclick="show_hide_from_header_opts(false)"></td>
558 <td class="noc1" align="center" valign="middle"><input type="radio"
559 name="hide_from_header" value="X" @hide-from-header-x@
560 onclick="show_hide_from_header_opts(false)"></td>
561 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
562 <td>Stop old web browsers from sending the user's e-mail address with
565 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
566 <td class="en1"> </td>
567 <td class="dis1"> </td>
568 <td class="noc1"> </td>
570 <td><input type="radio" name="hide_from_header_mode" value="block"
571 onclick="hide_from_header_param_disable(true);"
572 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
573 for="hide_from_header_mode_block">Remove completely</label><br>
574 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
575 onclick="hide_from_header_param_disable(false);"
576 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
577 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
578 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
579 size="40" value="@hide-from-header-param@"></td>
581 <tr class="bg1" align="left" valign="top">
582 <td class="en1" align="center" valign="middle"><input type="radio"
583 name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
584 onclick="show_hide_referer_opts(true)"></td>
585 <td class="dis1" align="center" valign="middle"><input type="radio"
586 name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
587 onclick="show_hide_referer_opts(false)"></td>
588 <td class="noc1" align="center" valign="middle"><input type="radio"
589 name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
590 onclick="show_hide_referer_opts(false)"
592 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
593 <td>Helps prevent tracking by not sending the URL of the previous web
596 <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
597 <td class="en1"> </td>
598 <td class="dis1"> </td>
599 <td class="noc1"> </td>
601 <td><input type="radio" name="hide_referer_mode" value="block"
602 onclick="hide_referer_param_disable(true)"
603 @hide-referer-param-block@ id="hide_referer_mode_block"><label
604 for="hide_referer_mode_block">Remove completely</label> (breaks images
605 on some free web hosts).<br>
606 <input type="radio" name="hide_referer_mode" value="forge"
607 onclick="hide_referer_param_disable(true)"
608 @hide-referer-param-forge@ id="hide_referer_mode_forge"><label
609 for="hide_referer_mode_forge">Fake as the root directory of the
610 site</label> (fools checks for in-site links.)<br>
611 <input type="radio" name="hide_referer_mode" value="CUSTOM"
612 onclick="hide_referer_param_disable(false)"
613 @hide-referer-param-custom@ id="hide_referer_mode_set"><label
614 for="hide_referer_mode_set">Fake as this web address:</label><br>
615 <input type="text" name="hide_referer_param"
616 id="hide_referer_param" size="40"
617 value="@hide-referer-param@"></td>
619 <tr class="bg1" align="left" valign="top">
620 <td class="en1" align="center" valign="middle"><input type="radio"
621 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
622 onclick="show_user_agent_opts(true)"></td>
623 <td class="dis1" align="center" valign="middle"><input type="radio"
624 name="hide_user_agent" value="N" @hide-user-agent-n@
625 onclick="show_user_agent_opts(false)"></td>
626 <td class="noc1" align="center" valign="middle"><input type="radio"
627 name="hide_user_agent" value="X" @hide-user-agent-x@
628 onclick="show_user_agent_opts(false)"></td>
629 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
630 <td>Pretend to be using a different web browser. (Breaks many web
633 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
634 <td class="en1"> </td>
635 <td class="dis1"> </td>
636 <td class="noc1"> </td>
638 <td>User Agent string to send:<br>
639 <input type="text" name="hide_user_agent_mode" size="40"
640 value="@hide-user-agent-param@"></td>
642 <tr class="bg1" align="left" valign="top">
643 <td class="en1" align="center" valign="middle"><input type="radio"
644 name="kill_popups" value="Y" @kill-popups-y@
646 <td class="dis1" align="center" valign="middle"><input type="radio"
647 name="kill_popups" value="N" @kill-popups-n@
649 <td class="noc1" align="center" valign="middle"><input type="radio"
650 name="kill_popups" value="X" @kill-popups-x@
652 <td class="action"><a href="@user-manual@@actions-help-prefix@KILL-POPUPS">kill-popups</td>
653 <td>Filter the website through a built-in filter to disable many JavaScript
656 <tr class="bg1" align="left" valign="top">
657 <td class="en1" align="center" valign="middle"><input type="radio"
658 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
659 onclick="show_limit_connect_opts(true)"></td>
660 <td class="dis1" align="center" valign="middle"><input type="radio"
661 name="limit_connect" value="N" @limit-connect-n@
662 onclick="show_limit_connect_opts(false)"></td>
663 <td class="noc1" align="center" valign="middle"><input type="radio"
664 name="limit_connect" value="X" @limit-connect-x@
665 onclick="show_limit_connect_opts(false)"></td>
666 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
667 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
668 Note that this allows arbitrary tunnelling, so opening all
669 ports would be a security hole.</td>
671 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
672 <td class="en1"> </td>
673 <td class="dis1"> </td>
674 <td class="noc1"> </td>
676 <td>Legal SSL ports (comma separated, ranges allowed):<br>
677 <input type="text" name="limit_connect_mode" size="40"
678 value="@limit-connect-param@"></td>
680 <tr class="bg1" align="left" valign="top">
681 <td class="en1" align="center" valign="middle"><input type="radio"
682 name="prevent_compression" value="Y" @prevent-compression-y@
684 <td class="dis1" align="center" valign="middle"><input type="radio"
685 name="prevent_compression" value="N" @prevent-compression-n@
687 <td class="noc1" align="center" valign="middle"><input type="radio"
688 name="prevent_compression" value="X" @prevent-compression-x@
690 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
691 <td>Disables compression. Compressed web pages are faster to
692 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
693 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>.
694 This setting only affects the few web sites which support
697 <tr class="bg1" align="left" valign="top">
698 <td class="en1" align="center" valign="middle"><input type="radio"
699 name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
701 <td class="dis1" align="center" valign="middle"><input type="radio"
702 name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
704 <td class="noc1" align="center" valign="middle"><input type="radio"
705 name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
707 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
708 <td>Adds a special wafer (standard cookie) to all your requests.</td>
710 <tr class="bg1" align="left" valign="top">
711 <td class="en1" align="center" valign="middle"><input type="radio"
712 name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
713 onclick="show_send_wafer_opts(true)"></td>
714 <td class="dis1" align="center" valign="middle"><input type="radio"
715 name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
716 onclick="show_send_wafer_opts(false)"></td>
717 <td class="noc1" align="center" valign="middle"><input type="radio"
718 name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
719 onclick="show_send_wafer_opts(false)"></td>
720 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-WAFER">send-wafer</a></td>
721 <td>Adds user-specified cookies.</td>
723 <tr class="bg1" align="left" valign="top" id="send_wafer_opts">
724 <td class="en1"> </td>
725 <td class="dis1"> </td>
726 <td class="noc1"> </td>
728 <td>Editing the settings for this option, or turning
729 it on if it was off, is not yet supported using this web-based
732 <tr class="bg1" align="left" valign="top">
733 <td class="en1" align="center" valign="middle"><input type="radio"
734 name="session_cookies_only" value="Y" @session-cookies-only-y@
736 <td class="dis1" align="center" valign="middle"><input type="radio"
737 name="session_cookies_only" value="N" @session-cookies-only-n@
739 <td class="noc1" align="center" valign="middle"><input type="radio"
740 name="session_cookies_only" value="X" @session-cookies-only-x@
742 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
743 <td>Any cookies set by the website are changed to temporary
744 ("per-session") ones, which only last until you close your web
745 browser. This will allow you to use sites that require cookies, but
746 sites will not be able to track you across sessions. For this to
747 be useful, you should disable
748 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
749 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
751 <tr class="bg1" align="left" valign="top">
752 <td class="en1" align="center" valign="middle"><input type="radio"
753 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
754 onclick="show_set_image_blocker_opts(true)"></td>
755 <td class="dis1" align="center" valign="middle"><input type="radio"
756 name="set_image_blocker" value="N" @set-image-blocker-n@
757 onclick="show_set_image_blocker_opts(false)"></td>
758 <td class="noc1" align="center" valign="middle"><input type="radio"
759 name="set_image_blocker" value="X" @set-image-blocker-x@
760 onclick="show_set_image_blocker_opts(false)"></td>
761 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
762 <td>Specifies how to block images.</td>
764 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
765 <td class="en1"> </td>
766 <td class="dis1"> </td>
767 <td class="noc1"> </td>
769 <td><input type="radio" name="set_image_blocker_mode"
770 onclick="set_image_blocker_param_disable(true)"
771 value="pattern" id="set_image_blocker_mode_pattern"
772 @set-image-blocker-param-pattern@><label
773 for="set_image_blocker_mode_pattern">Send a pattern (<img
774 src="send-banner?type=p" width="12" height="12"
775 alt="pattern">)</label><br>
776 <input type="radio" name="set_image_blocker_mode" value="blank"
777 onclick="set_image_blocker_param_disable(true)"
778 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
779 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
780 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
781 onclick="set_image_blocker_param_disable(false)"
782 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
783 for="set_image_blocker_mode_set">Redirect
784 the browser to this image URL:</label><br>
785 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
786 size="40" value="@set-image-blocker-param@"></td>
793 <td class="green" align="center">
794 <p><input type="submit" value="Submit" name="Submit"></p>
800 <h2>More Privoxy:</h2>
808 #include mod-support-and-service
813 <!-- @if-have-help-info-start -->
817 #include mod-local-help
821 <!-- if-have-help-info-end@ -->
825 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
833 <script type="text/javascript">
836 if (document.getElementById) {
837 // alert("Netscape 6 or IE5");
838 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
839 document.getElementById("hide_referer_param").disabled = !(document.getElementById("hide_referer_mode_set").checked);
840 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
842 show_add_header_opts (document.getElementById("add_header_y").checked);
843 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
844 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
845 show_hide_referer_opts (document.getElementById("hide_referer_y").checked);
846 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
847 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
848 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
849 show_wafer_opts (document.getElementById("wafer_y").checked);
850 } else if (document.all) {
852 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
853 document.myform.hide_referer_param.disabled = !(document.myform.hide_referer_mode_set.checked);
854 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
856 show_add_header_opts (document.myform.add_header_y.checked);
857 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
858 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
859 show_hide_referer_opts (document.myform.hide_referer_y.checked);
860 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
861 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
862 show_limit_connect_opts (document.myform.limit_connect_y.checked);
863 show_wafer_opts (document.myform.wafer_y.checked);
864 } else if (document.layers) {
865 // alert("Netscape 4");