# 
 #  File        :  $Source: /cvsroot/ijbswa/current/default.filter,v $
 # 
-#  $Id: default.filter,v 1.11.2.16 2003/05/08 09:44:56 oes Exp $
+#  $Id: default.filter,v 1.11.2.17 2003/12/01 21:58:46 oes Exp $
 #
 #  Purpose     :  Rules to process the content of web pages
 # 
 FILTER: unsolicited-popups Disable only unsolicited pop-up windows
 
 s+([^'"]\s*<head.*>)(?=\s*[^'"])+$1<script>function PrivoxyWindowOpen(){return(null);}</script>+isU
-s+((window|this|parent)\.)?open\s*\(+PrivoxyWindowOpen(+ig
+s+([^\w\s.]\s*)((window|this|parent)\.)?open\s*\(+$1PrivoxyWindowOpen(+ig
 s+([^'"]\s*)(?=</html>(\s*[^'"]|$))+$1<script>function PrivoxyWindowOpen(a, b, c){return(window.open(a, b, c));}</script>+iU     
 
 
 #
 #  Revisions   :
 #     $Log: default.filter,v $
+#     Revision 1.11.2.17  2003/12/01 21:58:46  oes
+#     Assorted tuning:
+#
+#      - unsolicited-popups no longer matches at start or end of quoted
+#        strings, and is now activated earlier and deactivated later in
+#        the page.
+#      - replacement images in banners-by-* now without border
+#      - more effective shockwave flash flattening
+#      - Custom annoyance filtering for Yahoo Groups, Monster.com, NY Times.
+#
 #     Revision 1.11.2.16  2003/05/08 09:44:56  oes
 #     Allow extra parameters in blink,marquee tags. Fixes bug #734012
 #