X-Git-Url: http://www.privoxy.org/gitweb/show-status?a=blobdiff_plain;f=default.filter;h=aaf70a3e242c9944248dcac8316cc4599be0b8b8;hb=2387f6d8d978b789fb240d20da4d0bc1b6b9004f;hp=031bd17d48f62a71a47f22e030627e41bad8a0a6;hpb=ef43ecd1205ad4efb99194f5070b980a1e7902b1;p=privoxy.git diff --git a/default.filter b/default.filter index 031bd17d..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>])|