[Privoxy-commits] [privoxy] 06/16: Add an imdb filter

User Git git at git.privoxy.org
Tue Jan 19 13:25:42 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 9bfd6d1c27b238f49996a2b28c346d5d5f821fbe
Author: Fabian Keil <fk at fabiankeil.de>
AuthorDate: Mon Jan 18 14:57:22 2021 +0100

    Add an imdb filter
---
 default.filter | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/default.filter b/default.filter
index 906c54eb..36f129e3 100644
--- a/default.filter
+++ b/default.filter
@@ -589,6 +589,17 @@ 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@
 
+#################################################################################
+#
+# imdb: Removes some ads on IMDb.
+#
+#################################################################################
+FILTER: imdb Removes some ads on IMDb.
+
+s@(<div id="top_ad_wrapper")@$1 style="display:none"@
+s@<iframe[^>]*id="top_ad"[^>]*>.*</iframe>@<!-- Iframe removed by Privoxy's imdb filter -->@
+s@<iframe[^>]*onload="doWithAds.call[^>]*></iframe>@<!-- Iframe removed by Privoxy's imdb filter -->@g
+
 #################################################################################
 #
 # 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