X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=46408c08bb0cfd64221a13cc3b8039bb3ccea5cb;hp=8195747a867fe3ce161e2243fe421942d5f0bbcd;hb=094e75ca11d4e4b02119e38ae88448bcc7fc5b6d;hpb=f170629e040780c1c7a41776314dbf52a47937d4 diff --git a/default.filter b/default.filter index 8195747a..46408c08 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.89 2014/05/05 09:48:55 fabiankeil Exp $ +# $Id: default.filter,v 1.91 2014/06/20 09:46:13 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # @@ -144,7 +144,7 @@ FILTER: html-annoyances Get rid of particularly annoying HTML abuse. # s/(]+resizable=)(['"]?)(?:no|0)\2/$1$2yes$2/igU s/(]+location=)(['"]?)(?:no|0)\2/$1$2yes$2/igU -s/(]+status=)(['"]?)(?:no|0)\2/$1$2yes1$2/igU +s/(]+status=)(['"]?)(?:no|0)\2/$1$2yes$2/igU s/(]+scrolling=)(['"]?)(?:no|0)\2/$1$2auto$2/igU s/(]+menubar=)(['"]?)(?:no|0)\2/$1$2yes$2/igU @@ -219,11 +219,11 @@ FILTER: img-reorder Reorder attributes in tags to make the banners-by-* fi # This makes banners-by-size more effective and allows both banners-by-size # and banners-by-link to preserve the original image URL in the title attribute. -s|]*)\ssrc\s*=\s*(['"])([^>\\\2]+)\2|]*)\ssrc\s*=\s*(['"])([^>'" ]+)\2|]*)\ssrc\s*=\s*([^'">\\\s]+)|]+height)\s*=\s*|$1=|sig -s|\\\\2]*\2\|[^'">\\\s]+?))([^>]*)\s+width\s*=\s*((["']?)\d+?\5)(?=[\s>])|'" ]*\2\|[^'">\\\s]+?))([^>]*)\s+width\s*=\s*((["']?)\d+?\5)(?=[\s>])|