X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=templates%2Fedit-actions-for-url;h=0c62e7e651cca95d6d1f0f0ed7d3b3fcab86eede;hp=e58aa17dd015c65484e0c7f289670c3df46d3834;hb=aff35fb14a087ac279167b784924fe98eec24f1c;hpb=c77d84211dfeaab88bab02265b8438128237ece2 diff --git a/templates/edit-actions-for-url b/templates/edit-actions-for-url index e58aa17d..0c62e7e6 100644 --- a/templates/edit-actions-for-url +++ b/templates/edit-actions-for-url @@ -4,15 +4,15 @@ # # Purpose : Template used to edit the actions associated with a # particular section in an actions file. -# # -# Copyright : Written by and Copyright (C) 2001 the SourceForge +# +# Copyright : Written by and Copyright (C) 2001-2012 the # Privoxy team. http://www.privoxy.org/ # # Original Author: Copyright (C) 2001 Jonathan Foster # http://www.jon-foster.co.uk/ # -# This program is free software; you can redistribute it +# This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General # Public License as published by the Free Software # Foundation; either version 2 of the License, or (at @@ -30,98 +30,8 @@ # or write to the Free Software Foundation, Inc., 59 # Temple Place - Suite 330, Boston, MA 02111-1307, USA. # -# Revisions : -# $Log: edit-actions-for-url,v $ -# Revision 1.20 2002/04/05 16:01:30 oes -# Correct HTML, external Stylesheets, eye candy, some fixes -# -# Revision 1.19 2002/03/26 22:29:56 swa -# we have a new homepage! -# -# Revision 1.18 2002/03/24 16:32:08 jongfoster -# Removing logo option -# -# Revision 1.17 2002/03/24 15:23:33 jongfoster -# Name changes -# -# Revision 1.16 2002/03/24 11:01:06 swa -# name change -# -# Revision 1.15 2002/03/23 16:18:15 swa -# renamed every reference to the old name with foobar. -# fixed "application foobar application" tag, fixed -# "the foobar" with "foobar". left junkbuster in cvs -# comments and remarks to history untouched. should -# make final rename easier. -# -# Revision 1.14 2002/03/16 15:22:19 jongfoster -# Moving 'alpha' warning to the end of the page -# -# Revision 1.13 2002/03/16 14:28:38 jongfoster -# First version of modular filters support -# -# Revision 1.12 2002/03/12 01:42:50 oes -# Introduced modular filters -# -# Revision 1.11 2002/03/08 18:19:14 jongfoster -# Adding +image-blocker{pattern} option to edit interface -# -# Revision 1.10 2002/03/03 10:29:12 swa -# point users to the right feedback forms, -# not necessarily the developer list. -# -# Revision 1.9 2002/01/23 00:26:45 jongfoster -# Reducing length of URLs -# Where encoded and unencoded versions of a string existed, removing -# the unencoded one. -# -# Revision 1.8 2002/01/17 21:33:00 jongfoster -# Replacing all references to the URL of the config interface -# with @default-cgi@ -# -# Revision 1.7 2002/01/17 21:21:03 jongfoster -# DOS->Unix line endings -# -# Revision 1.6 2001/11/22 21:58:41 jongfoster -# Adding action +no-cookies-keep -# -# Revision 1.5 2001/11/13 21:12:17 jongfoster -# Added support for the following actions: -# +downgrade, +limit-connect, +no-compression -# -# Revision 1.4 2001/11/13 00:58:18 jongfoster -# New version of actions file editor templates -# -# ############################################################################## # -# Browser support for the JavaScript on this page: -# MS Internet Explorer 5.5 - Tested, Yes -# Netscape 6.0 - Tested, Yes -# Netscape 4.75 - Tested, NO -# Opera 5.12 - Tested, NO -# MS Internet Explorer 4+ - Untested, Yes -# MS IE 3.x, NS3.x - Untested, NO -# Mozilla >=0.6 - Untested, Yes -# -# All browsers should work, you just might not get the pretty DHTML effects. -# -# The effects that only work under the browsers marked "Yes" above are: -# - Text edit boxes that won't have any effect are disabled. -# - Table rows containing additional settings are hidden if the feature in -# question is disabled. -# -# There are major kludges to get around these problems with NS4, but they -# screw up the HTML too much for other browsers. If anyone wants to try, -# here's some descriptions of the kludges: -# http://www.webreference.com/js/tips/991114.html -# http://www.webreference.com/dhtml/column12/outDisplay.html -# -# If you're favorite browser isn't listed, please test and add it. -# -# -############################################################################# -# # Standard support: # # This file currently produces valid HTML 4.01 Strict. @@ -129,7 +39,7 @@ # If you change it, please save the generated page from your web browser # and then upload it to http://validator.w3.org/ for checking. # -############################################################################# +############################################################################## # # Available variables include: # @@ -142,17 +52,17 @@ # hide-from-param-block # hide-from-param-custom # hide-from-param -# hide-referer-param-forge -# hide-referer-param-block -# hide-referer-param-custom -# hide-referer-param +# hide-referrer-param-forge +# hide-referrer-param-block +# hide-referrer-param-custom +# hide-referrer-param # hide-user-agent-param # image-blocker-param-pattern # image-blocker-param-blank # image-blocker-param-custom # # -############################################################################# +############################################################################## @@ -162,6 +72,7 @@ + Privoxy@@my-hostname@: Edit actions @@ -176,13 +87,9 @@ th { font-weight: bold; } # 1=odd rows, 2=even rows, h=Table header tr.hdr { background-color: #999999 } tr.bg1 { background-color: #eeeeee } -td.en1 { background-color: #eeffee } -td.dis1 { background-color: #ffeeee } -td.noc1 { background-color: #eeeeff } -tr.bg2 { background-color: #dddddd } -td.en2 { background-color: #ddffdd } -td.dis2 { background-color: #ffdddd } -td.noc2 { background-color: #ddddff } +td.en1 { background-color: #ddffdd } +td.dis1 { background-color: #ffdddd } +td.noc1 { background-color: #ddddff } th.enh { background-color: #99ff99 } th.dish { background-color: #ff9999 } th.noch { background-color: #9999ff } @@ -202,32 +109,32 @@ border-color: white; +
+ - +
@@ -349,16 +245,14 @@ function show_wafer_opts(tf) # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in + + + + + + + + + - + - + - - - - +
-

