[Privoxy-commits] [privoxy] 05/16: Add a sourceforge filter

User Git git at git.privoxy.org
Tue Jan 19 13:25:41 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 b40c326eb526cd7ffedc3facc2183a4ef0245407
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Jan 18 14:52:58 2021 +0100

    Add a sourceforge filter
    
    ... that reduces the amount of ads for proprietary software.
---
 default.filter | 13 +++++++++++++
 1 file changed, 13 insertions(+)

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 at 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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Privoxy-commits mailing list