X-Git-Url: http://www.privoxy.org/gitweb/?p=privoxy.git;a=blobdiff_plain;f=default.filter;h=fc9a6807ac810d135d0a35c3b23ea24324eaea5b;hp=c1b313b5255acee98d540edc836654fc263c79ba;hb=97818dde6598d1228974d8c778622e6fd3ead29e;hpb=9d1cb2b5fe25f9e799077e0cc88d6982a0e39df1
diff --git a/default.filter b/default.filter
index c1b313b5..fc9a6807 100644
--- a/default.filter
+++ b/default.filter
@@ -2,7 +2,7 @@
#
# File : $Source: /cvsroot/ijbswa/current/default.filter,v $
#
-# $Id: default.filter,v 1.30 2006/10/18 12:36:50 fabiankeil Exp $
+# $Id: default.filter,v 1.32 2006/11/10 18:04:04 fabiankeil Exp $
#
# Purpose : Rules to process the content of web pages
#
@@ -282,8 +282,7 @@ s@\1\s]*?(?:adclick|atwola\.com/(?:link|redir)|double
#################################################################################
FILTER: webbugs Squish WebBugs (1x1 invisible GIFs used for user tracking)
-s@]*\s(?:width|height)\s*=\s*['"]?[01](?=\D)[^>]*\s(?:width|height)\s*=\s*['"]?[01](?=\D)[^>]*?>@@siUg
+s@]*\s(?:width|height)\s*=\s*['"]?[01](?=\D)[^>]*\s(?:width|height)\s*=\s*['"]?[01](?=\D)[^>]*?>@@siUg
#################################################################################
@@ -390,7 +389,7 @@ FILTER: fun Text replacements for subversive browsing fun!
# SCNR
#
-s/microsoft(?!.com)/MicroSuck/ig
+s/microsoft(?!.[^\s])/MicroSuck/ig
# Buzzword Bingo (example for extended regex syntax)
#
@@ -502,8 +501,8 @@ s| and <area> tags.
-s@(]*?)ping=(['"]?)([^"'>]+)\2([>\s]?)@\
-PING!\n$1$4@ig
+s@(]*?)\sping=(['"]?)([^"'>]+)\2([>\s]?)@\
+PING!\n$1$4@ig
#################################################################################
#
@@ -532,11 +531,13 @@ s@(
@\n$0@
+ \#symadbn, \#ymadbn, .yschbox, \#yschsec, .yschhd, \#yschanswr, .yschftad,\
+ .yschspn, .yschspns, \#ygrp-sponsored-links {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\
+\n$0@
#################################################################################
#
@@ -548,9 +549,19 @@ FILTER: msn CSS-based block for MSN text ads. Also removes tracking URLs and a w
s@@\n$0@
+ \#results, .flank, .results_area_flank, .results_area_stroke, .SearchSection .not\
+ {width: 99% /*!important*/; min-width: 99% !important;\
+ 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\
+ \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
@@ -643,6 +654,25 @@ s@^((?:Referer|Host):\s*(?:https?://)?[^/]*)\.[^\./]*?\.exit@$1@i
#
# Revisions :
# $Log: default.filter,v $
+# Revision 1.32 2006/11/10 18:04:04 fabiankeil
+# Have no-ping print the ping warning in red.
+#
+# Modified yahoo to keep in sync with recent
+# CSS changes and to suppress a useless horizontal
+# scrollbar.
+#
+# msn now makes sure that the continue-link boxes
+# act as links (the original CSS just changes the cursor).
+#
+# Changed fun filter regex to leave microsoft links alone.
+# Fixes BR 1019996.
+#
+# Revision 1.31 2006/10/21 13:12:28 fabiankeil
+# Added no-ping and hide-tor-exit-notation.
+#
+# Adjusted jumping-windows to break less.
+# Fixes BR 1146134.
+#
# Revision 1.30 2006/10/18 12:36:50 fabiankeil
# google filter now cleans Google groups as well.
#
|