- This is Privoxy @version@ on @my-hostname@ (@my-ip-address@), port @my-port@, - @if-enabled-display-then@enabled@else-not-enabled-display@disabled@endif-enabled-display@ -

+ +#include mod-title +
-

Warning:

-

- Please note that this @code-status@ release - of the proxy software is not intended for production systems! -
Use at your own risk. See the license for details.
-

+ +#include mod-unstable-warning +

Edit Actions @@ -369,9 +263,21 @@ function show_wafer_opts(tf)

+

+
- + + +

Edit Actions (Section 1)

+ + +
@@ -389,7 +295,7 @@ function show_wafer_opts(tf) - + @@ -401,19 +307,189 @@ function show_wafer_opts(tf) it on if it was off, is not yet supported using this web-based editor. - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@client-header-filter-params@ + + + + + + + +@client-header-tagger-params@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -435,208 +511,412 @@ function show_wafer_opts(tf) - - + + + + + + + - - - - + + + + + + + + + + + +
Enable Disable+add-headeradd-header Adds HTTP headers.
+ +blockBlock the requestblockBlock the request.
    Block reason to tell the user:
+ +
change-x-forwarded-forSpecifies whether to block or add X-Forwarded-For headers.
    
+
+
 client-header-filter *Filter the client headers. + You can use the radio buttons on this line to disable + all client-header filters applied by previous rules, and/or + you can enable or disable the filters individually below.
 client-header-tagger *Create tags based on the client headers. + You can use the radio buttons on this line to disable + all client-header taggers applied by previous rules, and/or + you can enable or disable the taggers individually below.
