From: Fabian Keil <fk@fabiankeil.de> Date: Thu, 21 Jan 2021 14:05:08 +0000 (+0100) Subject: Let the crude-parental filter provide a short reason when blocking X-Git-Tag: v_3_0_30~39 X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/@default-cgi@show-url-info?a=commitdiff_plain;h=7d49fe5c5ff2ea916a18502d515d6bbb4109f900;p=privoxy.git Let the crude-parental filter provide a short reason when blocking While at it, add new lines at the end of the block page. --- diff --git a/default.filter b/default.filter index fcfe19fe..72c7dcde 100644 --- a/default.filter +++ b/default.filter @@ -456,16 +456,17 @@ FILTER: crude-parental Crude parental filtering. Note that this filter doesn't w # (Note #2: Is 'sex' a rude word?!) s%^.*(?<!middle)(?<!sus)(?<!es)sex.*$%<html><head><title>Blocked</title></head><body>\ -<h3>Blocked by <a href="http://p.p/">Privoxy's</a> crude-parental filter due to possible adult content.</h3></body></html>%is +<h3>Blocked by <a href="http://p.p/">Privoxy's</a> crude-parental filter due to possible adult content.</h3></body></html>\n%is -s+^.*warez.*$+<html><head><title>No Warez</title></head><body><h3>You're not searching for illegal stuff, are you?</h3></body></html>+is +s+^.*warez.*$+<html><head><title>No Warez</title></head><body><h3>You're not searching for illegal stuff, are you?</h3></body></html>\n+is # Remove by description 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 <a href="http://p.p/">Privoxy's</a> crude-parental content filter\ +@This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental \ +content filter based on the description.\n\ @is #Remove by link text @@ -473,19 +474,22 @@ 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 <a href="http://p.p/">Privoxy's</a> crude-parental content filter\ +@This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental \ +content filter based on link text.\n\ @is #Remove by age disclaimer 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 <a href="http://p.p/">Privoxy's</a> crude-parental content filter\ +@This page has been blocked by <a href="http://p.p/">Privoxy's</a> 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 <a href="http://p.p/">Privoxy's</a> crude-parental content filter\ +@This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental \ +content filter because of an regulations text.\n\ @is