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.22 2002/04/10 13:32:53 oes
36 # Made templates modular
38 # Revision 1.21 2002/04/08 17:05:18 oes
39 # Inline a style exception
41 # Revision 1.20 2002/04/05 16:01:30 oes
42 # Correct HTML, external Stylesheets, eye candy, some fixes
44 # Revision 1.19 2002/03/26 22:29:56 swa
45 # we have a new homepage!
47 # Revision 1.18 2002/03/24 16:32:08 jongfoster
48 # Removing logo option
50 # Revision 1.17 2002/03/24 15:23:33 jongfoster
53 # Revision 1.16 2002/03/24 11:01:06 swa
56 # Revision 1.15 2002/03/23 16:18:15 swa
57 # renamed every reference to the old name with foobar.
58 # fixed "application foobar application" tag, fixed
59 # "the foobar" with "foobar". left junkbuster in cvs
60 # comments and remarks to history untouched. should
61 # make final rename easier.
63 # Revision 1.14 2002/03/16 15:22:19 jongfoster
64 # Moving 'alpha' warning to the end of the page
66 # Revision 1.13 2002/03/16 14:28:38 jongfoster
67 # First version of modular filters support
69 # Revision 1.12 2002/03/12 01:42:50 oes
70 # Introduced modular filters
72 # Revision 1.11 2002/03/08 18:19:14 jongfoster
73 # Adding +image-blocker{pattern} option to edit interface
75 # Revision 1.10 2002/03/03 10:29:12 swa
76 # point users to the right feedback forms,
77 # not necessarily the developer list.
79 # Revision 1.9 2002/01/23 00:26:45 jongfoster
80 # Reducing length of URLs
81 # Where encoded and unencoded versions of a string existed, removing
84 # Revision 1.8 2002/01/17 21:33:00 jongfoster
85 # Replacing all references to the URL of the config interface
88 # Revision 1.7 2002/01/17 21:21:03 jongfoster
89 # DOS->Unix line endings
91 # Revision 1.6 2001/11/22 21:58:41 jongfoster
92 # Adding action +no-cookies-keep
94 # Revision 1.5 2001/11/13 21:12:17 jongfoster
95 # Added support for the following actions:
96 # +downgrade, +limit-connect, +no-compression
98 # Revision 1.4 2001/11/13 00:58:18 jongfoster
99 # New version of actions file editor templates
102 ##############################################################################
104 # Browser support for the JavaScript on this page:
105 # MS Internet Explorer 5.5 - Tested, Yes
106 # Netscape 6.0 - Tested, Yes
107 # Netscape 4.75 - Tested, NO
108 # Opera 5.12 - Tested, NO
109 # MS Internet Explorer 4+ - Untested, Yes
110 # MS IE 3.x, NS3.x - Untested, NO
111 # Mozilla >=0.6 - Untested, Yes
113 # All browsers should work, you just might not get the pretty DHTML effects.
115 # The effects that only work under the browsers marked "Yes" above are:
116 # - Text edit boxes that won't have any effect are disabled.
117 # - Table rows containing additional settings are hidden if the feature in
118 # question is disabled.
120 # There are major kludges to get around these problems with NS4, but they
121 # screw up the HTML too much for other browsers. If anyone wants to try,
122 # here's some descriptions of the kludges:
123 # http://www.webreference.com/js/tips/991114.html
124 # http://www.webreference.com/dhtml/column12/outDisplay.html
126 # If you're favorite browser isn't listed, please test and add it.
129 #############################################################################
133 # This file currently produces valid HTML 4.01 Strict.
135 # If you change it, please save the generated page from your web browser
136 # and then upload it to http://validator.w3.org/ for checking.
138 #############################################################################
140 # Available variables include:
146 # deanimate-gifs-param-first
147 # deanimate-gifs-param-last
148 # hide-from-param-block
149 # hide-from-param-custom
151 # hide-referer-param-forge
152 # hide-referer-param-block
153 # hide-referer-param-custom
155 # hide-user-agent-param
156 # image-blocker-param-pattern
157 # image-blocker-param-blank
158 # image-blocker-param-custom
161 #############################################################################
162 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
166 <meta http-equiv="Content-Style-Type" content="text/css">
167 <meta http-equiv="Content-Script-Type" content="text/javascript">
168 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
169 <meta name="robots" content="noindex,nofollow">
170 <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
172 <title>Privoxy@@my-hostname@: Edit actions</title>
174 <style type="text/css">
175 td.action { font-weight: bold;
177 white-space: nowrap }
178 td.subaction { font-style: italic }
179 th { font-weight: bold; }
180 # This is the key to the color names below:
181 # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
182 # 1=odd rows, 2=even rows, h=Table header
183 tr.hdr { background-color: #999999 }
184 tr.bg1 { background-color: #eeeeee }
185 td.en1 { background-color: #eeffee }
186 td.dis1 { background-color: #ffeeee }
187 td.noc1 { background-color: #eeeeff }
188 tr.bg2 { background-color: #dddddd }
189 td.en2 { background-color: #ddffdd }
190 td.dis2 { background-color: #ffdddd }
191 td.noc2 { background-color: #ddddff }
192 th.enh { background-color: #99ff99 }
193 th.dish { background-color: #ff9999 }
194 th.noch { background-color: #9999ff }
195 table.wide { padding: 5px; }
196 td.green { border: solid black 1px; background-color: #ddffdd; }
202 border-left-width: 10px;
203 border-right-width: 10px;
204 border-top-width: 0px;
205 border-bottom-width: 0px }
208 <script type="text/javascript">
211 function hide_from_param_disable(tf)
213 if (document.getElementById) {
215 document.getElementById("hide_from_param").disabled = tf;
216 } else if (document.all) {
218 document.myform.hide_from_param.disabled = tf;
222 function hide_referer_param_disable(tf)
224 if (document.getElementById) {
225 document.getElementById("hide_referer_param").disabled = tf;
226 } else if (document.all) {
227 document.myform.hide_referer_param.disabled = tf;
231 function image_blocker_param_disable(tf)
233 if (document.getElementById) {
234 document.getElementById("image_blocker_param").disabled = tf;
235 } else if (document.all) {
236 document.myform.image_blocker_param.disabled = tf;
240 function show_add_header_opts(tf)
242 if (document.getElementById) {
243 target = document.getElementById("add_header_opts");
244 } else if (document.all) {
245 target = document.add_header_opts;
249 target.style.display = (tf ? "" : "none");
252 function show_deanimate_opts(tf)
254 if (document.getElementById) {
255 target = document.getElementById("deanimate_opts");
256 } else if (document.all) {
257 target = document.deanimate_opts;
261 target.style.display = (tf ? "" : "none");
264 function show_hide_from_opts(tf)
266 if (document.getElementById) {
267 target = document.getElementById("hide_from_opts");
268 } else if (document.all) {
269 target = document.hide_from_opts;
273 target.style.display = (tf ? "" : "none");
276 function show_hide_referer_opts(tf)
278 if (document.getElementById) {
279 target = document.getElementById("hide_referer_opts");
280 } else if (document.all) {
281 target = document.hide_referer_opts;
285 target.style.display = (tf ? "" : "none");
288 function show_user_agent_opts(tf)
290 if (document.getElementById) {
291 target = document.getElementById("user_agent_opts");
292 } else if (document.all) {
293 target = document.user_agent_opts;
297 target.style.display = (tf ? "" : "none");
300 function show_image_blocker_opts(tf)
302 if (document.getElementById) {
303 target = document.getElementById("image_blocker_opts");
304 } else if (document.all) {
305 target = document.image_blocker_opts;
309 target.style.display = (tf ? "" : "none");
312 function show_limit_connect_opts(tf)
314 if (document.getElementById) {
315 target = document.getElementById("limit_connect_opts");
316 } else if (document.all) {
317 target = document.limit_connect_opts;
321 target.style.display = (tf ? "" : "none");
324 function show_wafer_opts(tf)
326 if (document.getElementById) {
327 target = document.getElementById("wafer_opts");
328 } else if (document.all) {
329 target = document.wafer_opts;
333 target.style.display = (tf ? "" : "none");
342 <form method="GET" action="edit-actions-submit" id="myform" name="myform">
344 <table cellpadding="20" cellspacing="10" border="0" width="100%">
353 <!-- @if-unstable-start -->
354 # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
358 #include mod-unstable-warning
362 <!-- if-unstable-end@ -->
367 <input type="hidden" name="f" value="@f@">
368 <input type="hidden" name="v" value="@v@">
369 <input type="hidden" name="s" value="@s@">
374 <tr><td class="wrapbox">
376 <table border="0" cellspacing="2" width="100%" class="wide">
377 <tr class="hdr" align="left">
378 <th class="enh" align="center">Enable</th>
379 <th class="dish" align="center">Disable</th>
380 <th class="noch" align="center">No Change</th>
384 <tr class="bg1" align="left" valign="top">
385 <td class="en1" align="center" valign="middle"><input type="radio"
386 name="add_header" id="add_header_y" value="Y" @add-header-y@
387 onclick="show_add_header_opts(true)"></td>
388 <td class="dis1" align="center" valign="middle"><input type="radio"
389 name="add_header" value="N" @add-header-n@
390 onclick="show_add_header_opts(false)"></td>
391 <td class="noc1" align="center" valign="middle"><input type="radio"
392 name="add_header" value="X" @add-header-x@
393 onclick="show_add_header_opts(false)"></td>
394 <td class="action"><a href="@user-manual@@helplink@ADD-HEADER">add-header</a></td>
395 <td>Adds HTTP headers.</td>
397 <tr class="bg1" align="left" valign="top" id="add_header_opts">
398 <td class="en1"> </td>
399 <td class="dis1"> </td>
400 <td class="noc1"> </td>
402 <td>Editing the settings for this option, or turning
403 it on if it was off, is not yet supported using this web-based
406 <tr class="bg2" align="left" valign="top">
407 <td class="en2" align="center" valign="middle"><input type="radio"
408 name="block" value="Y" @block-y@
410 <td class="dis2" align="center" valign="middle"><input type="radio"
411 name="block" value="N" @block-n@
413 <td class="noc2" align="center" valign="middle"><input type="radio"
414 name="block" value="X" @block-x@
416 <td class="action"><a href="@user-manual@@helplink@BLOCK">block</a></td>
417 <td>Block the request</td>
419 <tr class="bg1" align="left" valign="top">
420 <td class="en1" align="center" valign="middle"><input type="radio"
421 name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
422 onclick="show_deanimate_opts(true)"></td>
423 <td class="dis1" align="center" valign="middle"><input type="radio"
424 name="deanimate_gifs" value="N" @deanimate-gifs-n@
425 onclick="show_deanimate_opts(false)"></td>
426 <td class="noc1" align="center" valign="middle"><input type="radio"
427 name="deanimate_gifs" value="X" @deanimate-gifs-x@
428 onclick="show_deanimate_opts(false)"></td>
429 <td class="action"><a href="@user-manual@@helplink@DEANIMATE-GIFS">deanimate-gifs</a></td>
430 <td>Replace animated GIFs with their (first/last) frame.</td>
432 <tr class="bg1" align="left" valign="top" id="deanimate_opts">
433 <td class="en1"> </td>
434 <td class="dis1"> </td>
435 <td class="noc1"> </td>
437 <td>Use the <input type="radio" name="deanimate_gifs_mode"
438 value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
439 for="deanimate_first">first frame</label> <input
440 type="radio" name="deanimate_gifs_mode" value="last"
441 id="deanimate_last" @deanimate-gifs-param-last@><label
442 for="deanimate_last">last frame</label></td>
444 <tr class="bg1" align="left" valign="top">
445 <td class="en1" align="center" valign="middle"><input type="radio"
446 name="downgrade" value="Y" @downgrade-y@></td>
447 <td class="dis1" align="center" valign="middle"><input type="radio"
448 name="downgrade" value="N" @downgrade-n@></td>
449 <td class="noc1" align="center" valign="middle"><input type="radio"
450 name="downgrade" value="X" @downgrade-x@></td>
451 <td class="action"><a href="@user-manual@@helplink@DOWNGRADE_HTTP_VERSION">downgrade-http-version</td>
452 <td>Change HTTP/1.1 requests to HTTP/1.0. Only change if you know
453 what you're doing!</td>
455 <tr class="bg2" align="left" valign="top">
456 <td class="en2" align="center" valign="middle"><input type="radio"
457 name="fast_redirects" value="Y" @fast-redirects-y@
459 <td class="dis2" align="center" valign="middle"><input type="radio"
460 name="fast_redirects" value="N" @fast-redirects-n@
462 <td class="noc2" align="center" valign="middle"><input type="radio"
463 name="fast_redirects" value="X" @fast-redirects-x@
465 <td class="action"><a href="@user-manual@@helplink@FAST-REDIRECTS">fast-redirects</a></td>
466 <td>Bypass some click-tracking URLs.</td>
468 <tr class="bg2" align="left" valign="top">
469 <td class="en2"> </td>
470 <td class="dis2"> </td>
471 <td class="noc2"> </td>
472 <td class="action"><a href="@user-manual@@helplink@FILTER">filter</a></td>
473 <td>Filter the website through regular expression filters.
474 You can enable or disable the filters individually.</td>
477 <tr class="bg2" align="left" valign="top">
478 <td class="en2"> </td>
479 <td class="dis2" align="center" valign="middle"><input type="radio"
480 name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
481 <td class="noc2" align="center" valign="middle"><input type="radio"
482 name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
483 <td class="subaction" colspan="2"> All filters applied by previous rules</td>
486 <tr class="bg1" align="left" valign="top">
487 <td class="en1" align="center" valign="middle"><input type="radio"
488 name="image" value="Y" @image-y@
490 <td class="dis1" align="center" valign="middle"><input type="radio"
491 name="image" value="N" @image-n@
493 <td class="noc1" align="center" valign="middle"><input type="radio"
494 name="image" value="X" @image-x@
496 <td class="action"><a href="@user-manual@@helplink@HANDLE-AS-IMAGE">handle-as-image</a></td>
497 <td>Request is for an image (only useful in conjunction with the <i><b><a href="@user-manual@@helplink@BLOCK">block</a></b></i>
498 and <i><b><a href="@user-manual@@helplink@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
500 <tr class="bg1" align="left" valign="top">
501 <td class="en1" align="center" valign="middle"><input type="radio"
502 name="hide_forwarded" value="Y" @hide-forwarded-y@
504 <td class="dis1" align="center" valign="middle"><input type="radio"
505 name="hide_forwarded" value="N" @hide-forwarded-n@
507 <td class="noc1" align="center" valign="middle"><input type="radio"
508 name="hide_forwarded" value="X" @hide-forwarded-x@
510 <td class="action"><a href="@user-manual@@helplink@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
511 <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
513 <tr class="bg2" align="left" valign="top">
514 <td class="en2" align="center" valign="middle"><input type="radio"
515 name="hide_from" id="hide_from_y" value="Y" @hide-from-y@
516 onclick="show_hide_from_opts(true)"></td>
517 <td class="dis2" align="center" valign="middle"><input type="radio"
518 name="hide_from" value="N" @hide-from-n@
519 onclick="show_hide_from_opts(false)"></td>
520 <td class="noc2" align="center" valign="middle"><input type="radio"
521 name="hide_from" value="X" @hide-from-x@
522 onclick="show_hide_from_opts(false)"></td>
523 <td class="action"><a href="@user-manual@@helplink@HIDE-FORM-HEADER">hide-from-header</a></td>
524 <td>Stop old web browsers from sending the user's e-mail address with
527 <tr class="bg2" align="left" valign="top" id="hide_from_opts">
528 <td class="en2"> </td>
529 <td class="dis2"> </td>
530 <td class="noc2"> </td>
532 <td><input type="radio" name="hide_from_mode" value="block"
533 onclick="hide_from_param_disable(true);"
534 @hide-from-param-block@ id="from_mode_block"><label
535 for="from_mode_block">Remove completely</label><br>
536 <input type="radio" name="hide_from_mode" value="CUSTOM"
537 onclick="hide_from_param_disable(false);"
538 @hide-from-param-custom@ id="from_mode_set"><label
539 for="from_mode_set">Fake e-mail address:</label><br>
540 <input type="text" name="hide_from_param" id="hide_from_param"
541 size="40" value="@hide-from-param@"></td>
543 <tr class="bg1" align="left" valign="top">
544 <td class="en1" align="center" valign="middle"><input type="radio"
545 name="hide_referer" id="hide_referer_y" value="Y" @hide-referer-y@
546 onclick="show_hide_referer_opts(true)"></td>
547 <td class="dis1" align="center" valign="middle"><input type="radio"
548 name="hide_referer" id="hide_referer_n" value="N" @hide-referer-n@
549 onclick="show_hide_referer_opts(false)"></td>
550 <td class="noc1" align="center" valign="middle"><input type="radio"
551 name="hide_referer" id="hide_referer_x" value="X" @hide-referer-x@
552 onclick="show_hide_referer_opts(false)"
554 <td class="action"><a href="@user-manual@@helplink@HIDE-REFERRER">hide-referrer</a></td>
555 <td>Helps prevent tracking by not sending the URL of the previous web
558 <tr class="bg1" align="left" valign="top" id="hide_referer_opts">
559 <td class="en1"> </td>
560 <td class="dis1"> </td>
561 <td class="noc1"> </td>
563 <td><input type="radio" name="hide_referer_mode" value="block"
564 onclick="hide_referer_param_disable(true)"
565 @hide-referer-param-block@ id="referer_mode_block"><label
566 for="referer_mode_block">Remove completely</label> (breaks images
567 on some free web hosts).<br>
568 <input type="radio" name="hide_referer_mode" value="forge"
569 onclick="hide_referer_param_disable(true)"
570 @hide-referer-param-forge@ id="referer_mode_forge"><label
571 for="referer_mode_forge">Fake as the root directory of the
572 site</label> (fools checks for in-site links.)<br>
573 <input type="radio" name="hide_referer_mode" value="CUSTOM"
574 onclick="hide_referer_param_disable(false)"
575 @hide-referer-param-custom@ id="referer_mode_set"><label
576 for="referer_mode_set">Fake as this web address:</label><br>
577 <input type="text" name="hide_referer_param"
578 id="hide_referer_param" size="40"
579 value="@hide-referer-param@"></td>
581 <tr class="bg2" align="left" valign="top">
582 <td class="en2" align="center" valign="middle"><input type="radio"
583 name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
584 onclick="show_user_agent_opts(true)"></td>
585 <td class="dis2" align="center" valign="middle"><input type="radio"
586 name="hide_user_agent" value="N" @hide-user-agent-n@
587 onclick="show_user_agent_opts(false)"></td>
588 <td class="noc2" align="center" valign="middle"><input type="radio"
589 name="hide_user_agent" value="X" @hide-user-agent-x@
590 onclick="show_user_agent_opts(false)"></td>
591 <td class="action"><a href="@user-manual@@helplink@HIDE-USER-AGENT">hide-user-agent</a></td>
592 <td>Pretend to be using a different web browser. (Breaks many web
595 <tr class="bg2" align="left" valign="top" id="user_agent_opts">
596 <td class="en2"> </td>
597 <td class="dis2"> </td>
598 <td class="noc2"> </td>
600 <td>User Agent string to send:<br>
601 <input type="text" name="hide_user_agent_mode" size="40"
602 value="@hide-user-agent-param@"></td>
604 <tr class="bg2" align="left" valign="top">
605 <td class="en2" align="center" valign="middle"><input type="radio"
606 name="no_popups" value="Y" @no-popups-y@
608 <td class="dis2" align="center" valign="middle"><input type="radio"
609 name="no_popups" value="N" @no-popups-n@
611 <td class="noc2" align="center" valign="middle"><input type="radio"
612 name="no_popups" value="X" @no-popups-x@
614 <td class="action"><a href="@user-manual@@helplink@KILL-POPUPS">kill-popups</td>
615 <td>Filter the website through a built-in filter to disable many JavaScript
618 <tr class="bg1" align="left" valign="top">
619 <td class="en1" align="center" valign="middle"><input type="radio"
620 name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
621 onclick="show_limit_connect_opts(true)"></td>
622 <td class="dis1" align="center" valign="middle"><input type="radio"
623 name="limit_connect" value="N" @limit-connect-n@
624 onclick="show_limit_connect_opts(false)"></td>
625 <td class="noc1" align="center" valign="middle"><input type="radio"
626 name="limit_connect" value="X" @limit-connect-x@
627 onclick="show_limit_connect_opts(false)"></td>
628 <td class="action"><a href="@user-manual@@helplink@LIMIT-CONNECT">limit-connect</a></td>
629 <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
630 Note that this allows arbitrary tunnelling, so opening all
631 ports would be a security hole.</td>
633 <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
634 <td class="en1"> </td>
635 <td class="dis1"> </td>
636 <td class="noc1"> </td>
638 <td>Legal SSL ports (comma separated, ranges allowed):<br>
639 <input type="text" name="limit_connect_mode" size="40"
640 value="@limit-connect-param@"></td>
642 <tr class="bg2" align="left" valign="top">
643 <td class="en2" align="center" valign="middle"><input type="radio"
644 name="no_compression" value="Y" @no-compression-y@
646 <td class="dis2" align="center" valign="middle"><input type="radio"
647 name="no_compression" value="N" @no-compression-n@
649 <td class="noc2" align="center" valign="middle"><input type="radio"
650 name="no_compression" value="X" @no-compression-x@
652 <td class="action"><a href="@user-manual@@helplink@PREVENT-COMPRESSION">prevent-compression</a></td>
653 <td>Disables compression. Compressed web pages are faster to
654 download, but cannot be filtered with <a href="@user-manual@@helplink@FILTER"><b>filter</b></a>
655 or <a href="@user-manual@@helplink@KILL-POPUPS"><b>kill-popups</b></a>.
656 This setting only affects the few web sites which support
659 <tr class="bg2" align="left" valign="top">
660 <td class="en2" align="center" valign="middle"><input type="radio"
661 name="no_cookies_read" value="Y" @no-cookies-read-y@
663 <td class="dis2" align="center" valign="middle"><input type="radio"
664 name="no_cookies_read" value="N" @no-cookies-read-n@
666 <td class="noc2" align="center" valign="middle"><input type="radio"
667 name="no_cookies_read" value="X" @no-cookies-read-x@
669 <td class="action"><a href="@user-manual@@helplink@PREVENT-READING-COOKIES">prevent-reading-cookies</a></td>
670 <td>Prevent the website from reading cookies.</td>
672 <tr class="bg1" align="left" valign="top">
673 <td class="en1" align="center" valign="middle"><input type="radio"
674 name="no_cookies_set" value="Y" @no-cookies-set-y@
676 <td class="dis1" align="center" valign="middle"><input type="radio"
677 name="no_cookies_set" value="N" @no-cookies-set-n@
679 <td class="noc1" align="center" valign="middle"><input type="radio"
680 name="no_cookies_set" value="X" @no-cookies-set-x@
682 <td class="action"><a href="@user-manual@@helplink@PREVENT-SETTING-COOKIES">prevent-setting-cookies</a></td>
683 <td>Prevent the website from setting cookies.</td>
685 <tr class="bg1" align="left" valign="top">
686 <td class="en1" align="center" valign="middle"><input type="radio"
687 name="vanilla_wafer" value="Y" @vanilla-wafer-y@
689 <td class="dis1" align="center" valign="middle"><input type="radio"
690 name="vanilla_wafer" value="N" @vanilla-wafer-n@
692 <td class="noc1" align="center" valign="middle"><input type="radio"
693 name="vanilla_wafer" value="X" @vanilla-wafer-x@
695 <td class="action"><a href="@user-manual@@helplink@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
696 <td>Adds a special wafer (standard cookie) to all your requests.</td>
698 <tr class="bg2" align="left" valign="top">
699 <td class="en2" align="center" valign="middle"><input type="radio"
700 name="wafer" id="wafer_y" value="Y" @wafer-y@
701 onclick="show_wafer_opts(true)"></td>
702 <td class="dis2" align="center" valign="middle"><input type="radio"
703 name="wafer" id="wafer_n" value="N" @wafer-n@
704 onclick="show_wafer_opts(false)"></td>
705 <td class="noc2" align="center" valign="middle"><input type="radio"
706 name="wafer" id="wafer_x" value="X" @wafer-x@
707 onclick="show_wafer_opts(false)"></td>
708 <td class="action"><a href="@user-manual@@helplink@SEND-WAFER">send-wafer</a></td>
709 <td>Adds user-specified cookies.</td>
711 <tr class="bg2" align="left" valign="top" id="wafer_opts">
712 <td class="en2"> </td>
713 <td class="dis2"> </td>
714 <td class="noc2"> </td>
716 <td>Editing the settings for this option, or turning
717 it on if it was off, is not yet supported using this web-based
720 <tr class="bg1" align="left" valign="top">
721 <td class="en1" align="center" valign="middle"><input type="radio"
722 name="no_cookies_keep" value="Y" @no-cookies-keep-y@
724 <td class="dis1" align="center" valign="middle"><input type="radio"
725 name="no_cookies_keep" value="N" @no-cookies-keep-n@
727 <td class="noc1" align="center" valign="middle"><input type="radio"
728 name="no_cookies_keep" value="X" @no-cookies-keep-x@
730 <td class="action"><a href="@user-manual@@helplink@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
731 <td>Any cookies set by the website are changed to temporary
732 ("per-session") ones, which only last until you close your web
733 browser. This will allow you to use sites that require cookies, but
734 sites will not be able to track you across sessions. For this to
735 be useful, you should disable
736 <a href="@user-manual@@helplink@PREVENT-REDAING-COOKIES"><b>prevent-reading-cookies</b></a> and
737 <a href="@user-manual@@helplink@PREVENT-SETTING-COOKIES"><b>prevent-setting-cookies</b></a>.</td>
739 <tr class="bg2" align="left" valign="top">
740 <td class="en2" align="center" valign="middle"><input type="radio"
741 name="image_blocker" id="image_blocker_y" value="Y" @image-blocker-y@
742 onclick="show_image_blocker_opts(true)"></td>
743 <td class="dis2" align="center" valign="middle"><input type="radio"
744 name="image_blocker" value="N" @image-blocker-n@
745 onclick="show_image_blocker_opts(false)"></td>
746 <td class="noc2" align="center" valign="middle"><input type="radio"
747 name="image_blocker" value="X" @image-blocker-x@
748 onclick="show_image_blocker_opts(false)"></td>
749 <td class="action"><a href="@user-manual@@helplink@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
750 <td>Specifies how to block images.</td>
752 <tr class="bg2" align="left" valign="top" id="image_blocker_opts">
753 <td class="en2"> </td>
754 <td class="dis2"> </td>
755 <td class="noc2"> </td>
757 <td><input type="radio" name="image_blocker_mode"
758 onclick="image_blocker_param_disable(true)"
759 value="pattern" id="image_blocker_mode_pattern"
760 @image-blocker-param-pattern@><label
761 for="image_blocker_mode_pattern">Send a pattern (<img
762 src="send-banner?type=p" width="12" height="12"
763 alt="pattern">)</label><br>
764 <input type="radio" name="image_blocker_mode" value="blank"
765 onclick="image_blocker_param_disable(true)"
766 id="image_blocker_mode_blank" @image-blocker-param-blank@><label
767 for="image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
768 <input type="radio" name="image_blocker_mode" value="CUSTOM"
769 onclick="image_blocker_param_disable(false)"
770 id="image_blocker_mode_set" @image-blocker-param-custom@><label
771 for="image_blocker_mode_set">Redirect
772 the browser to this image URL:</label><br>
773 <input type="text" name="image_blocker_param" id="image_blocker_param"
774 size="40" value="@image-blocker-param@"></td>
781 <td class="green" align="center">
782 <p><input type="submit" value="Submit" name="Submit"></p>
788 <h2>More Privoxy:</h2>
796 #include mod-support-and-service
801 <!-- @if-have-help-info-start -->
805 #include mod-local-help
809 <!-- if-have-help-info-end@ -->
813 <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
821 <script type="text/javascript">
824 if (document.getElementById) {
825 // alert("Netscape 6 or IE5");
826 document.getElementById("hide_from_param").disabled = !(document.getElementById("from_mode_set").checked);
827 document.getElementById("hide_referer_param").disabled = !(document.getElementById("referer_mode_set").checked);
828 document.getElementById("image_blocker_param").disabled = !(document.getElementById("image_blocker_mode_set").checked);
830 show_add_header_opts (document.getElementById("add_header_y").checked);
831 show_deanimate_opts (document.getElementById("deanimate_gifs_y").checked);
832 show_hide_from_opts (document.getElementById("hide_from_y").checked);
833 show_hide_referer_opts (document.getElementById("hide_referer_y").checked);
834 show_user_agent_opts (document.getElementById("hide_user_agent_y").checked);
835 show_image_blocker_opts (document.getElementById("image_blocker_y").checked);
836 show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
837 show_wafer_opts (document.getElementById("wafer_y").checked);
838 } else if (document.all) {
840 document.myform.hide_from_param.disabled = !(document.myform.from_mode_set.checked);
841 document.myform.hide_referer_param.disabled = !(document.myform.referer_mode_set.checked);
842 document.myform.image_blocker_param.disabled = !(document.myform.image_blocker_mode_set.checked);
844 show_add_header_opts (document.myform.add_header_y.checked);
845 show_deanimate_opts (document.myform.deanimate_gifs_y.checked);
846 show_hide_from_opts (document.myform.hide_from_y.checked);
847 show_hide_referer_opts (document.myform.hide_referer_y.checked);
848 show_user_agent_opts (document.myform.hide_user_agent_y.checked);
849 show_image_blocker_opts (document.myform.image_blocker_y.checked);
850 show_limit_connect_opts (document.myform.limit_connect_y.checked);
851 show_wafer_opts (document.myform.wafer_y.checked);
852 } else if (document.layers) {
853 // alert("Netscape 4");