Add a sourceforge filter
authorFabian Keil <fk@fabiankeil.de>
Mon, 18 Jan 2021 13:52:58 +0000 (14:52 +0100)
committerFabian Keil <fk@fabiankeil.de>
Tue, 19 Jan 2021 13:25:06 +0000 (14:25 +0100)
... that reduces the amount of ads for proprietary software.

default.filter

index b5f5731..906c54e 100644 (file)
@@ -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