X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=e19f6cf6a93be93b559a123d87b6d5f11f0e1763;hp=548befe67d21eca793ee8e20a8cce080079c7844;hb=HEAD;hpb=c5a8c4496dc51ee5a4cdeb65d6275a08e18d0a79 diff --git a/default.filter b/default.filter index 548befe6..aaf70a3e 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-2022 the # Privoxy team. https://www.privoxy.org/ # # This program is free software; you can redistribute it @@ -116,7 +116,6 @@ s/(open\s*\([^\)]+always(?:raised|lowered)=)(["']?)(?:yes|1)\2/$1$2no$2/sigU s/(open\s*\([^\)]+z-?lock=)(["']?)(?:yes|1)\2/$1$2no$2/sigU s/(open\s*\([^\)]+hotkeys=)(["']?)(?:yes|1)\2/$1$2no$2/sigU s/(open\s*\([^\)]+titlebar=)(["']?)(?:no|0)\2/$1$2yes$2/sigU -s/(open\s*\([^\)]+always(?:raised|lowered)=)(["']?)(?:yes|1)\2/$1$2no$2/sigU ################################################################################# @@ -219,7 +218,7 @@ FILTER: img-reorder Reorder attributes in tags to make the banners-by-* fi # and banners-by-link to preserve the original image URL in the title attribute. s|]*)\ssrc\s*=\s*(['"])([^>'" ]+)\2|]*)\ssrc\s*=\s*([^'">\\\s]+)|]*)\ssrc\s*=\s*([^'">\\\s]+)|]+height)\s*=\s*|$1=|siUg s|'" ]*\2\|[^'">\\\s]+?))([^>]*)\s+width\s*=\s*((["']?)\d+?\5)(?=[\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.

\n%is -s+^.*warez.*$+No Warez

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

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

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

\n+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 based on the description.\n\ +@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 based on link text.\n\ +@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 because of an age disclaimer.\n\ +@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 because of an regulations text.\n\ +@is ################################################################################# @@ -569,6 +572,37 @@ FILTER: no-ping Removes non-standard ping attributes in and tags. s@(]*?)\sping=(['"]?)([^"'>]+)\2([>\s]?)@\ PING!\n$1$4@ig +################################################################################# +# +# allow-autocompletion: Changes autocomplete="off" on form and input fields +# to "on" to allow autocompletion. +# +################################################################################# +FILTER: allow-autocompletion Changes autocomplete="off" on form and input fields to "on" to allow autocompletion. + +s@(<(?:input|form|select|textarea)\s[^>]+autocomplete=)(['"]?)(?:off|0)\2@$1$2on$2@igsU + +################################################################################# +# +# github: Removes the annoying "Sign-Up" banner and the Cookie disclaimer. +# +################################################################################# +FILTER: github Removes the annoying "Sign-Up" banner and the Cookie disclaimer. + +s@@@Uis +s@(