RU Max4_ABP_Fix CSS

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

当前为 2015-06-12 提交的版本,查看 最新版本

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