X-Git-Url: http://www.privoxy.org/gitweb/templates.html?a=blobdiff_plain;f=default.filter;h=aaf70a3e242c9944248dcac8316cc4599be0b8b8;hb=e4a7ec439a8ff4199c00718922f5cf255d2dabdf;hp=b5f5731e7b43cb644f5ca9d724ca4c4771e4b5c6;hpb=7f485093bf1f43003f9a2942e29cacac1a624d6c;p=privoxy.git diff --git a/default.filter b/default.filter index b5f5731e..aaf70a3e 100644 --- a/default.filter +++ b/default.filter @@ -4,7 +4,7 @@ # # Purpose : Rules to process the content of web pages # -# Copyright : Written by and Copyright (C) 2001-2020 the +# Copyright : Written by and Copyright (C) 2001-2022 the # Privoxy team. https://www.privoxy.org/ # # This program is free software; you can redistribute it @@ -116,7 +116,6 @@ s/(open\s*\([^\)]+always(?:raised|lowered)=)(["']?)(?:yes|1)\2/$1$2no$2/sigU s/(open\s*\([^\)]+z-?lock=)(["']?)(?:yes|1)\2/$1$2no$2/sigU s/(open\s*\([^\)]+hotkeys=)(["']?)(?:yes|1)\2/$1$2no$2/sigU s/(open\s*\([^\)]+titlebar=)(["']?)(?:no|0)\2/$1$2yes$2/sigU -s/(open\s*\([^\)]+always(?:raised|lowered)=)(["']?)(?:yes|1)\2/$1$2no$2/sigU ################################################################################# @@ -219,7 +218,7 @@ FILTER: img-reorder Reorder attributes in tags to make the banners-by-* fi # and banners-by-link to preserve the original image URL in the title attribute. s|]*)\ssrc\s*=\s*(['"])([^>'" ]+)\2|]*)\ssrc\s*=\s*([^'">\\\s]+)|]*)\ssrc\s*=\s*([^'">\\\s]+)|]+height)\s*=\s*|$1=|siUg s|'" ]*\2\|[^'">\\\s]+?))([^>]*)\s+width\s*=\s*((["']?)\d+?\5)(?=[\s>])|