logo       

current default.filter,1.52,1.53: msg#00063

web.privoxy.cvs

Subject: current default.filter,1.52,1.53

Update of /cvsroot/ijbswa/current
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv11210

Modified Files:
default.filter
Log Message:
- Lo and behold, the CSS fix for the MSN buttons is no longer necessary.
- Add some new selectors the msn filter should hide.
- Add the two yahoo selectors Lee reported in #1856574.
- Add comments that the width limitation fixes stopped
working for the msn and yahoo filter.


Index: default.filter
===================================================================
RCS file: /cvsroot/ijbswa/current/default.filter,v
retrieving revision 1.52
retrieving revision 1.53
diff -u -d -r1.52 -r1.53
--- default.filter 27 Nov 2007 18:35:48 -0000 1.52
+++ default.filter 23 Dec 2007 15:48:12 -0000 1.53
@@ -589,6 +589,7 @@

#################################################################################
#
# yahoo: CSS-based block for Yahoo text ads. Also removes a width limitation.
+# XXX: the width limitation part is currently broken.
#

#################################################################################
FILTER: yahoo CSS-based block for Yahoo text ads. Also removes a width
limitation.
@@ -596,8 +597,8 @@
s@</head>@\n<style type="text/css">\n\
/* Style sheet inserted by Privoxy's yahoo filter. */\n\
\#symadbn, \#ymadbn, .yschbox, .yschhd, .bbox, \#yschsec, \#sec,\
- \#yschanswr, .yschftad,\ .yschspn, .yschspns, \#ygrp-sponsored-links,\
- \#ks-ypn-ads {display: none !important;}\n\
+ \#yschanswr, .yschftad, .yschspn, .yschspns, \#ygrp-sponsored-links,\
+ \#ks-ypn-ads, .ad, \#ygrp-vital {display: none !important;}\n\
\#yschpri, \#yschweb {width: 100% !important; max-width: 100% !important;}\n\
\#yschqcon, \#yschtg {width: auto !important; /* No useless horizontal
scrollbar please */}\n\
</style>\n$0@
@@ -606,31 +607,25 @@
#
# msn: CSS-based block for MSN text ads. Also removes tracking URLs
# and a width limitation.
+# XXX: the width limitation part is currently broken.
#

#################################################################################
FILTER: msn CSS-based block for MSN text ads. Also removes tracking URLs and a
width limitation.

s@</head>@<style type="text/css">\n\
/* Style sheet inserted by Privoxy's msn filter. */\n\
- .msn_ads {display: none !important;}\n\
- \#results, .flank, .results_area_flank, .results_area_stroke, .SearchSection
.not\
- {width: 99% /*!important*/; min-width: 99% !important;\
+ .msn_ads, \#at, \#ar {display: none !important;}\n\
+ \#results, .flank, .results_area_flank, .results_area_stroke,\n\
+ \#results_area, .SearchSection, .not, .sc_rslth1\n\
+.content, \#sw_foot, \#bf, \#sw_content, \#sidebar, \#pag\n\
+ {width: 99% !important; min-width: 99% !important;\n\
max-width: 100% !important; /* width:100% sometimes causes horizontal
scrollbars */}\n\
- /* Make continue links harder to miss */\n\
- \#pagination_bottom a {padding: .3em .5em .3em .5em; border: 1px solid
\#e6e6e6;}\n\
- \#pagination_bottom li, \#pagination_bottom li .selected, li .nextPage \
- {margin: 0 !important; cursor: auto; border: none; padding:.1em;}\n\
- \#pagination_bottom li .prevPage {padding-right: 1.5em !important;}\n\
- \#pagination_bottom li .selected {border: none;}\n\
- .selected a {background-color: \#d2eaf6; border: 1px solid \#b7d8ee;}\n\
/* Remove "suggestions". They are next to worthless but partly overlap with
the search results */\n\
- .suggestion, \#nys_right {clear: both; display:none;}\n\
+ .suggestion, \#nys_right, \#nys {clear: both; display:none;}\n\
</style>\n$0@
s@(<div[^>]*) id=(["']?)ads_[^\2]*\2@$1 class="msn_ads"@Uig

s@(<a[^>]*href=\")http://g.msn.com/.*\?(http://.*)(&amp;&amp;DI=.*)(\")@$1$2$4@Ug
s@(<a[^>]*)gping=\".*\"@$1 title="URL cleaned up by Privoxy's msn filter"@Ug
-s@<div id=\"ar\">(<h2>Sponsored sites</h2>)@<div class="msn_ads">$1@
-s@(</script><div) id=\"at\"@$1 class="msn_ads"@


#################################################################################
#
@@ -831,6 +826,13 @@
#
# Revisions :
# $Log$
+# Revision 1.53 2007/12/23 15:48:12 fabiankeil
+# - Lo and behold, the CSS fix for the MSN buttons is no longer necessary.
+# - Add some new selectors the msn filter should hide.
+# - Add the two yahoo selectors Lee reported in #1856574.
+# - Add comments that the width limitation fixes stopped
+# working for the msn and yahoo filter.
+#
# Revision 1.52 2007/11/27 18:35:48 fabiankeil
# Update CSS for the yahoo filter.
#


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise