From: Fabian Keil <fk@fabiankeil.de>
Date: Mon, 18 Jan 2021 13:52:58 +0000 (+0100)
Subject: Add a sourceforge filter
X-Git-Tag: v_3_0_30~81
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/user-manual/diff?a=commitdiff_plain;h=b40c326eb526cd7ffedc3facc2183a4ef0245407;p=privoxy.git

Add a sourceforge filter

... that reduces the amount of ads for proprietary software.
---

diff --git a/default.filter b/default.filter
index b5f5731e..906c54eb 100644
--- a/default.filter
+++ b/default.filter
@@ -704,6 +704,19 @@ s@(background:\#[a-f\d]{3})( url\(\"http://www.blogblog.com/rounders[^\"]*\"\).*
 s@<title(?:\s+type=\'text\')?>([^<]*)(?:\.\.\.)?\s*</title>\s*\
 (<content(?:\s+type=\'(?:html|text)\')?>\s*\1)@<title></title>$2@ig
 
+#################################################################################
+#
+# sourceforge: Reduces the amount of ads for proprietary software on SourceForge.
+#
+#################################################################################
+FILTER: sourceforge Reduces the amount of ads for proprietary software on SourceForge.
+
+s@<div id="banner-sterling"@$0 style="display:none;"@
+s@<section id="nels"@$0 style="display:none;"@
+s@<aside class="m-wide-widget m-wide-projects-widget "@$0 style="display:none;"@
+s@<div id="newsletter-floating"@$0 style="display:none;"@
+s@<div class="sterling" id="banner-sterling"@$0 style="display:none;"@
+
 #################################################################################
 #
 # x-httpd-php-to-html: Changes the Content-Type header from