From 57c8513fa8cd0f05f49fea01147f056d29c34e4b Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Thu, 5 Oct 2006 14:46:28 +0000 Subject: [PATCH] Replaced "<" in img-reorder's description with "<". Modified msn filter to tag ads with classes instead of ids. There may be more than one ad per page, but ids are required to be unique. --- default.filter | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/default.filter b/default.filter index 9db79c60..aa9050df 100644 --- a/default.filter +++ b/default.filter @@ -2,7 +2,7 @@ # # File : $Source: /cvsroot/ijbswa/current/default.filter,v $ # -# $Id: default.filter,v 1.21 2006/10/02 16:21:14 fabiankeil Exp $ +# $Id: default.filter,v 1.22 2006/10/04 19:17:14 fabiankeil Exp $ # # Purpose : Rules to process the content of web pages # @@ -198,7 +198,7 @@ s/\starget\s*=\s*(['"]?)_?(blank|new)\1?/ notarget/ig # HTML # img-reorder: Reorder attributes in tags to make the banners-by-* filters more effective # ################################################################################# -FILTER: img-reorder Reorder attributes in tags to make the banners-by-* filters more effective +FILTER: img-reorder Reorder attributes in <img> tags to make the banners-by-* filters more effective # In the first step src is moved to the start, then width is moved to the second # place to guarantee an order of src, width, height. @@ -535,11 +535,11 @@ s@@\n$0@ -s@(
]*) id=(["']?)ads_[^\2]*\2@$1 class="msn_ads"@Uig s@(]*href=\")http://g.msn.com/.*\?(http://.*)(&&DI=.*)(\")@$1$2$4@Ug s@(]*)gping=\".*\"@$1 title="URL cleaned up by Privoxy's msn filter"@Ug @@ -590,6 +590,13 @@ s@^(Content-Type:) (?:application|text)/(?:xhtml\+)?xml(;.*)?$@$1 text/html$2@ # # Revisions : # $Log: default.filter,v $ +# Revision 1.22 2006/10/04 19:17:14 fabiankeil +# Incorportated Frédéric Crozat's ie-exploits +# modification to make it less trigger-happy. +# +# Modified blogspot filter to make .post-body +# scrollable if necessary. +# # Revision 1.21 2006/10/02 16:21:14 fabiankeil # Adjusted yahoo filter to hide .yschspns as well. # Added header filters: html-to-xml and xml-to-html. -- 2.39.2