X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=0929ec2252de209bb630983ab8b008fb5b9c62cf;hp=2598229f2813c22610417366858e16c95e13ff25;hb=d7253af21a3612218997bb81b2ea57087c4813f9;hpb=a0e4e0b098fe643765a56f8c6565195c45cc06cf diff --git a/default.filter b/default.filter index 2598229f..0929ec22 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.79 2010/09/03 17:40:07 fabiankeil Exp $ +# $Id: default.filter,v 1.84 2012/03/18 15:45:44 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # @@ -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 ################################################################################# # @@ -575,7 +575,7 @@ s@(]*?)\sping=(['"]?)([^"'>]+)\2([>\s]?)@\ ################################################################################# FILTER: google CSS-based block for Google text ads. Also removes a width limitation and the toolbar advertisement. -s@@