X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=f266e154e227c1eb9aa3805c7512a525c1c40c74;hp=548befe67d21eca793ee8e20a8cce080079c7844;hb=c1691b7fafea3eb2e569db6c8e68c01afdacaf6c;hpb=100f48795eee7d2996bff48871bf745af01811c7 diff --git a/default.filter b/default.filter index 548befe6..f266e154 100644 --- a/default.filter +++ b/default.filter @@ -4,7 +4,7 @@ # # Purpose : Rules to process the content of web pages # -# Copyright : Written by and Copyright (C) 2001-2018 the +# Copyright : Written by and Copyright (C) 2001-2020 the # Privoxy team. https://www.privoxy.org/ # # This program is free software; you can redistribute it @@ -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 ################################################################################# @@ -743,6 +743,16 @@ CLIENT-HEADER-FILTER: hide-tor-exit-notation Removes the Tor exit node notation s@^((?:Referer|Host):\s*(?:https?://)?[^/]*)\.[^\./]*?\.exit@$1@i +################################################################################# +# +# no-brotli-accepted: Strips "br" from the Accept-Encoding header as Privoxy +# currently doesn't support Brotli. +# +################################################################################# +CLIENT-HEADER-FILTER: no-brotli-accepted Strip "br" from Accept-Encoding header + +s@(^Accept-Encoding:.*?)(?:br, |, br|br)@$1@i + ################################################################################# # # less-download-windows: Prevents annoying download windows for content types