[Privoxy-commits] [privoxy] 04/16: Add a github filter
    User Git 
    git at git.privoxy.org
       
    Tue Jan 19 13:25:40 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 7f485093bf1f43003f9a2942e29cacac1a624d6c
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Jan 18 14:49:39 2021 +0100
    Add a github filter
    
    ... that removes the annoying "Sign-Up" banner and the Cookie disclaimer.
---
 default.filter | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff --git a/default.filter b/default.filter
index 031bd17d..b5f5731e 100644
--- a/default.filter
+++ b/default.filter
@@ -579,6 +579,16 @@ FILTER: allow-autocompletion Changes autocomplete="off" on form and input fields
 
 s@(<(?:input|form|select|textarea)\s[^>]+autocomplete=)(['"]?)(?:off|0)\2@$1$2on$2 at 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@<signup-prompt.*</signup-prompt>@@Uis
+s@(<div) (class="hx_cookie-banner)@$1 style="display:none;" $2@
+
 #################################################################################
 #
 # google: CSS-based block for Google text ads. Also removes
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Privoxy-commits
mailing list