RU Max4_ABP_Fix CSS

Дополнение, исправляющее работу Adblock Plus для отдельных сайтов. Возвращаем функционал Ad-Охотника в Maxthon4. Спасибо lainverse за идею.

当前为 2015-07-11 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name RU Max4_ABP_Fix CSS
  3. // @namespace https://greasyfork.org
  4. // @description Дополнение, исправляющее работу Adblock Plus для отдельных сайтов. Возвращаем функционал Ad-Охотника в Maxthon4. Спасибо lainverse за идею.
  5. // @author lainverse & ALeXkRU
  6. // @license CC BY-SA
  7. // @homepage https://greasyfork.org/ru/scripts/8225-ru-max4-abp-fix-css
  8. // @run-at document-start
  9. // @version 0.20150711070015
  10. // @grant GM_addStyle
  11. // ==/UserScript==
  12. (function() {var css = "";
  13. css += [
  14. "@namespace url(http://www.w3.org/1999/xhtml);",
  15. "",
  16. "/* Фильтры фоновых картинок */"
  17. ].join("\n");
  18. if (false || (document.domain == "ru-board.com" || document.domain.substring(document.domain.indexOf(".ru-board.com") + 1) == "ru-board.com"))
  19. css += [
  20. // правка структуры Ru-Board
  21. "span.dats{position:relative!important;top: 10px!important;}",
  22. // !! скрываем рекламные ссылки (СПАМ) в сообщениях
  23. " a[href^=\"http://forum.ru-board.com/\"][href$=\"/\"][target=\"_blank\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  24. // !! ======= ПРАВКА СТРУКТУРЫ. вынесено в отдельный скрипт. См. Ru-Board_Extrim_Max4_ABP_Fix-CSS =======
  25. ].join("\n");
  26. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru") || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua") || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net") || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru") || (document.domain == "livejournal.com" || document.domain.substring(document.domain.indexOf(".livejournal.com") + 1) == "livejournal.com") || (document.domain == "newstudio.tv" || document.domain.substring(document.domain.indexOf(".newstudio.tv") + 1) == "newstudio.tv") || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru") || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com") || (document.domain == "zakon.kz" || document.domain.substring(document.domain.indexOf(".zakon.kz") + 1) == "zakon.kz"))
  27. css += " html>body {background-image:none!important}";
  28. if (false || (document.domain == "kronverkcinema.ua" || document.domain.substring(document.domain.indexOf(".kronverkcinema.ua") + 1) == "kronverkcinema.ua") || (document.domain == "moskva.fm" || document.domain.substring(document.domain.indexOf(".moskva.fm") + 1) == "moskva.fm") || (document.domain == "newstudio.tv" || document.domain.substring(document.domain.indexOf(".newstudio.tv") + 1) == "newstudio.tv") || (document.domain == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info"))
  29. css += " body {padding-top:0!important}";
  30. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru") || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua") || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv") || (document.domain == "prophotos.ru" || document.domain.substring(document.domain.indexOf(".prophotos.ru") + 1) == "prophotos.ru") || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru") || (document.domain == "unionpeer.org" || document.domain.substring(document.domain.indexOf(".unionpeer.org") + 1) == "unionpeer.org"))
  31. css += " html>body {padding:0!important}";
  32. if (false || (document.domain == "101.ru" || document.domain.substring(document.domain.indexOf(".101.ru") + 1) == "101.ru"))
  33. css += " #layout {background:none!important}";
  34. if (false || (document.domain == "21forum.ru" || document.domain.substring(document.domain.indexOf(".21forum.ru") + 1) == "21forum.ru") || (document.domain == "forum.na-svyazi.ru" || document.domain.substring(document.domain.indexOf(".forum.na-svyazi.ru") + 1) == "forum.na-svyazi.ru") || (document.domain == "forum.zarulem.ws" || document.domain.substring(document.domain.indexOf(".forum.zarulem.ws") + 1) == "forum.zarulem.ws"))
  35. css += [
  36. "TD[height=\"70\"][style],#user2s[height=\"71\"],",
  37. " #userlinks[height=\"70\"] {display:none!important}"
  38. ].join("\n");
  39. if (false || (document.domain == "4pda.ru" || document.domain.substring(document.domain.indexOf(".4pda.ru") + 1) == "4pda.ru"))
  40. css += [
  41. "#main {background-image:none!important}",
  42. " .brand-page {visibility:hidden!important;height:0!important}"
  43. ].join("\n");
  44. if (false || (document.domain == "adultmult.tv" || document.domain.substring(document.domain.indexOf(".adultmult.tv") + 1) == "adultmult.tv"))
  45. css += ".adsbygoogle {display:none!important}";
  46. if (false || (document.domain == "afisha.ru" || document.domain.substring(document.domain.indexOf(".afisha.ru") + 1) == "afisha.ru"))
  47. css += [
  48. ".page_block_content {width:100%!important}",
  49. " .page_block_adv {background:none!important}"
  50. ].join("\n");
  51. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  52. css += " #new_logo_helper01 {top:0!important}";
  53. if (false || (document.domain == "animevost.org" || document.domain.substring(document.domain.indexOf(".animevost.org") + 1) == "animevost.org"))
  54. css += [
  55. ".headbgnew {background-image:none!important;height:auto!important}",
  56. " .headbgnew > .menu {top:0px!important}",
  57. " .headbgnew > .menu .sar {bottom:auto!important;top:50px!important;z-index:100!important;}"
  58. ].join("\n");
  59. if (false || (document.domain == "anistar.ru" || document.domain.substring(document.domain.indexOf(".anistar.ru") + 1) == "anistar.ru"))
  60. css += [
  61. " div[class^=\"brend\"],a[href^=\"/location2\"],.news-fixed {display:none!important}",
  62. " .wrapper.width1200 {margin-top:0}",
  63. " .drowmenu {z-index:2}",
  64. " .block-janrs > ul > li > a > span {z-index:1}"
  65. ].join("\n");
  66. if (false || (document.domain == "anti-malware.ru" || document.domain.substring(document.domain.indexOf(".anti-malware.ru") + 1) == "anti-malware.ru"))
  67. css += "#header-bg-enf {margin-top:0!important}";
  68. if (false || (document.domain == "binmovie.org" || document.domain.substring(document.domain.indexOf(".binmovie.org") + 1) == "binmovie.org"))
  69. css += " #content {top:0!important;left:0!important;width:100%!important;margin-left:0!important}";
  70. if (false || (document.domain == "bvedomosti.ru" || document.domain.substring(document.domain.indexOf(".bvedomosti.ru") + 1) == "bvedomosti.ru"))
  71. css += [
  72. ".art-Header {display:none!important}",
  73. " #art-main {background-image:none!important}",
  74. " .bg-top-menu {top:0!important}"
  75. ].join("\n");
  76. if (false || (document.domain == "carambatv.ru" || document.domain.substring(document.domain.indexOf(".carambatv.ru") + 1) == "carambatv.ru"))
  77. css += " .content {background:none!important;padding:0!important}";
  78. if (false || (document.domain == "cars.ru" || document.domain.substring(document.domain.indexOf(".cars.ru") + 1) == "cars.ru"))
  79. css += [
  80. "#main {margin-top:0!important}",
  81. " A[href*=\"/adclick.php?bannerid=\"] {display:none!important}"
  82. ].join("\n");
  83. if (false || (document.domain == "chatovod.ru" || document.domain.substring(document.domain.indexOf(".chatovod.ru") + 1) == "chatovod.ru"))
  84. css += " .obl {position:fixed!important;top:-100px!important}";
  85. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru"))
  86. css += " body {background:black!important}";
  87. if (false || (document.domain == "drive.ru" || document.domain.substring(document.domain.indexOf(".drive.ru") + 1) == "drive.ru"))
  88. css += "body>div {background:none!important;padding-top:0!important;}";
  89. if (false || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua"))
  90. css += [
  91. " body {cursor:auto!important}",
  92. " body>div[align=\"center\"] {width:auto!important;margin:0!important}"
  93. ].join("\n");
  94. if (false || (document.domain == "firepic.org" || document.domain.substring(document.domain.indexOf(".firepic.org") + 1) == "firepic.org"))
  95. css += [
  96. "body {padding:0!important;background-image:none!important}",
  97. " .container,.row {max-width:none!important}",
  98. " .container {width:100%!important}",
  99. " .row {padding:30px!important;margin:0px!important}",
  100. " .span12 {clear:both}"
  101. ].join("\n");
  102. if (false || (document.domain == "fishki.net" || document.domain.substring(document.domain.indexOf(".fishki.net") + 1) == "fishki.net"))
  103. css += "#container {cursor:auto!important}";
  104. if (false || (document.domain == "free-torrents.org" || document.domain.substring(document.domain.indexOf(".free-torrents.org") + 1) == "free-torrents.org"))
  105. css += [
  106. "#sidebar2 {padding-top:0!important}",
  107. " #main-wrapper {width:100%!important;top:0!important}"
  108. ].join("\n");
  109. if (false || (document.domain == "gamebomb.ru" || document.domain.substring(document.domain.indexOf(".gamebomb.ru") + 1) == "gamebomb.ru"))
  110. css += [
  111. "#ssdfsd,.dfgdjkfgh{background-image:none!important}",
  112. " #content{padding-top:0!important;margin-top:0!important}"
  113. ].join("\n");
  114. if (false || (document.domain == "gamer-info.com" || document.domain.substring(document.domain.indexOf(".gamer-info.com") + 1) == "gamer-info.com"))
  115. css += "#all-content-container {padding:0!important}";
  116. if (false || (document.domain == "gidonline.club" || document.domain.substring(document.domain.indexOf(".gidonline.club") + 1) == "gidonline.club"))
  117. css += "#headerline {margin-top:0!important}";
  118. if (false || (document.domain == "gidonlinekino.com" || document.domain.substring(document.domain.indexOf(".gidonlinekino.com") + 1) == "gidonlinekino.com"))
  119. css += " #headerline {margin-top:0!important}";
  120. if (false || (document.domain == "goclips.tv" || document.domain.substring(document.domain.indexOf(".goclips.tv") + 1) == "goclips.tv"))
  121. css += " .video_content {height:auto!important}";
  122. if (false || (document.domain == "goha.ru" || document.domain.substring(document.domain.indexOf(".goha.ru") + 1) == "goha.ru"))
  123. css += [
  124. "#full-brand-footer>div[style*=\"fixed\"], #head-tuppy>a {display:none!important}",
  125. " #full-brand {background-image:none!important}",
  126. " #head-tuppy {height: 7px!important}"
  127. ].join("\n");
  128. if (false || (document.domain == "gotps3.ru" || document.domain.substring(document.domain.indexOf(".gotps3.ru") + 1) == "gotps3.ru"))
  129. css += "#Page {margin-top:0!important}";
  130. if (false || (document.domain == "gstv.ru" || document.domain.substring(document.domain.indexOf(".gstv.ru") + 1) == "gstv.ru"))
  131. css += ".page-content {margin-top:0!important}";
  132. if (false || (document.domain == "hdfilms.tv" || document.domain.substring(document.domain.indexOf(".hdfilms.tv") + 1) == "hdfilms.tv"))
  133. css += " #subheader{padding-top:1px!important}";
  134. if (false || (document.domain == "hi-tech.mail.ru" || document.domain.substring(document.domain.indexOf(".hi-tech.mail.ru") + 1) == "hi-tech.mail.ru"))
  135. css += "#portal-menu, .header-banner {margin:0!important}";
  136. if (false || (document.domain == "iphones.ru" || document.domain.substring(document.domain.indexOf(".iphones.ru") + 1) == "iphones.ru"))
  137. css += [
  138. "#wrap {filter:none!important}",
  139. " body > div[style^=\"background-color:\"] {display:none!important}"
  140. ].join("\n");
  141. if (false || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv"))
  142. css += " #main {width: auto!important}";
  143. if (false || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru"))
  144. css += [
  145. " body{background:none!important}",
  146. " body{background:#C0C0C0!important}",
  147. " html[style] {background-image: url()!important;}",
  148. " #top .png_block, #GoUpClickZone{background:url() !important;}",
  149. " #top {height:100px!important}",
  150. " .master {top:1px!important}",
  151. " .menu {top:1px!important}",
  152. // !! выравниваем секцию поиск:
  153. " #top_form {top: 2px!important;}",
  154. " #top .png_block {top: 2px!important;}"
  155. ].join("\n");
  156. if (false || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net"))
  157. css += " body.brending {padding-top:180px!important}";
  158. if (false || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru"))
  159. css += " #dynamic-content{margin-top:0!important}";
  160. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  161. css += [
  162. "body{background:#c0c0c0!important}",
  163. " div>div>a>div[style*=\"height\"] {display:none!important}",
  164. " .prof,.user_menu_link,.wh {color:white!important}",
  165. " .prof,.logo {height:80px!important}"
  166. ].join("\n");
  167. if (false || (document.domain == "maxpark.com" || document.domain.substring(document.domain.indexOf(".maxpark.com") + 1) == "maxpark.com") || (document.domain == "newsland.com" || document.domain.substring(document.domain.indexOf(".newsland.com") + 1) == "newsland.com"))
  168. css += " .b-branding__wrap {padding:0!important}";
  169. if (false || (document.domain == "my-cinema.net" || document.domain.substring(document.domain.indexOf(".my-cinema.net") + 1) == "my-cinema.net"))
  170. css += " #main-wrapper {top:0!important}";
  171. if (false || (document.domain == "noob-club.ru" || document.domain.substring(document.domain.indexOf(".noob-club.ru") + 1) == "noob-club.ru"))
  172. css += "#header-new {margin-bottom:0!important}";
  173. if (false || (document.domain == "online.anidub.com" || document.domain.substring(document.domain.indexOf(".online.anidub.com") + 1) == "online.anidub.com"))
  174. css += " .background {background:none!important}";
  175. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  176. css += [
  177. "#mainplace>table>tbody>tr:first-child,.needblock {display:none!important}",
  178. " #wrapper {width:100%!important}",
  179. " #main {padding-top:0!important}"
  180. ].join("\n");
  181. if (false || (document.domain == "pogoda.mail.ru" || document.domain.substring(document.domain.indexOf(".pogoda.mail.ru") + 1) == "pogoda.mail.ru"))
  182. css += " .forecast-rb-bg {background-image:none!important}";
  183. if (false || (document.domain == "politobzor.net" || document.domain.substring(document.domain.indexOf(".politobzor.net") + 1) == "politobzor.net"))
  184. css += " .banner {height:90px!important}";
  185. if (false || (document.domain == "popmech.ru" || document.domain.substring(document.domain.indexOf(".popmech.ru") + 1) == "popmech.ru"))
  186. css += " .header__brand {margin-top:0!important}";
  187. if (false || (document.domain == "povarenok.ru" || document.domain.substring(document.domain.indexOf(".povarenok.ru") + 1) == "povarenok.ru"))
  188. css += [
  189. ".car_content {margin:0!important;width:100%!important}",
  190. " .car_recept {width:97%!important}",
  191. " .cont_head, .cont_mid, .car_footer {background:none!important}",
  192. " .car_header, .petushok, .cont_foot {display:none!important}"
  193. ].join("\n");
  194. if (false || (document.domain == "promodj.com" || document.domain.substring(document.domain.indexOf(".promodj.com") + 1) == "promodj.com"))
  195. css += " #topbrandingspot {padding-top:0!important}";
  196. if (false || (document.domain == "riotpixels.com" || document.domain.substring(document.domain.indexOf(".riotpixels.com") + 1) == "riotpixels.com"))
  197. css += [
  198. "body {background-image:none!important}",
  199. " .all-wrapper, .bottom-bar {top:0!important}",
  200. " .bottom-bar, .action-menu {position:fixed!important}"
  201. ].join("\n");
  202. if (false || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru"))
  203. css += " #block-sc2tv_streams-0 {margin-top:0!important}";
  204. if (false || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru"))
  205. css += " body {background-color:#707070!important}";
  206. if (false || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com"))
  207. css += " #wrapper>#all {margin-top:0!important}";
  208. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  209. css += " body.img-bg,#branding-layout {background:gray!important;padding-top:0!important}";
  210. if (false || (document.domain == "tnt-online.ru" || document.domain.substring(document.domain.indexOf(".tnt-online.ru") + 1) == "tnt-online.ru"))
  211. css += [
  212. "/*self-ads for bitblock*/",
  213. " #contentShifter {display:none!important}",
  214. " #all {top:13px!important}"
  215. ].join("\n");
  216. if (false || (document.domain == "webfile.ru" || document.domain.substring(document.domain.indexOf(".webfile.ru") + 1) == "webfile.ru"))
  217. css += ".p_wrap {margin-top:0!important}";
  218. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  219. css += " .body-branding {background:none!important;padding-top:0!important}";
  220. if (false || (document.domain == "zoneofgames.ru" || document.domain.substring(document.domain.indexOf(".zoneofgames.ru") + 1) == "zoneofgames.ru"))
  221. css += " .branding,div.logo {background:none!important;height:auto!important}";
  222. if (false || (location.href.replace(location.hash,'') == "http://anistar.ru/news") || (location.href.replace(location.hash,'') == "http://anistar.ru/news/"))
  223. css += ".news:nth-child(-n+2) {display:none!important}";
  224. if (false || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com"))
  225. css += [
  226. "body {background:white!important;}",
  227. " body{background-image: url()!important;}",
  228. " body{background-image: none !important;}",
  229. " div{background-image: url()!important;}",
  230. " .branding {padding-top: 5px!important;}",
  231. " body {padding-top: 5px!important;}",
  232. " .limiter{padding-top: 5px!important;}",
  233. " .main_tm_search_tool,.searchline {background: white!important;}",
  234. // !! для широкоформатных мониторов
  235. " .header_container, .bottom_container, #content, .content, .wrapper, .limiter {width: 100%!important;}",
  236. " div.limiter > div.wrapper > div.c_w > table > tbody > tr > td[align=\"center\"] > table[width=\"960\"] {width: 100%!important;}"
  237. ].join("\n");
  238. if (false || (document.domain == "nnm-club.me" || document.domain.substring(document.domain.indexOf(".nnm-club.me") + 1) == "nnm-club.me"))
  239. css += [
  240. "body{background:none !important;}",
  241. " body{background-image:none !important;}",
  242. // ! --- широко
  243. // ! ".wrap{min-width:1030px;max-width:100% !important;}",
  244. " body>table[width=\"85%\"]{width:100%!important;}",
  245. " body{padding:0 !important;}",
  246. " body {padding-top:0!important}",
  247. " body>div.wrap{min-width:1030px;max-width:100% !important;}"
  248. ].join("\n");
  249. if (false || (document.domain == "gismeteo.ru" || document.domain.substring(document.domain.indexOf(".gismeteo.ru") + 1) == "gismeteo.ru") || (document.domain == "gismeteo.ua" || document.domain.substring(document.domain.indexOf(".gismeteo.ua") + 1) == "gismeteo.ua"))
  250. css += [
  251. " #canvas,.cleft{width: 988px!important;}#weather-maps,#map-view,#weather-old,#weather-busy{width: 986px!important;}#weather-cities,#weather-weekly,#weather-daily,#weather-hourly,#geomagnetic{width:738px!important;}#weather-news{width:362px!important;}.wtab{width:228px!important;}.wtabs .wttr{left:224px!important;}.wbfull tbody th{width:85px!important;}.wdata thead th,.wdata tbody th{text-align: center!important;}.workday,tbody tr .weekend{width: 40px!important;}.wbshort .wbday{left:450px!important;}.wbshort .wbnight{left:70px!important;}.rframe{background-color: rgba(255,255,255,0.4)!important;}.wsection, .wbshort, .wbfull, .rfc{background:transparent!important;}.wbshort:hover{background-color:rgb(255,255,225)!important;}body{background:url(http://www.wallplanet.ru/_ph/15/685414393.jpg)!important;background-attachment: fixed!important;}#weather-maps .fcontent{height:280px!important;}#weather-maps li{width:108px!important;} .wsection table{width: 690px!important;}",
  252. "div#post-container{background:url(\"\")!important;}"
  253. ].join("\n");
  254. if (false || (document.domain == "nnm.me" || document.domain.substring(document.domain.indexOf(".nnm.me") + 1) == "nnm.me"))
  255. css += [
  256. "body{background: none !important;}",
  257. " body, #theme_8{background: url('') !important;}",
  258. " body {background-image:none !important;}",
  259. " body, div#page{background:gray !important;background-color:gray !important;}",
  260. " body, div#page, element.style{background-image:url('') !important;}",
  261. " body, div#page, .pirate-branding, .pb_button_play{background:none !important;}",
  262. " div#page{margin-top:0px!important;top: 0px !important;}",
  263. " div#optionspanel{margin-top:0px !important; margin-left:0px !important;}",
  264. " div#page>div[style*=\"width: 990px;\"][style*=\"height: 206px; position: relative;\"]{height: 0px !important;}",
  265. " .pb_top_img, .pirate-branding, a.pb_link, .pb_logo_brand, .pb_left_banner, .pb_right_banner, #b-logo{height: 0px !important;}",
  266. " .pirate-branding, .pb_button_play_big{top:0px !important;}",
  267. " body{padding-top: 0px !important;}",
  268. " #cntnt{margin-top: 0px !important;}",
  269. " #mmmBanner{height: 0px !important;}",
  270. " .head_assn {height: 0px !important; width: 0px !important;}",
  271. " .head_assn .assn_logo {width: 0px !important; height: 0px !important; top: 0px !important; left: 0px !important; background: url(\" \") !important; }",
  272. " .head_assn .assn_slogan {width: 0px !important; height: 0px !important; top: 0px !important; left:0px !important; background: url(\" \") !important; }",
  273. " html{height: 0px !important;}",
  274. " body{click=()!important;}",
  275. // !! заполненяем всю ширину экрана. Раскомментировать строки (убрать воскл.знаки в начале строк)
  276. " #wrap, #scrollPanel{width: 1320px !important;}",
  277. " #cntnt{margin-top: 0px !important; position: absolute; left: 0% !important; margin-left: 0px !important;}",
  278. " #wrapper {width: 1300px !important;}",
  279. " #content{width: 900px !important;}",
  280. " body {text-align:center!important}",
  281. " #page {display:inline-block !important; margin-top:0 !important}",
  282. " #wrap {text-align:initial !important}"
  283. ].join("\n");
  284. if (false || (document.domain == "yandex.by" || document.domain.substring(document.domain.indexOf(".yandex.by") + 1) == "yandex.by") || (document.domain == "yandex.kz" || document.domain.substring(document.domain.indexOf(".yandex.kz") + 1) == "yandex.kz") || (document.domain == "yandex.ru" || document.domain.substring(document.domain.indexOf(".yandex.ru") + 1) == "yandex.ru") || (document.domain == "yandex.ua" || document.domain.substring(document.domain.indexOf(".yandex.ua") + 1) == "yandex.ua"))
  285. css += [
  286. // ! site yandex
  287. ".adsrv {width:0px!important;min-width:0!important;max-width:0!important;",
  288. " height:0!important;min-height:0!important;max-height:0!important;",
  289. " overflow:hidden!important;}",
  290. " .b-top-wizard{width:1000px!important;} .b-body-items.b-serp-list{width:1000px!important;}",
  291. // ! !! чистим maps.yandex
  292. " .ymaps-map{background:none !important;}",
  293. " .ymaps-2-1-23-map{background-image:url() !important;}",
  294. // ! !! убрать все фоновые рисунки в картах
  295. // ! " ymaps{background-image:url() !important;}",
  296. " tv.yandex.ru##td[width=\"24%\"]{width:12%!important;}",
  297. " a{onmousedown=''!important;}",
  298. " a{onclick=''!important;}"
  299. ].join("\n");
  300. if (false || (document.domain == "39soft.ru" || document.domain.substring(document.domain.indexOf(".39soft.ru") + 1) == "39soft.ru") || (document.domain == "soft-club.me" || document.domain.substring(document.domain.indexOf(".soft-club.me") + 1) == "soft-club.me"))
  301. css += [
  302. // ! !! --- широко
  303. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  304. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important}",
  305. " article,.header,.header-main{width:100%!important;}",
  306. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  307. ].join("\n");
  308. if (false || (document.domain == "4seasons-ltc.com" || document.domain.substring(document.domain.indexOf(".4seasons-ltc.com") + 1) == "4seasons-ltc.com"))
  309. css += [
  310. "body{background-image:none !important;}",
  311. " body{font-family: Tahoma !important;}"
  312. ].join("\n");
  313. if (false || (document.domain == "china-review.com.ua" || document.domain.substring(document.domain.indexOf(".china-review.com.ua") + 1) == "china-review.com.ua"))
  314. css += [
  315. "body{background:url()!important;}",
  316. " body{background-image:none !important;}",
  317. " body{background:none!important;}",
  318. " body{margin-top:0px!important;}"
  319. ].join("\n");
  320. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  321. css += [
  322. "body{background:none!important;} .layer_top {background:none!important;} .layer_bottom {background:none!important;} .cast_bg{background:none!important;}",
  323. " .contentbg {background-image:none!important;} #4iframe {background-image:none!important;} ",
  324. " #framescr{background-image:none!important;}"
  325. ].join("\n");
  326. if (false || (document.domain == "amovies.tv" || document.domain.substring(document.domain.indexOf(".amovies.tv") + 1) == "amovies.tv"))
  327. css += [
  328. // !! расширяем
  329. "article{width: 980px !important;}",
  330. " #vk_select {float:none !important;margin-left: 445px!important;}",
  331. " #vk_top,#vk_select {background:url()!important;}"
  332. ].join("\n");
  333. if (false || (document.domain == "avito.ru" || document.domain.substring(document.domain.indexOf(".avito.ru") + 1) == "avito.ru"))
  334. css += " .bonprix-1{background: none !important;} ";
  335. if (false || (document.domain == "bash.im" || document.domain.substring(document.domain.indexOf(".bash.im") + 1) == "bash.im"))
  336. css += " span.csd{background:none !important;}";
  337. if (false || (document.domain == "bestrepack.net" || document.domain.substring(document.domain.indexOf(".bestrepack.net") + 1) == "bestrepack.net"))
  338. css += " div#body_container{padding: 0 !important;}";
  339. if (false || (document.domain == "bookvoed.ru" || document.domain.substring(document.domain.indexOf(".bookvoed.ru") + 1) == "bookvoed.ru"))
  340. css += " .Fh{margin-top: 79px!important;}";
  341. if (false || (document.domain == "clubupravdom.ru" || document.domain.substring(document.domain.indexOf(".clubupravdom.ru") + 1) == "clubupravdom.ru"))
  342. css += " *{background-image: none !important;}";
  343. if (false || (document.domain == "computerra.ru" || document.domain.substring(document.domain.indexOf(".computerra.ru") + 1) == "computerra.ru"))
  344. css += [
  345. " div.page.page-podl{padding-top: 0px!important;}",
  346. " div#under{width:auto!important}",
  347. " a.link{font-weight:bold!important; font-family:Verdana!important;font-size: 12px!important}",
  348. " div.column{max-width:80%!important}"
  349. ].join("\n");
  350. if (false || (document.domain == "crowdin.com" || document.domain.substring(document.domain.indexOf(".crowdin.com") + 1) == "crowdin.com"))
  351. css += " #user-cover-picture,#user-cover-picture-blurred{background:url()!important;}";
  352. if (false || (document.domain == "cyberry.ru" || document.domain.substring(document.domain.indexOf(".cyberry.ru") + 1) == "cyberry.ru") || (document.domain == "f1-world.ru" || document.domain.substring(document.domain.indexOf(".f1-world.ru") + 1) == "f1-world.ru"))
  353. css += [
  354. "body{background:none !important;}",
  355. " td{background-image:none !important;}"
  356. ].join("\n");
  357. if (false || (document.domain == "ebay-forum.ru" || document.domain.substring(document.domain.indexOf(".ebay-forum.ru") + 1) == "ebay-forum.ru"))
  358. css += " .banner_ap{height:30px!important;} #search{margin:0 0 7px!important;} .header_effects{height:66px!important;} #branding{height:66px!important;min-height:66px!important;}";
  359. if (false || (document.domain == "f-page.ru" || document.domain.substring(document.domain.indexOf(".f-page.ru") + 1) == "f-page.ru") || (document.domain == "f-picture.net" || document.domain.substring(document.domain.indexOf(".f-picture.net") + 1) == "f-picture.net") || (document.domain == "radikal-foto.ru" || document.domain.substring(document.domain.indexOf(".radikal-foto.ru") + 1) == "radikal-foto.ru") || (document.domain == "letitbit.net" || document.domain.substring(document.domain.indexOf(".letitbit.net") + 1) == "letitbit.net") || (document.domain == "novafilm.tv" || document.domain.substring(document.domain.indexOf(".novafilm.tv") + 1) == "novafilm.tv") || (document.domain == "nowa.cc" || document.domain.substring(document.domain.indexOf(".nowa.cc") + 1) == "nowa.cc") || (document.domain == "radical-foto.ru" || document.domain.substring(document.domain.indexOf(".radical-foto.ru") + 1) == "radical-foto.ru") || (document.domain == "radikal.ru" || document.domain.substring(document.domain.indexOf(".radikal.ru") + 1) == "radikal.ru") || (document.domain == "radikal.cc" || document.domain.substring(document.domain.indexOf(".radikal.cc") + 1) == "radikal.cc") || (document.domain == "rghost.ru" || document.domain.substring(document.domain.indexOf(".rghost.ru") + 1) == "rghost.ru") || (document.domain == "voffka.com" || document.domain.substring(document.domain.indexOf(".voffka.com") + 1) == "voffka.com"))
  360. css += [
  361. "body{background:none !important;}",
  362. " body{background-image:none !important;}"
  363. ].join("\n");
  364. if (false || (document.domain == "f1news.ru" || document.domain.substring(document.domain.indexOf(".f1news.ru") + 1) == "f1news.ru"))
  365. css += [
  366. " div[id=\"bannerText\"]{border:0px!important;margin-left:10px!important;}",
  367. " body{background:url() top center no-repeat #000000 !important;}",
  368. // !! расширяем текстовое поле
  369. " div#textBlock{width:900px !important;}"
  370. ].join("\n");
  371. if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
  372. css += [
  373. " #contentArea {width: 750px !important;}",
  374. " .uiUfi {width: 650px !important;}",
  375. // !! " body {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  376. // !! " #contentCol {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  377. " div#profile_stream_composer {background-color:#C1D5F6;}",
  378. " #blueBar {background-color: transparent !important;}",
  379. " #headNav {background-color: #transparent !important;}",
  380. " .jewelButton {background-color: transparent !important;}",
  381. " #fbNotificationsFlyout {left: 50px !important;}",
  382. " .fbJewelFlyout {background-color: white;border-bottom: 1px solid #293E6A !important;border: solid;left: 0px;overflow: visible;position: absolute;top: 30px;width: 350px !important;z-index: -1;}",
  383. // !! " #pageNav a {color: #00ffff !important;display: inline-block;font-weight: bold;height: 22px;padding: 8px 10px 0px;text-decoration: none;}",
  384. " .UIImageBlock {color: #000000 !important}",
  385. " .fcg {color: darkgreen !important;}",
  386. " .mts.uiAttachmentDesc.translationEligibleUserAttachmentMessage {color: black !important;}"
  387. ].join("\n");
  388. if (false || (document.domain == "fastpic.ru" || document.domain.substring(document.domain.indexOf(".fastpic.ru") + 1) == "fastpic.ru"))
  389. css += [
  390. " #logo-area{padding-top: 0px!important;}",
  391. " *{background:none !important;}",
  392. " *{background-image:none !important;}",
  393. " #footer-container {background-image:none!important;height:auto!important}",
  394. " body > a {display:none!important}",
  395. " #content,#footer,#mainContainer,#footerContainer {width:100%!important;margin:0!important;border-radius:0!important;cursor:initial!important}",
  396. " #mainContainer > TABLE[height=\"100\"] {max-width:900px!important;margin:auto!important}",
  397. " #picContainer {margin:auto!important;float:none!important}",
  398. // " div#content{width: 890px!important;}div#content{margin-top: 0px!important;margin-right: 170px!important;} div#footer{margin-right: 170px!important;} div#picContainer{width: 890px!important;}",
  399. // !! всё - чёрным
  400. " *{color: black!important;}",
  401. " body{background: none!important;}"
  402. // " html {background-color:#171616!important}"
  403. ].join("\n");
  404. if (false || (document.domain == "filmix.net" || document.domain.substring(document.domain.indexOf(".filmix.net") + 1) == "filmix.net"))
  405. css += " body{padding: 0px 0 0 0!important}";
  406. if (false || (document.domain == "formulakino.ru" || document.domain.substring(document.domain.indexOf(".formulakino.ru") + 1) == "formulakino.ru"))
  407. css += [
  408. " div.backF>a>span{background-image:none !important; background:#fff !important;}",
  409. " div.vjs-poster{background:url()!important;}",
  410. " div.pagecontent{margin-top:0px!important;}",
  411. " div#wrapper{background:#fff!important;}"
  412. ].join("\n");
  413. if (false || (document.domain == "google.ru" || document.domain.substring(document.domain.indexOf(".google.ru") + 1) == "google.ru"))
  414. css += [
  415. " body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child {position: fixed; right: 16px!important; top: 200px; padding: 5px 0px 10px 8px; border: 1px solid lightblue!important; width: 150px!important; background-color: #fff!important; opacity:0.5; border-bottom-left-radius: 10px; border-top-left-radius: 10px;}",
  416. " body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child:hover {opacity:1;}",
  417. " body[class=\"cP\"] tr td.Bu:last-child div.nH {width: 0px!important;}",
  418. // ! расширяем выдачу в поиске
  419. " .center_col,#center_col {width:1000px!important; margin-left:10px !important; margin-right:10px !important;} .s {max-width:100% !important;}"
  420. ].join("\n");
  421. if (false || (document.domain == "igromania.ru" || document.domain.substring(document.domain.indexOf(".igromania.ru") + 1) == "igromania.ru"))
  422. css += [
  423. // !! " *{background-image: none !important;}",
  424. " div.out_out, element.style {background-image: url() !important;}"
  425. ].join("\n");
  426. if (false || (document.domain == "inosmi.ru" || document.domain.substring(document.domain.indexOf(".inosmi.ru") + 1) == "inosmi.ru"))
  427. css += [
  428. " body{background-image:none !important;}",
  429. " body{background:url()!important;}",
  430. // !! поаккуратнее
  431. " .header{padding-top:0px!important;}",
  432. " #addbwr{margin-top:0px!important;}",
  433. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след. строками )
  434. " .mainbox{width:95%!important;}",
  435. " .section{width:100%!important;}",
  436. " .floatleft{width:80%!important;}",
  437. " .floatleft.box3row{width:50%!important;}",
  438. " .floatleft.box3row3{width:50%!important;}",
  439. " .bodypage{width:100%!important; }",
  440. " .floatright{width:10%!important;}",
  441. " .article{width:100%!important; }",
  442. " .announce{width:80%!important; }"
  443. ].join("\n");
  444. if (false || (document.domain == "livesport.ws" || document.domain.substring(document.domain.indexOf(".livesport.ws") + 1) == "livesport.ws"))
  445. css += [
  446. // !! убираем фон и баннер
  447. " body {background:none!important;color:#333!important;}",
  448. " body{background:url()!important;background-color:#000002!important;}",
  449. " body,.top-panel-wrap.fixed {background-image:url() !important;}",
  450. " body{background-image:none !important;}",
  451. " div[id=\"flash\"]{height: 0px !important;}"
  452. ].join("\n");
  453. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  454. css += [
  455. " body{background:gray!important}",
  456. " div[class=\"mid\"]{background:LightGrey!important}",
  457. // !! ==== и меняем на читаемый цвет
  458. " div{class=\"user_avatar\";color:black!important}",
  459. " span{class=\"wh\";color:black!important}",
  460. " a[href=\"\/my.php\"]{color:black!important}",
  461. " a[href=\"\/messages.php\"]{color:black!important}",
  462. " a[href=\"http:\/\/login.bogi.ru\/logout.php\?target=http:\/\/lostfilm.tv/\"]{color:black!important}"
  463. ].join("\n");
  464. if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
  465. css += [
  466. " body,.forecast-rb-bg,.b-bg{background-image: none!important;}",
  467. " .SearchForm,.form,.txt1,.txt2,.txt3,.people1,.people2,.people3,.GRcorrect, .GRSpellingCorrect, .GRspelling {background: url('')!important;}"
  468. ].join("\n");
  469. if (false || (document.domain == "ok.ru" || document.domain.substring(document.domain.indexOf(".ok.ru") + 1) == "ok.ru") || (document.domain == "odnoklassniki.ru" || document.domain.substring(document.domain.indexOf(".odnoklassniki.ru") + 1) == "odnoklassniki.ru"))
  470. css += [
  471. // !! "div {background-image:none !important;}",
  472. // !! "div {background:url()!important;}",
  473. // !! "div[class^=\"prl_slide_\"] {background:url()!important;}"
  474. "div[class=\"anonym_login\"]{width: 100% !important;}"
  475. ].join("\n");
  476. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  477. css += [
  478. " #main{background:none!important;background:#FFF!important;}",
  479. " div[id=\"main\"]>div[id=\"adw\"]{height:0px!important;}",
  480. " div[id=\"main\"]>div[class=\"box1\"]{height:0px!important;}",
  481. " div[id=\"main\"]>div:nth-of-type(1){height:0px!important;}"
  482. ].join("\n");
  483. if (false || (document.domain == "politikus.ru" || document.domain.substring(document.domain.indexOf(".politikus.ru") + 1) == "politikus.ru"))
  484. css += [
  485. " body{background-image:none !important;}",
  486. " body{background:url()!important;}",
  487. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след.четырьмя строками )
  488. " #main_content_holder{width:100%!important; }",
  489. " #left{width:80%!important; }",
  490. " .holder, div.block, .content, #dle-content{width:100% !important; }",
  491. " .fullstory{width:95% !important; }"
  492. ].join("\n");
  493. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  494. css += [
  495. "div.paral>a>div{background:url()!important;}",
  496. " div.paral>a>div{height:64px!important;}",
  497. " table#header_t {margin-top: 0px !important;}"
  498. ].join("\n");
  499. if (false || (document.domain == "f-page.ru" || document.domain.substring(document.domain.indexOf(".f-page.ru") + 1) == "f-page.ru") || (document.domain == "f-picture.net" || document.domain.substring(document.domain.indexOf(".f-picture.net") + 1) == "f-picture.net") || (document.domain == "radikal-foto.ru" || document.domain.substring(document.domain.indexOf(".radikal-foto.ru") + 1) == "radikal-foto.ru") || (document.domain == "radical-foto.ru" || document.domain.substring(document.domain.indexOf(".radical-foto.ru") + 1) == "radical-foto.ru") || (document.domain == "radikal.ru" || document.domain.substring(document.domain.indexOf(".radikal.ru") + 1) == "radikal.ru") || (document.domain == "radikal.cc" || document.domain.substring(document.domain.indexOf(".radikal.cc") + 1) == "radikal.cc"))
  500. css += [
  501. " .brand_bg{background-image:none !important;}",
  502. " .content{padding-top:0px !important;}"
  503. ].join("\n");
  504. if (false || (document.domain == "rambler.ru" || document.domain.substring(document.domain.indexOf(".rambler.ru") + 1) == "rambler.ru"))
  505. css += [
  506. ".b-left-column .b-left-column__wrapper{margin:0 !important}",
  507. " div[class=\"appWindow\"]{right:0px!important;}"
  508. ].join("\n");
  509. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  510. css += " .article__content {margin-right: 0px !important;}";
  511. if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
  512. css += [
  513. "#octo-set{background-image:none!important;padding-top:0!important}",
  514. " #main-wrapper{width:auto!important}",
  515. " body{background-image: none!important;} ",
  516. " body{background:none!important;}",
  517. " #main-wrapper{top:10px!important;}",
  518. // !! cкрыть заголовок
  519. " #logo {padding: 0px 0px 0 0px!important;} #search-box {margin-top:0px!important; height: 20px!important; top:-15px!important;padding-right: 120px!important;} div.headerbar{background-color: rgb(255, 255, 255)!important; height: 0px!important;}"
  520. ].join("\n");
  521. if (false || (document.domain == "rusfolder.com" || document.domain.substring(document.domain.indexOf(".rusfolder.com") + 1) == "rusfolder.com") || (document.domain == "rusfolder.net" || document.domain.substring(document.domain.indexOf(".rusfolder.net") + 1) == "rusfolder.net") || (document.domain == "rusfolder.ru" || document.domain.substring(document.domain.indexOf(".rusfolder.ru") + 1) == "rusfolder.ru"))
  522. css += [
  523. "*{background:none!important}",
  524. " *{background:url('')!important}",
  525. " *{background:silver!important; color:black!important;}",
  526. " div#header{height:60px!important} span{color:black!important;background:silver!important;border:1px solid gray!important;} input[type=\"checkbox\"]{color:black!important; visibility: visible!important; }"
  527. ].join("\n");
  528. if (false || (document.domain == "ruspravda.info" || document.domain.substring(document.domain.indexOf(".ruspravda.info") + 1) == "ruspravda.info"))
  529. css += [
  530. "body{background:white!important;}",
  531. " table#header_t {margin-top: 0px !important;}"
  532. ].join("\n");
  533. if (false || (document.domain == "rustorka.com" || document.domain.substring(document.domain.indexOf(".rustorka.com") + 1) == "rustorka.com"))
  534. css += " .topmenu{margin-top:25px !important;}";
  535. if (false || (document.domain == "rutor.org" || document.domain.substring(document.domain.indexOf(".rutor.org") + 1) == "rutor.org"))
  536. css += [
  537. // !! оформление от zuefhrf
  538. "div#ws div#sidebar{top: 0px !important;}",
  539. " div#ws div#sidebar{right: 8px !important;}",
  540. " div#ws div#sidebar div.sideblock{margin-top: 0px !important;}",
  541. " div#ws div#content{right: 6px !important;}",
  542. " h3{text-align: left !important;}"
  543. ].join("\n");
  544. if (false || (document.domain == "samlab.ws" || document.domain.substring(document.domain.indexOf(".samlab.ws") + 1) == "samlab.ws"))
  545. css += [
  546. "div.box.main {width: auto; !important;}",
  547. " div#right {width: 2px; !important;}"
  548. ].join("\n");
  549. if (false || (document.domain == "samlib.ru" || document.domain.substring(document.domain.indexOf(".samlib.ru") + 1) == "samlib.ru"))
  550. css += [
  551. "body {font-family: sans-serif !important;line-height: 140% !important;color: #B2B2B2 !important;background: #3A3E46 !important;}",
  552. " font {color: #B2B2B2 !important;}",
  553. " table, td, td font {color: #BEBEBE !important;background-color: #555C66 !important;}",
  554. " a:link {color: #9DD7FF !important;}",
  555. " a:visited {color: #EAB6FF !important;}",
  556. " a:hover {color: #F0B2B2 !important;}",
  557. " dl {margin-top: 1em !important;}"
  558. ].join("\n");
  559. if (false || (document.domain == "securitylab.ru" || document.domain.substring(document.domain.indexOf(".securitylab.ru") + 1) == "securitylab.ru"))
  560. css += [
  561. " #content #left{margin-left: 0px!important;max-width: 1000px!important;}",
  562. // !! логотип
  563. " div#header{height:00px!important;background-color:white!important;} div#MAIN_MENU{top:0px!important;}"
  564. ].join("\n");
  565. if (false || (document.domain == "sportbox.ru" || document.domain.substring(document.domain.indexOf(".sportbox.ru") + 1) == "sportbox.ru"))
  566. css += [
  567. " body{background:none!important;padding-top: 0px!important;}",
  568. " .sb_c_topmed_olymp, .gold, .silver, .bronze {background:none!important;}"
  569. ].join("\n");
  570. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  571. css += [
  572. " .kaspersky, .overall {background:none!important;}",
  573. " .kaspersky, .pageLayout {top: 0px!important;}"
  574. ].join("\n");
  575. if (false || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me"))
  576. css += [
  577. " body{background-image: none !important;}",
  578. " body {padding:0px 0 0 0!important}"
  579. ].join("\n");
  580. if (false || (document.domain == "torrent-tv.ru" || document.domain.substring(document.domain.indexOf(".torrent-tv.ru") + 1) == "torrent-tv.ru"))
  581. css += [
  582. " body {background-image:none!important;padding-top: 0px!important;}",
  583. " div#main-wrapper {top:auto!important}",
  584. " div.news-text {width:auto!important}",
  585. " div[class^=\"usual-header\"] {width:126%!important}",
  586. " div[class=\"usual\"] {width:132%!important}",
  587. " div[class^=\"usual-content\"] {width:99%!important}"
  588. // !!
  589. // !! " body>div:nth-of-type(1) {background:url()!important;}",
  590. // !! " body {background:gray!important}",
  591. ].join("\n");
  592. if (false || (document.domain == "turbobit.net" || document.domain.substring(document.domain.indexOf(".turbobit.net") + 1) == "turbobit.net"))
  593. css += " html {background:none!important}";
  594. if (false || (document.domain == "vesti.ru" || document.domain.substring(document.domain.indexOf(".vesti.ru") + 1) == "vesti.ru"))
  595. css += [
  596. " .bottom_bg {background: none !important;}",
  597. " body, .head, .all_wrap {background: url(\" \") !important;}"
  598. ].join("\n");
  599. if (false || (document.domain == "dns-shop.ru" || document.domain.substring(document.domain.indexOf(".dns-shop.ru") + 1) == "dns-shop.ru"))
  600. css += " div.wrapper{width: auto !important;}";
  601. if (false || (document.domain == "yaplakal.com" || document.domain.substring(document.domain.indexOf(".yaplakal.com") + 1) == "yaplakal.com"))
  602. css += [
  603. " body{background:none !important;}",
  604. " #footer{background:url()!important;}",
  605. " #footer{background-image:none !important;}",
  606. " #top-line {background:none !important;padding:0 !important;}",
  607. " #header,#footer {background-color:skyblue!important}"
  608. ].join("\n");
  609. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  610. css += [
  611. " div[class=\"body-branding\"]{background:grey!important; padding-top: 0px!important; padding: 5px!important}",
  612. " div[class=\"body-gaps\"]{max-width:100%!important}"
  613. ].join("\n");
  614. if (false || (document.domain == "zalil.ru" || document.domain.substring(document.domain.indexOf(".zalil.ru") + 1) == "zalil.ru"))
  615. css += [
  616. " body{background:none !important;}",
  617. " body{background-color:gray !important;}",
  618. " body{background-image:none !important;}"
  619. ].join("\n");
  620. if (false || (document.domain == "taker.im" || document.domain.substring(document.domain.indexOf(".taker.im") + 1) == "taker.im"))
  621. css += [
  622. // !! скрываем рекламные ссылки (СПАМ) в тексте
  623. " a[href^=\"/phpBB2/goto/http://www.ebay.com/sch/\"][rel=\"nofollow\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  624. ].join("\n");
  625. if (typeof GM_addStyle != "undefined") {
  626. GM_addStyle(css);
  627. } else if (typeof PRO_addStyle != "undefined") {
  628. PRO_addStyle(css);
  629. } else if (typeof addStyle != "undefined") {
  630. addStyle(css);
  631. } else {
  632. var node = document.createElement("style");
  633. node.type = "text/css";
  634. node.appendChild(document.createTextNode(css));
  635. var heads = document.getElementsByTagName("head");
  636. if (heads.length > 0) {
  637. heads[0].appendChild(node);
  638. } else {
  639. // no head yet, stick it whereever
  640. document.documentElement.appendChild(node);
  641. }
  642. }
  643. })();