projects
/
privoxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
360fc98
)
Teach msn filter to catch a few new ad classes.
author
Fabian Keil
<fk@fabiankeil.de>
Sun, 3 Aug 2008 17:27:47 +0000
(17:27 +0000)
committer
Fabian Keil
<fk@fabiankeil.de>
Sun, 3 Aug 2008 17:27:47 +0000
(17:27 +0000)
default.filter
patch
|
blob
|
history
diff --git
a/default.filter
b/default.filter
index
9476c04
..
dbe77a8
100644
(file)
--- a/
default.filter
+++ b/
default.filter
@@
-2,7
+2,7
@@
#
# File : $Source: /cvsroot/ijbswa/current/default.filter,v $
#
#
# File : $Source: /cvsroot/ijbswa/current/default.filter,v $
#
-# $Id: default.filter,v 1.6
4 2008/07/12 15:49:09
fabiankeil Exp $
+# $Id: default.filter,v 1.6
5 2008/07/21 13:43:44
fabiankeil Exp $
#
# Purpose : Rules to process the content of web pages
#
#
# Purpose : Rules to process the content of web pages
#
@@
-622,7
+622,9
@@
s@</head>@<style type="text/css">\n\
.suggestion, \#nys_right, \#nys {clear: both; display:none;}\n\
\#content {padding-right: 0;}\n\
</style>\n$0@
.suggestion, \#nys_right, \#nys {clear: both; display:none;}\n\
\#content {padding-right: 0;}\n\
</style>\n$0@
+# Are these ids still in use?
s@(<div[^>]*) id=(["']?)ads_[^\2]*\2@$1 class="msn_ads"@Uig
s@(<div[^>]*) id=(["']?)ads_[^\2]*\2@$1 class="msn_ads"@Uig
+s@(<div[^>]*) class=(["']?)sb_ads[^\2]*\2@$1 class="msn_ads"@Uig
s@(<a[^>]*href=\")http://g.msn.com/.*\?(http://.*)(&&DI=.*)(\")@$1$2$4@Ug
s@(<a[^>]*)gping=\".*\"@$1 title="URL cleaned up by Privoxy's msn filter"@Ug
s@(<a[^>]*href=\")http://g.msn.com/.*\?(http://.*)(&&DI=.*)(\")@$1$2$4@Ug
s@(<a[^>]*)gping=\".*\"@$1 title="URL cleaned up by Privoxy's msn filter"@Ug
@@
-830,6
+832,11
@@
s@^X-Privoxy-Control:.*@@i
#
# Revisions :
# $Log: default.filter,v $
#
# Revisions :
# $Log: default.filter,v $
+# Revision 1.65 2008/07/21 13:43:44 fabiankeil
+# Fix img-reorder regression introduced with my last commit.
+# Some tags were terminated too soon, letting the browser render
+# some of their arguments as text. Oops.
+#
# Revision 1.64 2008/07/12 15:49:09 fabiankeil
# - Don't let img-reorder touch width attributes
# that aren't followed by either whitespace or '>',
# Revision 1.64 2008/07/12 15:49:09 fabiankeil
# - Don't let img-reorder touch width attributes
# that aren't followed by either whitespace or '>',