X-Git-Url: http://www.privoxy.org/gitweb/?a=blobdiff_plain;f=default.filter;h=d96bf4ed3c523c90f00f370767155ef11de3cb6d;hb=c33e03d3ad0272cc1279895ec18b37769e62fed5;hp=dc6eef82d8f234d8594845c32ca48f9b55e40c7e;hpb=3c5d3feddfd392206430fcef1b4e0e93ce70d74d;p=privoxy.git
diff --git a/default.filter b/default.filter
index dc6eef82..d96bf4ed 100644
--- a/default.filter
+++ b/default.filter
@@ -2,7 +2,7 @@
#
# File : $Source: /cvsroot/ijbswa/current/default.filter,v $
#
-# $Id: default.filter,v 1.80 2011/06/19 12:17:56 fabiankeil Exp $
+# $Id: default.filter,v 1.87 2014/04/25 11:49:12 fabiankeil Exp $
#
# Purpose : Rules to process the content of web pages
#
@@ -93,7 +93,7 @@ FILTER: js-annoyances Get rid of particularly annoying JavaScript abuse.
# Get rid of Javascript referrer tracking.
# Test page: http://www.javascript-page.com/referrer.html
#
-s|(?:\w+\.)+referrer|"Not Your Business!"|gisU
+s|(?:\w+\.)+referrer|false.toString()|gisU
# The status bar is for displaying link targets, not pointless blahblah
#
@@ -128,15 +128,15 @@ s/(open\s*\([^\)]+always(?:raised|lowered)=)(["']?)(?:yes|1)\2/$1$2no$2/sigU
#################################################################################
#
-# js-events: Kill all JS event bindings and timers (Radically destructive! Only for extra nasty sites).
+# js-events: Kill JavaScript event bindings and timers (Radically destructive! Only for extra nasty sites).
#
#################################################################################
-FILTER: js-events Kill all JS event bindings and timers (Radically destructive! Only for extra nasty sites).
+FILTER: js-events Kill JavaScript event bindings and timers (Radically destructive! Only for extra nasty sites).
s/(on|event\.)((mouse(over|out|down|up|move))|(un)?load|contextmenu|selectstart)/never/ig
# Not events, but abused on the same type of sites:
s/(alert|confirm)\s*\(/concat(/ig
-s/settimeout\(/concat(/ig
+s/set(timeout|interval)\(/concat(/ig
#################################################################################
#
@@ -353,6 +353,15 @@ s/(]*)frameborder=(['"]?)(no|0)\2/$1/igU
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@@@Uisg
+
#################################################################################
#
@@ -575,7 +584,7 @@ s@(]*?)\sping=(['"]?)([^"'>]+)\2([>\s]?)@\
#################################################################################
FILTER: google CSS-based block for Google text ads. Also removes a width limitation and the toolbar advertisement.
-s@@