gecko-dev/camino/resources/application/ad_blocking.css

150 строки
5.0 KiB
CSS
Исходник Обычный вид История

/*
* CSS rules to hide various ad-related images and Flash files,
* while avoiding too many false hits.
*
* Based on CSS by Joe Francis at http://www.floppymoose.com.
*
*/
a:link[href*="/ad."] img,
a:link[href*="/ads."] img,
a:link[href*="/a="] img,
a:link[href*="/adclick/"] img,
a:link[href*="?click"] 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,
a:link[href*="transfer.go"] img,
a:link[href*="adfarm"] img,
a:link[href*="adserver"] img,
a:link[href*="as-us.falkag.net"] img,
a:link[href*="as-eu.falkag.net"] img,
a:link[href*="rightmedia.net"] img,
a:link[href*="advertising.com"] img,
a:link[href*="mondomedia.com"] img,
a:link[href*="mediaplex.com"] img,
a:link[href*="yimg."] img,
a:link[href*="bluestreak"] img,
a:link[href*="doubleclick"] img,
a:link[href*="2mdn.net"] img,
a:link[href*="atdmt.com"] img,
a:link[href*="serving-sys.com"] img,
a:link[href*="linksynergy.com"] img,
a:link[href*="qksrv.net"] img,
a:link[href*="tribalfusion"] img,
a:link[href*="valueclick"] img,
a:link[href*="fastclick"] img,
a:link[href*="/rd."] img,
a:link[href*="/0AD"] img,
a:link[href*="trackoffer."] img,
a:link[href*="tracksponsor."] img,
a:link[href*="print2webcorp.com"] img,
a:link[href*="googlesyndication.com"] img,
a:link[href*="adquest3d.com"] img,
a:link[href*="/RealMedia/ads/"] img,
a:link[href*=".rd.yahoo.com"] img,
embed[type="application/x-shockwave-flash"][src*="/ad."],
embed[type="application/x-shockwave-flash"][src*="/ads."],
embed[type="application/x-shockwave-flash"][src*="/ad/"],
embed[type="application/x-shockwave-flash"][src*="/ads/"],
embed[type="application/x-shockwave-flash"][src*=".atwola.com"],
embed[type="application/x-shockwave-flash"][src*="mediaplex.com"],
embed[type="application/x-shockwave-flash"][src*="yimg."],
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.net"],
embed[type="application/x-shockwave-flash"][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"],
embed[type="application/x-shockwave-flash"][src*="atdmt.com"],
embed[type="application/x-shockwave-flash"][src*="linksynergy.com"],
embed[type="application/x-shockwave-flash"][src*="adsrv"],
embed[type="application/x-shockwave-flash"][src*="adserver"],
embed[type="application/x-shockwave-flash"][src*="adclick"],
embed[type="application/x-shockwave-flash"][src*="adsfile."],
embed[type="application/x-shockwave-flash"][src*="adfshow?"],
embed[type="application/x-shockwave-flash"][src*="adimg"],
embed[type="application/x-shockwave-flash"][src*="/webad/"],
embed[type="application/x-shockwave-flash"][src*="?clickthru"],
embed[type="application/x-shockwave-flash"][src*="/RealMedia/ads/"],
embed[type="application/x-shockwave-flash"][src*="servedby.advertising.com"],
embed[type="application/x-shockwave-flash"][src*=".adbutler.de"],
embed[type="application/x-shockwave-flash"][src*="ad.tomshardware.com"],
embed[type="application/x-shockwave-flash"][src*="ad4.sina.com.cn"],
embed[type="application/x-shockwave-flash"][src*=".specificmedia.com"],
object[value*="?clickTAG"],
img[src*="googlesyndication.com"],
img[src*="mediaplex.com"],
img[src*="serving-sys.com"],
img[src*="/side_ads/"],
img[src*="/ads/"],
img[src*="/ad."],
img[src*="/ad/"],
img[src*="/adpics/"],
img[src*="/ads."],
img[src*="/adimages/"],
img[src*="adsfile."],
img[src*="/adz/"],
img[src*="Editorial_Promos"],
img[src*="/toms_skyscraper_"],
img[src*="yimg."],
img[src*="ad4.sina.com.cn"],
img[src*=".ultramercial.com"],
iframe[src*="/ad."],
iframe[src*="/ads."],
iframe[src*="/a="],
iframe[src*="?click"],
iframe[src*="?banner"],
iframe[src*="_Banner"],
iframe[src*="BET365"],
iframe[src*="=click"],
iframe[src*="clickurl="],
iframe[src*="googlesyndication"],
iframe[src*=".atwola."],
iframe[src*="spinbox."],
iframe[src*="transfer.go"],
iframe[src*="adfarm"],
iframe[src*="adserver"],
iframe[src*="falkag.net"],
iframe[src*="rightmedia.net"],
iframe[src*="advertising.com"],
iframe[src*="atdmt.com"],
iframe[src*="linksynergy.com"],
iframe[src*="mondomedia.com"],
iframe[src*="mediaplex.com"],
iframe[src*="bluestreak"],
iframe[src*="doubleclick"],
iframe[src*="2mdn.net"],
iframe[src*="serving-sys.com"],
iframe[src*="qksrv.net"],
iframe[src*="tribalfusion"],
iframe[src*="valueclick"],
iframe[src*="fastclick"],
iframe[src*="/rd."],
iframe[src*="/0ad"],
iframe[src*="trackoffer."],
iframe[src*="tracksponsor."],
2005-08-28 04:45:13 +04:00
iframe[src*="bridgetrack.com"],
table#overtureLinksWrapper,
2005-08-28 04:45:13 +04:00
div#omniture
2005-08-28 04:45:13 +04:00
{ 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
{ display: inline ! important }
iframe[src*="mozilla.org"]
{ display: inline ! important }