content-type-overwriteReplace Content-Type header. By default it only applies to + text documents, but if you know what you're doing you + can enable force-text-mode to modify binary content types as well.
    New Content-Type:
+
crunch-client-headerRemove header(s) matching the supplied pattern.
    Header string to suppress:
+
crunch-if-none-matchRemove If-None-Match header. Useful for filter testing + and to make sure the header can't be used to track your visits.
crunch-incoming-cookiesPrevent the website from setting HTTP cookies on your system.
crunch-outgoing-cookiesPrevent the website from reading HTTP cookies from your system.
crunch-server-headerRemove server header(s) matching the supplied pattern.
    Header string to suppress:
+
+deanimate-gifsdeanimate-gifs Replace animated GIFs with their (first/last) frame.
Use the   
+ downgrade-http-versionChange HTTP/1.1 requests to HTTP/1.0. Only change if you know + what you're doing!
+fast-redirectsBypass some tracking URLs.fast-redirectsBypass some click-tracking URLs.
     + +
+
+

+ + + + +

+ +
+
+

Edit Actions (Section 2)

+ + + + + + + + + + + + + + + + + +@content-filter-params@ + + +
EnableDisableNo ChangeActionDescription
 filter *Filter the website through regular expression + filters. You can use the radio buttons on this line to disable + all filters applied by previous rules, and/or you can enable or + disable the filters individually below.
+

+ + + + +

+
+
+
+

Edit Actions (Section 3)

+ + + + + + + + + + + + + + + + name="forward_override" id="forward_override_y" value="Y" @forward-override-y@ + > + name="forward_override" id="forward_override_n" value="N" @forward-override-n@ + > - - + name="forward_override" id="forward_override_x" value="X" @forward-override-x@ + > + + - - - - - - + + + + + + - - - - - - + + + + + + -@filter-params@ + + + + + + + - - + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + - + + + +
EnableDisableNo ChangeActionDescription
force-text-mode + Enable filtering on documents whose Content-Type wasn't recognized as text. + Do think twice, nothing is alright. +
+downgradeChange HTTP/1.1 requests to HTTP/1.0. Only change if you know - what you're doing!forward-overrideOverride forward directives in the configuration file. + Note that the parameter syntax + isn't checked until the action is used. Syntax errors + will cause Privoxy to exit.
   +filterFilter the website through regular expression filters. - You can enable or disable the filters individually.
     + Overriding forward directive:
+
+
   All filters applied by previous rules
handle-as-empty-document + Block with an empty document instead of an Image or HTML message. + The empty document contains only a space and can safely be parsed + as JavaScript or Style Sheet. Use content-type-overwrite to specify the + Content-Type, default is text/html. +
handle-as-imageRequest is for an image (only useful in conjunction with the block + and set-image-blocker actions).
+hide-forwardedBlock any existing X-Forwarded-for header, and do not add a new one.hide-accept-languagePretend to have different language settings. (Makes a fake User-Agent more believable, + but you may end up with content in the language you pretended to understand.)
+hide-from
     +
+
+
+
hide-content-dispositionBlock or overwrite the content-disposition header. Useful to view a document inside the browser, + even if you were supposed to save it first, or to change the suggested file name.
     +
+
+
+
hide-from-header Stop old web browsers from sending the user's e-mail address with every request.
   
    
+
+
hide-if-modified-sinceRemove or randomize the If-Modified-Since header.
     
-
-
+ Useful for filter testing.
+ + minute(s). + To appreciate this option a small amount of paranoia is required, + but at least in theory the If-Modified-Since header could be used + to keep track of your visits. +
+

+ + + + +

+
+
+
+

Edit Actions (Section 4)

