[Privoxy-commits] [privoxy] 01/10: Let the crude-parental filter provide a short reason when blocking
    User Git 
    git at git.privoxy.org
       
    Fri Jan 22 13:31:16 UTC 2021
    
    
  
This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository privoxy.
commit 7d49fe5c5ff2ea916a18502d515d6bbb4109f900
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Thu Jan 21 15:05:08 2021 +0100
    Let the crude-parental filter provide a short reason when blocking
    
    While at it, add new lines at the end of the block page.
---
 default.filter | 16 ++++++++++------
 1 file changed, 10 insertions(+), 6 deletions(-)
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).*$\
- at This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental content filter\
+ at 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?).*$\
- at This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental content filter\
+ at 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).*$\
- at This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental content filter\
+ at 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).*$\
- at This page has been blocked by <a href="http://p.p/">Privoxy's</a> crude-parental content filter\
+ at 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
 
 
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Privoxy-commits
mailing list