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.28 2002/05/14 21:36:38 oes
36 # - Renamed prevent-(setting/reading)-cookies to
37 # crunch-(incoming/outgoing)-cookies
38 # - Renamed helplink export to actions-help-prefix
39 # - Restored alphabetical order of actions
41 # Revision 1.27 2002/04/26 22:55:26 jongfoster
42 # Removing the alternating colors because they've been wrong
43 # since the actions renames, they're high maintenance, they
44 # don't look particularly good, and now there are gaps between
45 # the table cells we don't need them.
47 # Revision 1.26 2002/04/26 21:55:17 jongfoster
48 # Cosmetic change: Making the +filter UI look the same as
51 # Revision 1.25 2002/04/26 21:37:50 jongfoster
52 # Fixing all(?) the substitutions that were broken in the
53 # recent actions rename.
55 # Revision 1.24 2002/04/26 18:24:28 jongfoster
56 # Fixing typos in help hyperlinks
58 # Revision 1.23 2002/04/26 12:57:02 oes
59 # Actions renamed, alphabetically sorted, comments fixed, and names linked to help
61 # Revision 1.22 2002/04/10 13:32:53 oes
62 # Made templates modular
64 # Revision 1.21 2002/04/08 17:05:18 oes
65 # Inline a style exception
67 # Revision 1.20 2002/04/05 16:01:30 oes
68 # Correct HTML, external Stylesheets, eye candy, some fixes
70 # Revision 1.19 2002/03/26 22:29:56 swa
71 # we have a new homepage!
73 # Revision 1.18 2002/03/24 16:32:08 jongfoster
74 # Removing logo option
76 # Revision 1.17 2002/03/24 15:23:33 jongfoster
79 # Revision 1.16 2002/03/24 11:01:06 swa
82 # Revision 1.15 2002/03/23 16:18:15 swa
83 # renamed every reference to the old name with foobar.
84 # fixed "application foobar application" tag, fixed
85 # "the foobar" with "foobar". left junkbuster in cvs
86 # comments and remarks to history untouched. should
87 # make final rename easier.
89 # Revision 1.14 2002/03/16 15:22:19 jongfoster
90 # Moving 'alpha' warning to the end of the page
92 # Revision 1.13 2002/03/16 14:28:38 jongfoster
93 # First version of modular filters support
95 # Revision 1.12 2002/03/12 01:42:50 oes
96 # Introduced modular filters
98 # Revision 1.11 2002/03/08 18:19:14 jongfoster
99 # Adding +image-blocker{pattern} option to edit interface
101 # Revision 1.10 2002/03/03 10:29:12 swa
102 # point users to the right feedback forms,
103 # not necessarily the developer list.
105 # Revision 1.9 2002/01/23 00:26:45 jongfoster
106 # Reducing length of URLs
107 # Where encoded and unencoded versions of a string existed, removing
110 # Revision 1.8 2002/01/17 21:33:00 jongfoster
111 # Replacing all references to the URL of the config interface
114 # Revision 1.7 2002/01/17 21:21:03 jongfoster
115 # DOS->Unix line endings
117 # Revision 1.6 2001/11/22 21:58:41 jongfoster
118 # Adding action +no-cookies-keep
120 # Revision 1.5 2001/11/13 21:12:17 jongfoster
121 # Added support for the following actions:
122 # +downgrade, +limit-connect, +no-compression
124 # Revision 1.4 2001/11/13 00:58:18 jongfoster
125 # New version of actions file editor templates
128 ##############################################################################
130 # Browser support for the JavaScript on this page:
131 # MS Internet Explorer 5.5 - Tested, Yes
132 # Netscape 6.0 - Tested, Yes
133 # Netscape 4.75 - Tested, NO
134 # Opera 5.12 - Tested, NO
135 # MS Internet Explorer 4+ - Untested, Yes
136 # MS IE 3.x, NS3.x - Untested, NO
137 # Mozilla >=0.6 - Untested, Yes
139 # All browsers should work, you just might not get the pretty DHTML effects.
141 # The effects that only work under the browsers marked "Yes" above are:
142 # - Text edit boxes that won't have any effect are disabled.
143 # - Table rows containing additional settings are hidden if the feature in
144 # question is disabled.
146 # There are major kludges to get around these problems with NS4, but they
147 # screw up the HTML too much for other browsers. If anyone wants to try,
148 # here's some descriptions of the kludges:
149 # http://www.webreference.com/js/tips/991114.html
150 # http://www.webreference.com/dhtml/column12/outDisplay.html
152 # If you're favorite browser isn't listed, please test and add it.
155 #############################################################################
159 # This file currently produces valid HTML 4.01 Strict.
161 # If you change it, please save the generated page from your web browser
162 # and then upload it to http://validator.w3.org/ for checking.
164 #############################################################################
166 # Available variables include:
172 # deanimate-gifs-param-first
173 # deanimate-gifs-param-last
174 # hide-from-param-block
175 # hide-from-param-custom
177 # hide-referer-param-forge
178 # hide-referer-param-block
179 # hide-referer-param-custom
181 # hide-user-agent-param
182 # image-blocker-param-pattern
183 # image-blocker-param-blank
184 # image-blocker-param-custom
187 #############################################################################
188 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
192 <meta http-equiv="Content-Style-Type" content="text/css">
193 <meta http-equiv="Content-Script-Type" content="text/javascript">
194 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
195 <meta name="robots" content="noindex,nofollow">
196 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
198 <title>Privoxy@@my-hostname@: Edit actions</title>
200 <style type="text/css">
201 td.action { font-weight: bold;
203 white-space: nowrap }
204 td.subaction { font-style: italic }
205 th { font-weight: bold; }
206 # This is the key to the color names below:
207 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
208 # 1=odd rows, 2=even rows, h=Table header
209 tr.hdr { background-color: #999999 }
210 tr.bg1 { background-color: #eeeeee }
211 td.en1 { background-color: #ddffdd }
212 td.dis1 { background-color: #ffdddd }
213 td.noc1 { background-color: #ddddff }
214 th.enh { background-color: #99ff99 }
215 th.dish { background-color: #ff9999 }
216 th.noch { background-color: #9999ff }
217 table.wide { padding: 5px; }
218 td.green { border: solid black 1px; background-color: #ddffdd; }
224 border-left-width: 10px;
225 border-right-width: 10px;
226 border-top-width: 0px;
227 border-bottom-width: 0px }
230 <script type="text/javascript">
233 function hide_from_header_param_disable(tf)
235 if (document.getElementById) {
237 document.getElementById("hide_from_header_param").disabled = tf;
238 } else if (document.all) {
240 document.myform.hide_from_header_param.disabled = tf;
244 function hide_referer_param_disable(tf)
246 if (document.getElementById) {
247 document.getElementById("hide_referer_param").disabled = tf;
248 } else if (document.all) {
249 document.myform.hide_referer_param.disabled = tf;
253 function set_image_blocker_param_disable(tf)
255 if (document.getElementById) {
256 document.getElementById("set_image_blocker_param").disabled = tf;
257 } else if (document.all) {
258 document.myform.set_image_blocker_param.disabled = tf;
262 function show_add_header_opts(tf)
264 if (document.getElementById) {
265 target = document.getElementById("add_header_opts");
266 } else if (document.all) {
267 target = document.add_header_opts;
271 target.style.display = (tf ? "" : "none");
274 function show_deanimate_opts(tf)
276 if (document.getElementById) {
277 target = document.getElementById("deanimate_opts");
278 } else if (document.all) {
279 target = document.deanimate_opts;
283 target.style.display = (tf ? "" : "none");
286 function show_hide_from_header_opts(tf)
288 if (document.getElementById) {
289 target = document.getElementById("hide_from_header_opts");
290 } else if (document.all) {
291 target = document.hide_from_header_opts;
295 target.style.display = (tf ? "" : "none");
298 function show_hide_referer_opts(tf)
300 if (document.getElementById) {
301 target = document.getElementById("hide_referer_opts");
302 } else if (document.all) {
303 target = document.hide_referer_opts;
307 target.style.display = (tf ? "" : "none");
310 function show_user_agent_opts(tf)
312 if (document.getElementById) {
313 target = document.getElementById("user_agent_opts");
314 } else if (document.all) {
315 target = document.user_agent_opts;
319 target.style.display = (tf ? "" : "none");
322 function show_set_image_blocker_opts(tf)
324 if (document.getElementById) {
325 target = document.getElementById("set_image_blocker_opts");
326 } else if (document.all) {
327 target = document.set_image_blocker_opts;
331 target.style.display = (tf ? "" : "none");
334 function show_limit_connect_opts(tf)
336 if (document.getElementById) {
337 target = document.getElementById("limit_connect_opts");
338 } else if (document.all) {
339 target = document.limit_connect_opts;
343 target.style.display = (tf ? "" : "none");
346 function show_send_wafer_opts(tf)
348 if (document.getElementById) {
349 target = document.getElementById("send_wafer_opts");
350 } else if (document.all) {
351 target = document.send_wafer_opts;
355 target.style.display = (tf ? "" : "none");
364 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
366 <table cellpadding="20" cellspacing="10" border="0" width="100%">
375 <!-- @if-unstable-start -->
376 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
380 #include mod-unstable-warning
384 <!-- if-unstable-end@ -->
389 <input type="hidden" name="f" value="@f@">
390 <input type="hidden" name="v" value="@v@">
391 <input type="hidden" name="s" value="@s@">
396 <tr><td class="wrapbox">
398 <table border="0" cellspacing="2" width="100%" class="wide">
399 <tr class="hdr" align="left">
400 <th class="enh" align="center">Enable</th>
401 <th class="dish" align="center">Disable</th>
402 <th class="noch" align="center">No Change</th>
406 <tr class="bg1" align="left" valign="top">
407 <td class="en1" align="center" valign="middle"><input type="radio"
408 name="add_header" id="add_header_y" value="Y" @add-header-y@
409 onclick="show_add_header_opts(true)"></td>
410 <td class="dis1" align="center" valign="middle"><input type="radio"
411 name="add_header" value="N" @add-header-n@
412 onclick="show_add_header_opts(false)"></td>
413 <td class="noc1" align="center" valign="middle"><input type="radio"
414 name="add_header" value="X" @add-header-x@
415 onclick="show_add_header_opts(false)"></td>
416 <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
417 <td>Adds HTTP headers.</td>
419 <tr class="bg1" align="left" valign="top" id="add_header_opts">
420 <td class="en1"> </td>
421 <td class="dis1"> </td>
422 <td class="noc1"> </td>
424 <td>Editing the settings for this option, or turning
425 it on if it was off, is not yet supported using this web-based
428 <tr class="bg1" align="left" valign="top">
429 <td class="en1" align="center" valign="middle"><input type="radio"
430 name="block" value="Y" @block-y@
432 <td class="dis1" align="center" valign="middle"><input type="radio"
433 name="block" value="N" @block-n@
435 <td class="noc1" align="center" valign="middle"><input type="radio"
436 name="block" value="X" @block-x@
438 <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
439 <td>Block the request</td>
441 <tr class="bg1" align="left" valign="top">
442 <td class="en1" align="center" valign="middle"><input type="radio"
443 name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
445 <td class="dis1" align="center" valign="middle"><input type="radio"
446 name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
448 <td class="noc1" align="center" valign="middle"><input type="radio"
449 name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
451 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
452 <td>Prevent the website from setting cookies on your system.</td>
454 <tr class="bg1" align="left" valign="top">
455 <td class="en1" align="center" valign="middle"><input type="radio"
456 name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
458 <td class="dis1" align="center" valign="middle"><input type="radio"
459 name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
461 <td class="noc1" align="center" valign="middle"><input type="radio"
462 name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
464 <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
465 <td>Prevent the website from reading cookies from your system.</td>
467 <tr class="bg1" align="left" valign="top">
468 <td class="en1" align="center" valign="middle"><input type="radio"
469 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
470 onclick="show_deanimate_opts(true)"></td>
471 <td class="dis1" align="center" valign="middle"><input type="radio"
472 name="deanimate_gifs" value="N" @deanimate-gifs-n@
473 onclick="show_deanimate_opts(false)"></td>
474 <td class="noc1" align="center" valign="middle"><input type="radio"
475 name="deanimate_gifs" value="X" @deanimate-gifs-x@
476 onclick="show_deanimate_opts(false)"></td>
477 <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
478 <td>Replace animated GIFs with their (first/last) frame.</td>
480 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
481 <td class="en1"> </td>
482 <td class="dis1"> </td>
483 <td class="noc1"> </td>
485 <td>Use the <input type="radio" name="deanimate_gifs_mode"
486 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
487 for="deanimate_first">first frame</label> <input
488 type="radio" name="deanimate_gifs_mode" value="last"
489 id="deanimate_last" @deanimate-gifs-param-last@><label
490 for="deanimate_last">last frame</label></td>
492 <tr class="bg1" align="left" valign="top">
493 <td class="en1" align="center" valign="middle"><input type="radio"
494 name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
495 <td class="dis1" align="center" valign="middle"><input type="radio"
496 name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
497 <td class="noc1" align="center" valign="middle"><input type="radio"
498 name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
499 <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION">downgrade-http-version</td>
500 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
501 what you're doing!</td>
503 <tr class="bg1" align="left" valign="top">
504 <td class="en1" align="center" valign="middle"><input type="radio"
505 name="fast_redirects" value="Y" @fast-redirects-y@
507 <td class="dis1" align="center" valign="middle"><input type="radio"
508 name="fast_redirects" value="N" @fast-redirects-n@
510 <td class="noc1" align="center" valign="middle"><input type="radio"
511 name="fast_redirects" value="X" @fast-redirects-x@
513 <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
514 <td>Bypass some click-tracking URLs.</td>
517 <tr class="bg1" align="left" valign="top">
518 <td class="en1"> </td>
519 <td class="dis1" align="center" valign="middle"><input type="radio"
520 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
521 <td class="noc1" align="center" valign="middle"><input type="radio"
522 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
523 <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
524 <td>Filter the website through regular expression
525 filters. You can use the radio buttons on this line to disable
526 all filters applied by previous rules, and/or you can enable or
527 disable the filters individually below.</td>
530 <tr class="bg1" align="left" valign="top">
531 <td class="en1" align="center" valign="middle"><input type="radio"
532 name="handle_as_image" value="Y" @handle-as-image-y@
534 <td class="dis1" align="center" valign="middle"><input type="radio"
535 name="handle_as_image" value="N" @handle-as-image-n@
537 <td class="noc1" align="center" valign="middle"><input type="radio"
538 name="handle_as_image" value="X" @handle-as-image-x@
540 <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
541 <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>
542 and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
544 <tr class="bg1" align="left" valign="top">
545 <td class="en1" align="center" valign="middle"><input type="radio"
546 name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
548 <td class="dis1" align="center" valign="middle"><input type="radio"
549 name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
551 <td class="noc1" align="center" valign="middle"><input type="radio"
552 name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
554 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
555 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
557 <tr class="bg1" align="left" valign="top">
558 <td class="en1" align="center" valign="middle"><input type="radio"
559 name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
560 onclick="show_hide_from_header_opts(true)"></td>
561 <td class="dis1" align="center" valign="middle"><input type="radio"
562 name="hide_from_header" value="N" @hide-from-header-n@
563 onclick="show_hide_from_header_opts(false)"></td>
564 <td class="noc1" align="center" valign="middle"><input type="radio"
565 name="hide_from_header" value="X" @hide-from-header-x@
566 onclick="show_hide_from_header_opts(false)"></td>
567 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
568 <td>Stop old web browsers from sending the user's e-mail address with
571 <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
572 <td class="en1"> </td>
573 <td class="dis1"> </td>
574 <td class="noc1"> </td>
576 <td><input type="radio" name="hide_from_header_mode" value="block"
577 onclick="hide_from_header_param_disable(true);"
578 @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
579 for="hide_from_header_mode_block">Remove completely</label><br>
580 <input type="radio" name="hide_from_header_mode" value="CUSTOM"
581 onclick="hide_from_header_param_disable(false);"
582 @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
583 for="hide_from_header_mode_set">Fake e-mail address:</label><br>
584 <input type="text" name="hide_from_header_param" id="hide_from_header_param"
585 size="40" value="@hide-from-header-param@"></td>
587 <tr class="bg1" align="left" valign="top">
588 <td class="en1" align="center" valign="middle"><input type="radio"
589 name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
590 onclick="show_hide_referer_opts(true)"></td>
591 <td class="dis1" align="center" valign="middle"><input type="radio"
592 name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
593 onclick="show_hide_referer_opts(false)"></td>
594 <td class="noc1" align="center" valign="middle"><input type="radio"
595 name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
596 onclick="show_hide_referer_opts(false)"
598 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
599 <td>Helps prevent tracking by not sending the URL of the previous web
602 <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
603 <td class="en1"> </td>
604 <td class="dis1"> </td>
605 <td class="noc1"> </td>
607 <td><input type="radio" name="hide_referer_mode" value="block"
608 onclick="hide_referer_param_disable(true)"
609 @hide-referer-param-block@ id="hide_referer_mode_block"><label
610 for="hide_referer_mode_block">Remove completely</label> (breaks images
611 on some free web hosts).<br>
612 <input type="radio" name="hide_referer_mode" value="forge"
613 onclick="hide_referer_param_disable(true)"
614 @hide-referer-param-forge@ id="hide_referer_mode_forge"><label
615 for="hide_referer_mode_forge">Fake as the root directory of the
616 site</label> (fools checks for in-site links.)<br>
617 <input type="radio" name="hide_referer_mode" value="CUSTOM"
618 onclick="hide_referer_param_disable(false)"
619 @hide-referer-param-custom@ id="hide_referer_mode_set"><label
620 for="hide_referer_mode_set">Fake as this web address:</label><br>
621 <input type="text" name="hide_referer_param"
622 id="hide_referer_param" size="40"
623 value="@hide-referer-param@"></td>
625 <tr class="bg1" align="left" valign="top">
626 <td class="en1" align="center" valign="middle"><input type="radio"
627 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
628 onclick="show_user_agent_opts(true)"></td>
629 <td class="dis1" align="center" valign="middle"><input type="radio"
630 name="hide_user_agent" value="N" @hide-user-agent-n@
631 onclick="show_user_agent_opts(false)"></td>
632 <td class="noc1" align="center" valign="middle"><input type="radio"
633 name="hide_user_agent" value="X" @hide-user-agent-x@
634 onclick="show_user_agent_opts(false)"></td>
635 <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
636 <td>Pretend to be using a different web browser. (Breaks many web
639 <tr class="bg1" align="left" valign="top" id="user_agent_opts">
640 <td class="en1"> </td>
641 <td class="dis1"> </td>
642 <td class="noc1"> </td>
644 <td>User Agent string to send:<br>
645 <input type="text" name="hide_user_agent_mode" size="40"
646 value="@hide-user-agent-param@"></td>
648 <tr class="bg1" align="left" valign="top">
649 <td class="en1" align="center" valign="middle"><input type="radio"
650 name="kill_popups" value="Y" @kill-popups-y@
652 <td class="dis1" align="center" valign="middle"><input type="radio"
653 name="kill_popups" value="N" @kill-popups-n@
655 <td class="noc1" align="center" valign="middle"><input type="radio"
656 name="kill_popups" value="X" @kill-popups-x@
658 <td class="action"><a href="@user-manual@@actions-help-prefix@KILL-POPUPS">kill-popups</td>
659 <td>Filter the website through a built-in filter to disable many JavaScript
662 <tr class="bg1" align="left" valign="top">
663 <td class="en1" align="center" valign="middle"><input type="radio"
664 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
665 onclick="show_limit_connect_opts(true)"></td>
666 <td class="dis1" align="center" valign="middle"><input type="radio"
667 name="limit_connect" value="N" @limit-connect-n@
668 onclick="show_limit_connect_opts(false)"></td>
669 <td class="noc1" align="center" valign="middle"><input type="radio"
670 name="limit_connect" value="X" @limit-connect-x@
671 onclick="show_limit_connect_opts(false)"></td>
672 <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
673 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
674 Note that this allows arbitrary tunnelling, so opening all
675 ports would be a security hole.</td>
677 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
678 <td class="en1"> </td>
679 <td class="dis1"> </td>
680 <td class="noc1"> </td>
682 <td>Legal SSL ports (comma separated, ranges allowed):<br>
683 <input type="text" name="limit_connect_mode" size="40"
684 value="@limit-connect-param@"></td>
686 <tr class="bg1" align="left" valign="top">
687 <td class="en1" align="center" valign="middle"><input type="radio"
688 name="prevent_compression" value="Y" @prevent-compression-y@
690 <td class="dis1" align="center" valign="middle"><input type="radio"
691 name="prevent_compression" value="N" @prevent-compression-n@
693 <td class="noc1" align="center" valign="middle"><input type="radio"
694 name="prevent_compression" value="X" @prevent-compression-x@
696 <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
697 <td>Disables compression. Compressed web pages are faster to
698 download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
699 or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>.
700 This setting only affects the few web sites which support
703 <tr class="bg1" align="left" valign="top">
704 <td class="en1" align="center" valign="middle"><input type="radio"
705 name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
707 <td class="dis1" align="center" valign="middle"><input type="radio"
708 name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
710 <td class="noc1" align="center" valign="middle"><input type="radio"
711 name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
713 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
714 <td>Adds a special wafer (standard cookie) to all your requests.</td>
716 <tr class="bg1" align="left" valign="top">
717 <td class="en1" align="center" valign="middle"><input type="radio"
718 name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
719 onclick="show_send_wafer_opts(true)"></td>
720 <td class="dis1" align="center" valign="middle"><input type="radio"
721 name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
722 onclick="show_send_wafer_opts(false)"></td>
723 <td class="noc1" align="center" valign="middle"><input type="radio"
724 name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
725 onclick="show_send_wafer_opts(false)"></td>
726 <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-WAFER">send-wafer</a></td>
727 <td>Adds user-specified cookies.</td>
729 <tr class="bg1" align="left" valign="top" id="send_wafer_opts">
730 <td class="en1"> </td>
731 <td class="dis1"> </td>
732 <td class="noc1"> </td>
734 <td>Editing the settings for this option, or turning
735 it on if it was off, is not yet supported using this web-based
738 <tr class="bg1" align="left" valign="top">
739 <td class="en1" align="center" valign="middle"><input type="radio"
740 name="session_cookies_only" value="Y" @session-cookies-only-y@
742 <td class="dis1" align="center" valign="middle"><input type="radio"
743 name="session_cookies_only" value="N" @session-cookies-only-n@
745 <td class="noc1" align="center" valign="middle"><input type="radio"
746 name="session_cookies_only" value="X" @session-cookies-only-x@
748 <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
749 <td>Any cookies set by the website are changed to temporary
750 ("per-session") ones, which only last until you close your web
751 browser. This will allow you to use sites that require cookies, but
752 sites will not be able to track you across sessions. For this to
753 be useful, you should disable
754 <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
755 <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
757 <tr class="bg1" align="left" valign="top">
758 <td class="en1" align="center" valign="middle"><input type="radio"
759 name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
760 onclick="show_set_image_blocker_opts(true)"></td>
761 <td class="dis1" align="center" valign="middle"><input type="radio"
762 name="set_image_blocker" value="N" @set-image-blocker-n@
763 onclick="show_set_image_blocker_opts(false)"></td>
764 <td class="noc1" align="center" valign="middle"><input type="radio"
765 name="set_image_blocker" value="X" @set-image-blocker-x@
766 onclick="show_set_image_blocker_opts(false)"></td>
767 <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
768 <td>Specifies how to block images.</td>
770 <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
771 <td class="en1"> </td>
772 <td class="dis1"> </td>
773 <td class="noc1"> </td>
775 <td><input type="radio" name="set_image_blocker_mode"
776 onclick="set_image_blocker_param_disable(true)"
777 value="pattern" id="set_image_blocker_mode_pattern"
778 @set-image-blocker-param-pattern@><label
779 for="set_image_blocker_mode_pattern">Send a pattern (<img
780 src="send-banner?type=p" width="12" height="12"
781 alt="pattern">)</label><br>
782 <input type="radio" name="set_image_blocker_mode" value="blank"
783 onclick="set_image_blocker_param_disable(true)"
784 id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label
785 for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
786 <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
787 onclick="set_image_blocker_param_disable(false)"
788 id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
789 for="set_image_blocker_mode_set">Redirect
790 the browser to this image URL:</label><br>
791 <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
792 size="40" value="@set-image-blocker-param@"></td>
799 <td class="green" align="center">
800 <p><input type="submit" value="Submit" name="Submit"></p>
806 <h2>More Privoxy:</h2>
814 #include mod-support-and-service
819 <!-- @if-have-help-info-start -->
823 #include mod-local-help
827 <!-- if-have-help-info-end@ -->
831 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
839 <script type="text/javascript">
842 if (document.getElementById) {
843 // alert("Netscape 6 or IE5");
844 document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
845 document.getElementById("hide_referer_param").disabled = !(document.getElementById("hide_referer_mode_set").checked);
846 document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
848 show_add_header_opts (document.getElementById("add_header_y").checked);
849 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
850 show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
851 show_hide_referer_opts (document.getElementById("hide_referer_y").checked);
852 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
853 show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
854 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
855 show_send_wafer_opts (document.getElementById("wafer_y").checked);
856 } else if (document.all) {
858 document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
859 document.myform.hide_referer_param.disabled = !(document.myform.hide_referer_mode_set.checked);
860 document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
862 show_add_header_opts (document.myform.add_header_y.checked);
863 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
864 show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
865 show_hide_referer_opts (document.myform.hide_referer_y.checked);
866 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
867 show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
868 show_limit_connect_opts (document.myform.limit_connect_y.checked);
869 show_send_wafer_opts (document.myform.wafer_y.checked);
870 } else if (document.layers) {
871 // alert("Netscape 4");