+ + + + + + + + + name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@ + onclick="show_hide_referrer_opts(true)"> + name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@ + onclick="show_hide_referrer_opts(false)"> - + - + - - - - + + + - - - - - - - - - + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - + + - - - - - - - + + + + + + + + + + + + + - - + + - - - - - - + + + + + + + - - + + - - - - - - + + + + + + + + + + + + + + + + + +@server-header-filter-params@ + + + + + + + +@server-header-tagger-params@ - - + + - - - - - - + + + + + + - - - - + + + + - +
EnableDisableNo ChangeActionDescription
+hide-refererhide-referrer Helps prevent tracking by not sending the URL of the previous web page. 
        (breaks images + (breaks images on some free web hosts).
-

+
+
+
+
+hide-user-agentPretend to be using a different web browser.  (Breaks many web - sites).
   hide-user-agentPretend to be using a different web browser.  (May cause problems with broken web sites).
      User Agent string to send:
+imageRequest is for an image (only useful in conjunction with the +block - and +image-blocker options).
+image-blockerSpecifies how to block images.  Disable to always send a HTML - "blocked" page.
    
-
-
-
+limit-connectSpecify which ports are allowed for SSL (HTTP CONNECT) access. - Note that this allows arbitrary tunnelling, so opening all - ports would be a security hole.limit-connectLimit which ports are allowed in HTTP CONNECT requests. These requests are + used to tunnel SSL and other protocols through HTTP proxies.
       Legal SSL ports (comma separated, ranges allowed):
+
Legal ports (comma separated, ranges allowed):
+no-compressionDisables compression. Compressed web pages are faster to - download, but cannot be filtered with +filter or +no-popups. - This setting only affects the few web sites which support - compression.
limit-cookie-lifetimeLimit the cookie lifetime specified in Set-Cookie headers.
+no-cookies-keepAny cookies set by the website are changed to temporary - ("per-session") ones, which only last until you close your web - browser. This will allow you to use sites that require cookies, but - sites will not be able to track you across sessions. For this to - be useful, you should disable no-cookies-read and - no-cookies-set.overwrite-last-modifiedRemove or randomize the Last-Modified header.
+no-cookies-readPrevent the website from reading cookies.
     +
+ +
+ +
+no-cookies-setPrevent the website from setting cookies.prevent-compressionDisables compression. Compressed web pages are faster to + download, but cannot be filtered with filter + or kill-popups + if your Privoxy version was build without zlib support.
+ +no-popupsFilter the website through a built-in filter to disable JavaScript - pop-up windows.redirectRedirect to another address.
    Static address or a single pcrs command to redirect to a rewritten version of the original URL:
+
 server-header-filter *Filter the server headers. + You can use the radio buttons on this line to disable + all server-header filters applied by previous rules, and/or + you can enable or disable the filters individually below.
 server-header-tagger *Create tags based on the server headers. + You can use the radio buttons on this line to disable + all server-header taggers applied by previous rules, and/or + you can enable or disable the taggers individually below.
+vanilla-waferIf you use a jarfile, automatically adds a special wafer.session-cookies-onlyHTTP cookies set by the website are changed to temporary + ("per-session") ones, which only last until you close your web + browser. This will allow you to use sites that require cookies, but + sites will not be able to track you across sessions. For this to + be useful, you should disable + crunch-outgoing-cookies and + crunch-incoming-cookies.
+waferAdds user-specified cookies.
set-image-blockerSpecifies how to block images.
   
     Editing the settings for this option, or turning - it on if it was off, is not yet supported using this web-based - editor.
+
+
+
+ +

+ + + + +

+
+

More Privoxy:

-
    @menu@
+
-

Support and Service via Sourceforge:

-

- We value your feedback. To provide you with the best support, - we ask that you: -

- + +#include mod-support-and-service +
-

Local Privoxy support:

- - -

You can consult the online documentation for more information about this Privoxy installation.

- - - -

Address e-mail questions about this service to - @admin-address@, - who will be glad to help you. -

- -
- Valid HTML 4.01 Strict +#include mod-local-help +
+ - +