X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=901bb6873f6bda3eb06e94cd82860afda26ecee1;hp=e8bc150fb0265b63e51cc60313173a4f553a5395;hb=0e6ad9a837480b4f58de11b32e9fd03c8446f1f1;hpb=7983c9cb073bbdeaea89ae5c4a58d41d1b138394 diff --git a/default.filter b/default.filter index e8bc150f..901bb687 100644 --- a/default.filter +++ b/default.filter @@ -457,37 +457,37 @@ FILTER: crude-parental Crude parental filtering. Note that this filter doesn't w # (Note #2: Is 'sex' a rude word?!) s%^.*(?Blocked\ -

Blocked by Privoxy's crude-parental filter due to possible adult content.

%is +

Blocked by Privoxy's crude-parental filter due to possible adult content.

%is s+^.*warez.*$+No Warez

You're not searching for illegal stuff, are you?

+is # Remove by description -s/^.*\ +s@^.*\ (?:(suck|lick|tongue|rub|fuck|fingering|finger|chicks?)\s*)?\ (?:(her|your|my|hard|with|big|wet|tight|pink|hot|moist|young|teen)\s*)+\ (dicks?|penis|cocks?|balls?|tits?|pussy|cunt|clit|ass|mouth).*$\ -/This page has been blocked by Privoxy's crude-parental content filter\ -/is +@This page has been blocked by Privoxy's crude-parental content filter\ +@is #Remove by link text -s/^.*\ +s@^.*\ (download|broadband|view|watch|free|get|extreem)?\s*\ (sex|xxx|porn|cumshot|fuck(ing|s)?|anal|ass|asian|adult|Amateur|org(y|ies)|close ups?|hand?job|nail(ed)?)+\s*\ (movies?|pics?|videos?|dvds?|dvd's|links?).*$\ -/This page has been blocked by Privoxy's crude-parental content filter\ -/is +@This page has been blocked by Privoxy's crude-parental content filter\ +@is #Remove by age disclaimer -s/^.*\ +s@^.*\ (models?|chicks?|girls?|women|persons)\s*\ (who|are|were)+ (over|at least) (16|18|21) years (old|of age).*$\ -/This page has been blocked by Privoxy's crude-parental content filter\ -/is +@This page has been blocked by Privoxy's crude-parental content filter\ +@is #Remove by regulations -s/^.*(Section 2257|18 U.?S.?C.? 2257).*$\ -/This page has been blocked by Privoxy's crude-parental content filter\ -/is +s@^.*(Section 2257|18 U.?S.?C.? 2257).*$\ +@This page has been blocked by Privoxy's crude-parental content filter\ +@is ################################################################################# @@ -906,3 +906,17 @@ s@^X-Privoxy-Control:\s*@@i SERVER-HEADER-FILTER: privoxy-control Removes X-Privoxy-Control headers. s@^X-Privoxy-Control:.*@@i + +################################################################################# +# +# client-body: Modify client request body +# +################################################################################# +CLIENT-BODY-FILTER: remove-first-byte Removes the first byte from the request body +s@^.@@ + +CLIENT-BODY-FILTER: remove-test Removes "test" everywhere in the request body +s@test@@g + +CLIENT-BODY-FILTER: overwrite-test-value Overwrites the value of the "test" variable with blafasel +s@(test=)[^&\s]*@$1blafasel@g