From: Fabian Keil <fk@fabiankeil.de>
Date: Tue, 19 Feb 2013 11:14:47 +0000 (+0000)
Subject: Add an iframes filter
X-Git-Tag: v_3_0_21~59
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/faq/user-manual/developer-manual/static/gitweb.js?a=commitdiff_plain;h=72639b4f28b7691ac9f5d95a1ef7aa2ee97e11e8;p=privoxy.git

Add an iframes filter
---

diff --git a/default.filter b/default.filter
index 0929ec22..43f2ca08 100644
--- a/default.filter
+++ b/default.filter
@@ -2,7 +2,7 @@
 # 
 #  File        :  $Source: /cvsroot/ijbswa/current/default.filter,v $
 # 
-#  $Id: default.filter,v 1.84 2012/03/18 15:45:44 fabiankeil Exp $
+#  $Id: default.filter,v 1.85 2012/04/22 12:17:08 fabiankeil Exp $
 #
 #  Purpose     :  Rules to process the content of web pages
 # 
@@ -353,6 +353,15 @@ s/(<frame\s+[^>]*)frameborder=(['"]?)(no|0)\2/$1/igU
 s/(<frame\s+[^>]*)scrolling=(['"]?)(no|0)\2/$1/igU
 
 
+#################################################################################
+#
+# iframes: Remove all detected iframes. Should only be enabled for
+#          individual sites after testing that the iframes are optional.
+#
+#################################################################################
+FILTER: iframes Removes all detected iframes. Should only be enabled for individual sites.
+s@<iframe.*</iframe>@<!-- iframe removed by Privoxy's iframe filter -->@Uisg
+
 
 #################################################################################
 #