X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=templates%2Fedit-actions-for-url;h=e3a240cd73cffd17557a6cee1f915502811da5d9;hp=a2b98f8f3429085b1296e3b243df30e5ebd68362;hb=bc691efb3976886631d4c6f91f8791fb702c459a;hpb=cf3501494c49f38c413762a6b679c4a08fa1e314 diff --git a/templates/edit-actions-for-url b/templates/edit-actions-for-url index a2b98f8f..e3a240cd 100644 --- a/templates/edit-actions-for-url +++ b/templates/edit-actions-for-url @@ -1,398 +1,1289 @@ +############################################################################## # +# File : $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $ # -# Available variables: +# Purpose : Template used to edit the actions associated with a +# particular section in an actions file. +# +# +# Copyright : Written by and Copyright (C) 2001-2020 the +# Privoxy team. https://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 +# 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 +# your option) any later version. +# +# This program is distributed in the hope that it will +# be useful, but WITHOUT ANY WARRANTY; without even the +# implied warranty of MERCHANTABILITY or FITNESS FOR A +# PARTICULAR PURPOSE. See the GNU General Public +# License for more details. +# +# The GNU General Public License should be included with +# this file. If not, you can view it at +# http://www.gnu.org/copyleft/gpl.html +# or write to the Free Software Foundation, Inc., 59 +# Temple Place - Suite 330, Boston, MA 02111-1307, USA. +# +############################################################################## +# +# Standard support: +# +# This file currently produces valid HTML 4.01 Strict. +# +# 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: +# +# action-name-y +# action-name-n +# action-name-x # # deanimate-gifs-param-first # deanimate-gifs-param-last # 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-logo +# image-blocker-param-pattern # image-blocker-param-blank # image-blocker-param-custom -# image-blocker-param-logo # # +############################################################################## - - - + + + + + + -JunkBuster: Edit actions + Privoxy@@my-hostname@: Edit actions + + -

 

-
- - - - - - + + + + +
ActionDescription
+ + + + + +# This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +#include mod-title + +
+ +#include mod-unstable-warning + +
+

Edit Actions + + + +

+
+

+
+ + + +

Edit Actions (Section 1)

+ + + + + + - - + name="add_header" id="add_header_y" value="Y" @add-header-y@ + onclick="show_add_header_opts(true)"> + name="add_header" value="N" @add-header-n@ + onclick="show_add_header_opts(false)"> + name="add_header" value="X" @add-header-x@ + onclick="show_add_header_opts(false)"> + + + + + - - - - - - + + + - - + + + + + + + + + - - + name="change_x_forwarded_for" id="change_x_forwarded_for_y" value="Y" @change-x-forwarded-for-y@ + onclick="show_change_x_forwarded_for_opts(true)"> + + + + + + + + + + + + + + + + + + +@client-header-filter-params@ + + + + + + + +@client-header-tagger-params@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@ + > + name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@ + > + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +@external-content-filter-params@ + + + + - - + + + + + + + + + + + +
Enable Disable No ChangeActionDescription
+add-headerAdds HTTP headers. add-headerAdds HTTP headers.
     To edit the settings for this option, and then - click "Submit".
+blockBlock the requestEditing the settings for this option, or turning + it on if it was off, is not yet supported using this web-based + editor.
blockBlock the request.
    Block reason to tell the user:
+ +
+deanimate-gifsReplace animated GIFs with their (first/last) frame. 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-gifsReplace animated GIFs with their (first/last) frame.
     Use the Use the   
+fast-redirectsBypass some tracking URLs. + delay-responseSend the response in ca. 10 byte chunks and delay each chunk.
    Number of milliseconds to delay chunks:
+ +
downgrade-http-versionChange HTTP/1.1 requests to HTTP/1.0. Only change if you know + what you're doing!
 external-filter *Filter the website through external scripts or programs. + 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.
fast-redirectsBypass some click-tracking URLs.
     + +
+
+

+ + + + +

+ +
+
+

Edit Actions (Section 2)

+ + + + + + + + - - + + + + + + + +@content-filter-params@ + + +
EnableDisableNo ChangeActionDescription
+filterFilter the website through the re_filterfile 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="force_text_mode" value="X" @force-text-mode-x@ + > + + - - - - - - + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name="hide_if_modified_since" value="Y" @hide-if-modified-since-y@ + > + name="hide_if_modified_since" value="N" @hide-if-modified-since-n@ + > + name="hide_if_modified_since" value="X" @hide-if-modified-since-x@ + > + + - + + + + - - - - + + + +
EnableDisableNo ChangeActionDescription
force-text-mode + Enable filtering on documents whose Content-Type wasn't recognized as text. + Do think twice, nothing is alright. +
+hide-forwardedBlock any existing X-Forwarded-for header, and do not add a new one. + 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.
     + Overriding forward directive:
+
+
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-fromhide-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-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.
     
-
-
+hide-referer + 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_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@ + onclick="show_user_agent_opts(true)"> + name="hide_user_agent" value="N" @hide-user-agent-n@ + onclick="show_user_agent_opts(false)"> + name="hide_user_agent" value="X" @hide-user-agent-x@ + onclick="show_user_agent_opts(false)"> + + + + + - - - - - + + + + + + + + + - - + + + + + - - + name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@ + onclick="show_limit_connect_opts(true)"> + name="limit_connect" value="N" @limit-connect-n@ + onclick="show_limit_connect_opts(false)"> + name="limit_connect" value="X" @limit-connect-x@ + onclick="show_limit_connect_opts(false)"> + + - + + + + - + + + + + + + + - - - - + + + + + + + - - + + + + + + + + + + - - + + - - - - - - + + + + + + + + + + + + + + + + + +@server-header-filter-params@ + + + + + + +@server-header-tagger-params@ - - + + - - - - - - + + + + + + - + + + + - +
EnableDisableNo ChangeActionDescription
hide-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:
- User Agent string to send:
+
+imageRequest is for an image (only useful in conjunction with the +block - and +image-blocker options). +
https-inspection + Enable content and header filtering for https requests. +
ignore-certificate-errors + Don't verify certificates when forwarding encrypted requests. +
+image-blockerSpecifies how to block images.  Disable to always send a HTML - "blocked" page. limit-connectLimit which ports are allowed in HTTP CONNECT requests. These requests are + used to tunnel SSL and other protocols through HTTP proxies.
     
-
-
-
Legal ports (comma separated, ranges allowed):
+
limit-cookie-lifetimeLimit the cookie lifetime specified in Set-Cookie headers.
+no-cookies-readPrevent the website from reading cookies +     Lifetime limit in minutes (or 0 to behave like + session-cookies-only):
+
overwrite-last-modifiedRemove or randomize the Last-Modified header.
     +
+ +
+ +
+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.
     To edit the settings for this option, and then click - "Submit".
+
+
+
+ + +

+ + + + +

+
+ +
+

+
+

More Privoxy:

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

- -

 

+