From 7eab594f26daf8a801835a45b9eccb683714c56b Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Wed, 21 Feb 2007 14:10:23 +0000 Subject: [PATCH] - Fix a js-annoyances pcrs command that broke evaluated code. (BR #1124071, thanks to Bor Gergely) - Have unsolicited-popups and all-popups catch the wheather.com popup reported in in AF #1640173. --- default.filter | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/default.filter b/default.filter index 1a05dd58..90ae6402 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.37 2007/02/17 13:29:44 hal9 Exp $ +# $Id: default.filter,v 1.38 2007/02/19 11:22:48 hal9 Exp $ # # Purpose : Rules to process the content of web pages # @@ -81,8 +81,10 @@ FILTER: js-annoyances Get rid of particularly annoying JavaScript abuse s|(?:\w+\.)+referrer|"Not Your Business!"|gisU # The status bar is for displaying link targets, not pointless blahblah -# -s/(\W\s*)((this|window)\.(default)?status)\s*=\s*((['"]).*?(?)(?=\s*[^'"])+$1+isU -s+([^\w\s.]\s*)((window|this|parent)\.)?open\s*\(+$1PrivoxyWindowOpen(+ig +s@([^\w\s.]\s*)((?:map)?(window|this|parent)\.?)?open\s*\(@$1PrivoxyWindowOpen(@ig s+([^'"]\s*)(?!\s*(\\n|'|"))+$1+iU @@ -190,7 +192,7 @@ s+([^'"]\s*)(?!\s*(\\n|'|"))+$1