RU Max4_ABP_Fix CSS

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

当前为 2015-08-15 提交的版本,查看 最新版本

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