Camino Only - Bug 362330: Adblocking update. Patch by Smokey Ardisson <alqahira@ardisson.org> r/sr=smfr

This commit is contained in:
stridey%gmail.com 2007-02-03 19:00:46 +00:00
parent e3c9c4c289
commit 75967c67a2

View File

@ -48,7 +48,6 @@ a:link[href*="/ad."] img,
a:link[href*="/ads."] img,
a:link[href*="/adclick/"] img,
a:link[href*="?banner"] img,
a:link[href*="=click"] img,
a:link[href*="clickurl="] img,
a:link[href*=".atwola."] img,
a:link[href*="spinbox."] img,
@ -99,6 +98,12 @@ a:link[href*="exclick."] img,
a:link[href*="adclick."] img,
a:link[href*="clickbank.net"] img,
a:link[href*=".ru4.com"] img,
a:link[href*=".burstnet.com"] img,
a:link[href*="adpeeps"] img,
a:link[href*="adbrite"] img,
a:link[class*="adText"],
a:link[class*="adHeadline"],
a:link[href*="hrtrak.net"] img,
embed[src*="/us.yimg.com/a/"],
embed[type="application/x-shockwave-flash"][src*="/ad."],
@ -112,7 +117,7 @@ embed[type="application/x-shockwave-flash"][src*="bluestreak"],
embed[type="application/x-shockwave-flash"][src*="adtech.de"],
embed[type="application/x-shockwave-flash"][src*=".falkag."],
embed[type="application/x-shockwave-flash"][src*="adt.m7z.net"],
embed[type="application/x-shockwave-flash"][src*="doubleclick.net"],
embed[type="application/x-shockwave-flash"][src^="http://ad."][src*="doubleclick.net"],
embed[type="application/x-shockwave-flash"][src*="2mdn.net"],
embed[type="application/x-shockwave-flash"][src*=".fastclick.net"],
embed[type="application/x-shockwave-flash"][src*="serving-sys.com"],
@ -167,6 +172,9 @@ embed[type="application/x-shockwave-flash"][src*="adsatt.espn.go.com"],
embed[type="application/x-shockwave-flash"][src*="blogsmithmedia.com"],
embed[type="application/x-shockwave-flash"][src*=".ru4.com"],
embed[type="application/x-shockwave-flash"][src*=".adjuggler.com"],
embed[type="application/x-shockwave-flash"][src*="lygo.com/ly/video/ad/"],
embed[type="application/x-shockwave-flash"][src*="hrtrak.net"],
embed[type="application/x-shockwave-flash"][src*="adbrite"],
img[src*="googlesyndication.com"],
img[src*=".doubleclick.net"],
@ -222,6 +230,10 @@ img[src*="static.fmpub.net/banners"],
img[src*="content.cpxinteractive.com"],
img[src*="righthandads"],
img[src*=".ru4.com"],
img[src*=".burstnet.com"],
img[src*="/images/advertising/"],
img[src*="hrtrak.net"],
img[src*=".tribalfusion.com"],
iframe[src*="/ad."],
iframe[src*="/ads."],
@ -301,6 +313,11 @@ iframe[src*="contextweb.com"],
iframe[src*="ads-rm.looksmart.com"],
iframe[src*=".ru4.com"],
iframe[src*=".kanoodle.com"],
iframe[src*="adpeeps"],
iframe[src*="adbrite"],
iframe[src*="hrtrak.net"],
iframe[src*="imageshack.us/doneCode.php"],
iframe[id*="tp_frame1"],
table#overtureLinksWrapper,
table.adbritetable,
@ -313,7 +330,6 @@ div#gB2,
div#gB3,
div.yschspns,
div#yschsec,
div#rh>div.rh,
div#sponsorsAd,
div#leaderboardAd,
div[id^="ads_"],
@ -338,16 +354,27 @@ div[id*="swf_skyscraper"],
div[id*="km_main_div"],
div#ad * object > embed[type="application/x-shockwave-flash"],
div[id*="adSpot"],
div[id*="StripAd"]
div[id*="StripAd"],
div[id*="konaLayers"],
div[id*="bannerDiv"],
div[class*="adPanel"],
div[id*="ad-wrap"],
div#textlinks>div[class*="sponsorship"],
div#topjobs>div[class*="sponsorship"],
div[id*="ad_links"]
{ display: none ! important }
@-moz-document domain(mail.google.com) {
div#rhc>div.rh {display: none ! important }
}
/* turn some false positives back off */
a:link[href*="download."] img,
a:link[href*="mozilla.org"] img,
a:link[href*="netflix.com/addtoqueue"] img,
a:link[href*="click.mp3"] img,
a:link[href*="linksynergy.com"] img[src*="apple.com"],
a:link[href*="linksynergy.com"] img[src*="phobos.apple.com"],
img[src*="wikipedia"],
img[src*="images.ucomics.com"],
img[src*="buttons.googlesyndication.com"],