X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fwebserver%2Fuser-manual%2Factions-file.html;h=54b0e7b90a63b211059bbc69eda169556f5b7fdf;hb=ae4ff5fcb1cfe4c42e6decdda9ec92cfc565e276;hp=8ba91a2d13fced4d89d47c2e63799de8372cadf0;hpb=694302ba33c361b948db3ab1f17d77dc7eb6e9b6;p=privoxy.git diff --git a/doc/webserver/user-manual/actions-file.html b/doc/webserver/user-manual/actions-file.html index 8ba91a2d..54b0e7b9 100644 --- a/doc/webserver/user-manual/actions-file.html +++ b/doc/webserver/user-manual/actions-file.html @@ -4,7 +4,7 @@
Privoxy 3.0.29 User Manual | +Privoxy 3.0.32 User Manual | |||||
---|---|---|---|---|---|---|
Prev | @@ -73,7 +73,7 @@
+ # Remove "test" everywhere in the request body +{+client-body-filter{remove-test}} +/+ |
+
"Rolling your own" filters requires a knowledge of "Regular - Expressions" and "Regular + Expressions" and "HTML". This is very powerful feature, and potentially very intrusive. Filters should be used with caution, and where an equivalent "action" is not available.
-The amount of data that can be filtered is limited to the The amount of data that can be filtered is limited by the buffer-limit option in the main config file. The default is 4096 KB (4 Megs). Once this limit is exceeded, the buffered data, and all pending data, is passed through unfiltered.
@@ -1823,6 +1878,15 @@ problem-host.example.com
+ +filter{github} # Removes the annoying "Sign-Up" banner and the Cookie disclaimer.+ |
+
+ +filter{imdb} # Removes some ads on IMDb.+ |
+
+ +filter{sourceforge} # Reduces the amount of ads for proprietary software on SourceForge.+ |
+
More information on known user-agent strings can be found at http://www.user-agents.org/ and http://www.user-agents.org/ and http://en.wikipedia.org/wiki/User_agent.
- +hide-user-agent{Netscape 6.1 (X11; I; Linux 2.4.18 i686)}+ +hide-user-agent{Mozilla/5.0 (X11; ElectroBSD i386; rv:78.0) Gecko/20100101 Firefox/78.0} |
Suppress client or server tag.
+Server or client tags to which this action applies are not added to the request, thus making all + actions that are specific to these request tags inactive.
+Multi-value.
+The result tag of a server-header or client-header tagger, as defined in one of the filter files.
+
+ # Suppress tag produced by range-requests client-header tagger for requests coming from address 10.0.0.1 +{+suppress-tag{RANGE-REQUEST}} +TAG:^IP-ADDRESS: 10\.0\.0\.1$+ |
+
Note that many of these actions have the potential to cause a page to misbehave, possibly even not to display at all. There are many ways a site designer may choose to design his site, and what HTTP header content, and other criteria, he may depend on. There is no way to have hard and fast rules for all sites. See