Subversion Repositories Kolibri OS

Rev

Blame | Last modification | View Log | Download | RSS feed

  1. /* From http://texturizer.net/firefox/adblock.html */
  2.  
  3. /* Block Ads v.2004-06-12 by Neil Jenkins
  4.    Portions of this ruleset are derived from the ad blocking css by Joe Francis at:
  5.    http://www.floppymoose.com/
  6.    Some code also contributed by Mike Hokenson:
  7.    http://www.gozer.org/mozilla/ad_blocking
  8. */
  9.  
  10. iframe[src*="/ad-"],
  11. iframe[src*="/ad."],
  12. iframe[src*="/ad/"],
  13. iframe[src*="/ad_"],
  14. iframe[src*="/adframe"],
  15. iframe[src*="/ads"],
  16. iframe[src*="/adv"],
  17. iframe[src*="/adx"],
  18. iframe[src*=".ad"],
  19. iframe[src*="_Banner"],
  20. iframe[src*="BET365"],
  21. iframe[src*="/click"],
  22. iframe[src*="?click"],
  23. iframe[src*="googlesyndication"],
  24. iframe[src*="promos"],
  25. iframe[name="bsadframe"],
  26. iframe[id="adFrame"],
  27. iframe[id="splashFrame"],
  28. img[src*="/ad-"],
  29. img[src*="/ad."],
  30. img[src*="/ad/"],
  31. img[src*="/ad_"],
  32. img[src*="/ads"],
  33. img[src*="/adv"],
  34. img[src*="/adx"],
  35. img[src*=".ad"],
  36. img[src*="_ad_"],
  37. img[src*="/click"],
  38. img[src*="?click"],
  39. img[src*="Editorial_Promos"],
  40. img[src*="/toms_skyscraper_"],
  41. img[src$="images/logos/amazon_international.gif"],
  42. img[src*="freshmeat.net/button.gif"],
  43. img[src*="pic.geocities.com/images/"],
  44. img[src*="i.imdb.com/Vpics/"],
  45. img[src*="i.imdb.com/Photos/CMSIcons"],
  46. img[src*="i.imdb.com/Icons/apix/"],
  47. img[src*="i.imdb.com/Icons/kpix/"],
  48. img[src*="i.imdb.com/apix/"],
  49. img[src*="sportsbybrooks.com/farkbutton.gif"],
  50. img[alt*="advert"],
  51. img[alt*="Click Here To Visit Our Sponsor"],
  52. img[alt*="Sponsored Links"],
  53. img[name="fixedSpImg"],
  54. a:link[href*="/ad-"] img,
  55. a:link[href*="/ad."] img,
  56. a:link[href*="/ad/"] img,
  57. a:link[href*="/ad_"] img,
  58. a:link[href*="/ads"] img,
  59. a:link[href*="/adv"] img,
  60. a:link[href*="/adx"] img,
  61. a:link[href*=".ad"] img,
  62. a:link[href*="/banner"] img,
  63. a:link[href*="/click.cgi"] img,
  64. a:link[href*="/clickcgi?"] img,
  65. a:link[href*="/clickover"] img,
  66. a:link[href*="/clickthr"] img,
  67. a:link[href*="/click-"] img,
  68. a:link[href*="=click"] img,
  69. a:link[href*="?click"] img,
  70. a:link[href*="/A="] img,
  71. table table table[width="346"][height="280"],
  72. table[class="metatable"],
  73. table[id="RefAd"],
  74. table[cellspacing="0"][width="160"][height="329"][bgcolor="#000000"],
  75. table[cellpadding="5"][width="150"][style="border: 1px dashed rgb(221, 170, 170); background-color: rgb(236, 248, 255);"],
  76. table[border="0"][height="600"][width="120"],
  77. table[height="90"][cellspacing="0"][cellpadding="0"][width="728"][border="0"],
  78. table[border="0"][cellpadding="3"][cellspacing="0"][height="40"][width="100%"],
  79. table[border="0"][cellpadding="0"][cellspacing="4"][align="right"][width="20%"],
  80. table[border="2"] td[valign="top"][bgcolor="#ffffff"] table[width="138"],
  81. table[border="0"][cellpadding="1"][cellspacing="0"][width="626"][bgcolor="#6699cc"],
  82. table[bordercolor="red"][height="225"][cellspacing="0"][cellpadding="0"][width="190"][bgcolor="white"][border="0"],
  83. table[width="336"][border="0"][cellspacing="0"][cellpadding="0"][align="right"][style="margin-left: 10px; margin-bottom: 10px;"],
  84. table[width="770"][border="0"] tr[valign="top"]
  85. td[width="160"],
  86. td[class="cnnNavAd"],
  87. td[class="RHBarBody"],
  88. td[class="sl-table"],
  89. td[style="border-bottom: 1px solid rgb(204, 204, 204); padding: 7px 3px; background-color: rgb(255, 254, 249);"],
  90. td span[class="aoltextad"],
  91. form[name="frmLargeForm"],
  92. form[action*="click_lx.cgi"],
  93. form[action^="http://rd.yahoo.com/"],
  94. form[action=""][name$="SoapCity"],
  95. form[action=""][name^="728x90"],
  96. form[action=""][name^="300x250"],
  97. form[method="get"][action*="martindale"][name="MDH"],
  98. embed[type="application/x-shockwave-flash"][src*="_Banner"],
  99. embed[type="application/x-shockwave-flash"][src*="/ad"],
  100. embed[type="application/x-shockwave-flash"][href*="/ad"],
  101. embed[type="application/x-shockwave-flash"][src*=".ad"],
  102. embed[type="application/x-shockwave-flash"][href*=".ad"],
  103. embed[type="application/x-shockwave-flash"][src*="?click"],
  104. embed[type="application/x-shockwave-flash"][href*="?click"],
  105. embed[type="application/x-shockwave-flash"][src*="/click"],
  106. embed[type="application/x-shockwave-flash"][href*="/click"],
  107. embed[type="application/x-shockwave-flash"][href*="promos"],
  108. embed[type="application/x-shockwave-flash"][href*="=click"],
  109. embed[type="application/x-shockwave-flash"][href*="redirect"],
  110. embed[type="application/x-shockwave-flash"][href*="/A="],
  111. embed[type="application/x-shockwave-flash"][name*="advert"],
  112. embed[type="application/x-shockwave-flash"][name*="banner"],
  113. div[id="adstrip"],
  114. div[id*="advert"],
  115. div[id="dropin"],
  116. div[id="dwindow"],
  117. div[id="dcv_EchangeLay"],
  118. div[id="mntl"],
  119. div[id*="popup"],
  120. div[id="quack"],
  121. div[id="splashLayer"],
  122. div[id*="sponsor"],
  123. div[id="yschsec"],
  124. div[class="ovt"],
  125. div#contextualLinks,
  126. div[style="border: 1px solid rgb(221, 221, 221); padding: 5px; background-color: rgb(255, 255, 255);"],
  127. object[id="widgeth"],
  128. *[class="ad"],
  129. *[class*="eSext"],
  130. *[name*="klipad"],
  131. *[style*="/ads/"],
  132. *[id*="popover_"],
  133. *[src*="120x80"],
  134. *[src*="?ad"],
  135. *[src*="-ad-"],
  136. *[src*="/adimage"],
  137. *[src*="/adimg"],
  138. *[src*="advert"],
  139. *[src*="=click"],
  140. *[src*="banners."],
  141. *[src*="banner_ads"],
  142. *[src*="/images/dinkus/more-arrow-lo.gif"],
  143. *[src*="/javaImages/ec/"],
  144. *[src*="/offer"],
  145. *[src*="/puffboxes/"],
  146. *[src*="/sponsors/"],
  147. *[src*="_sponsor_"],
  148. *[src*="/us.yimg.com/a/ya"],
  149. *[src*=".adbutler.de"],
  150. *[src*=".nedstatbasic.net"],
  151. *[src*=".tradedoubler.com"],
  152. *[src*=".travelocity./Sponsor_gifs/"],
  153. *[src*="a.consumer.net"],
  154. *[src*="bannermania.nom.pl"],
  155. *[src*="cash4banner.com"],
  156. *[src*="crazypopups.com"],
  157. *[src*="hit-now.com"],
  158. *[src*="hitbox.com"],
  159. *[src*="img.thebugs.ws"],
  160. *[src*="kinghost.com/ban/"],
  161. *[src*="klipmart"],
  162. *[src*="popupad.net/ats/"],
  163. *[src*="public"][src*="ad"],
  164. *[src*="/publicidad/"],
  165. *[src*="qkimg.net"],
  166. *[src*="qksrv.net"],
  167. *[src*="rcm-images.amazon.com"],
  168. *[src*="rcm.amazon.com"],
  169. *[src*="salon.com/Creatives"],
  170. *[src*="sexcounter."],
  171. *[src*="sideads/"],
  172. *[src*="statse.webtrendslive.com"],
  173. *[href*="logging.to"],
  174. *[href*="/referral/"],
  175. *[href*="tryaol"],
  176. *[href*="websponsors"],
  177. *[src*="banman.asp"],
  178. *[href*="banman.asp"],
  179. *[src*="bannerman"],
  180. *[href*="bannerman"],
  181. *[src*="?banner"],
  182. *[href*="?banner"],
  183. *[src*="/banner/"],
  184. *[href*="/banner/"],
  185. *[src*="/jump/"],
  186. *[href*="/jump/"],
  187. *[src*="adfarm"],
  188. *[href*="adfarm"],
  189. *[src*="advertising.com"],
  190. *[href*="advertising.com"],
  191. *[src*="ar.atwola.com"],
  192. *[href*="ar.atwola.com"],
  193. *[src*="atdmt.com"],
  194. *[href*="atdmt.com"],
  195. *[src*="bluestreak.com"],
  196. *[href*="bluestreak.com"],
  197. *[src*="clickxchange.com"],
  198. *[href*="clickxchange.com"],
  199. *[src*="doubleclick"],
  200. *[href*="doubleclick"],
  201. *[src*="falkag.net"],
  202. *[href*="falkag.net"],
  203. *[src*="fastclick.com"],
  204. *[href*="fastclick.com"],
  205. *[src*="mediaplex"],
  206. *[href*="mediaplex"],
  207. *[src*="netdirect.nl"],
  208. *[href*="netdirect.nl"],
  209. *[src*="spinbox."],
  210. *[href*="spinbox."],
  211. *[src*="tradedoubler.com"],
  212. *[href*="tradedoubler.com"],
  213. *[src*="transfer.go"],
  214. *[href*="transfer.go"],
  215. *[src*=".tribalfusion"],
  216. *[href*=".tribalfusion"],
  217. *[src*="valueclick"],
  218. *[href*="valueclick"],
  219. *[src*="http://216.92.211.171/"],
  220. *[href*="http://216.92.211.171/"],
  221. *[src*="http://216.92.21.16/"],
  222. *[href*="http://216.92.21.16/"] {
  223.         display: none /*!important*/;
  224. }
  225.  
  226. img[src*=".advance"],
  227. img[src*="/click_"],
  228. img[src*="/cnn/images/clickability/"],
  229. img[src*="/logo2.m"],
  230. img[src$="/banners/com000.jpg"],
  231. a:link[href*=".add"] img,
  232. a:link[href*="admin"] img,
  233. a:link[href*="adobe"] img,
  234. a:link[href*=".adp"] img,
  235. a:link[href*="/advance"] img,
  236. a:link[href*="click.mp3"] img,
  237. a:link[href*="/imgres?imgurl="] img,
  238. a:link[href*=":head"] img,
  239. a:link[href*="http://nettracker."] img,
  240. embed[type="application/x-shockwave-flash"][src*="gallery"] {
  241.         display: inline /*!important*/;
  242. }
  243.