From 7f485093bf1f43003f9a2942e29cacac1a624d6c Mon Sep 17 00:00:00 2001
From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 18 Jan 2021 14:49:39 +0100
Subject: [PATCH] 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@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
-- 
2.49.0