X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=fd5c12ec3e713057222916653b22f7fbf644f2f7;hp=3f63e99b324b4008c4dc40764ef65124ac3b0832;hb=65e01393b77af2ab94844cb13efb3d5e321f1254;hpb=4f525794bfa4eae463ba6b2afdc0c447bdb1b8b3 diff --git a/default.filter b/default.filter index 3f63e99b..fd5c12ec 100644 --- a/default.filter +++ b/default.filter @@ -2,12 +2,12 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.90 2014/05/05 09:59:51 fabiankeil Exp $ +# $Id: default.filter,v 1.94 2016/05/25 10:51:41 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # # Copyright : Written by and Copyright (C) 2001-2014 the -# Privoxy team. http://www.privoxy.org/ +# Privoxy team. https://www.privoxy.org/ # # This program is free software; you can redistribute it # and/or modify it under the terms of the GNU General @@ -57,7 +57,8 @@ # quoting. # # 'D' (Dynamic) allows the use of variables. Supported variables are: -# $host, $origin (the IP address the request came from), $path and $url. +# $host, $listen-address, $origin (the IP address the request came +# from), $path and $url. # # Note that '$' is a bad choice as delimiter for dynamic filters as you # might end up with unintended variables if you use a variable name @@ -219,11 +220,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>])|