RU Max4_ABP_Fix CSS

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

当前为 2018-02-17 提交的版本,查看 最新版本

  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. // @include *://*/*
  10. // @match *://*/*
  11. // @version 1.20180217063033
  12. // @grant unsafeWindow
  13. // @grant window.close
  14. // @grant GM_addStyle
  15. // ==/UserScript==
  16. /* jshint -W084, esnext: true*/
  17. (function(){
  18. (function(){var css = "";
  19. // !! console.log("es");
  20. if (false || (document.domain == "ru-board.com" || document.domain.substring(document.domain.indexOf(".ru-board.com") + 1) == "ru-board.com") || (document.domain == "latestnewsofusa.org" || document.domain.substring(document.domain.indexOf(".latestnewsofusa.org") + 1) == "latestnewsofusa.org"))
  21. css += [
  22. "span.dats{position:relative !important;top: 10px !important;}",
  23. // !! скрываем рекламные ссылки (СПАМ) в сообщениях
  24. " a[href^=\"http://forum.ru-board.com/\"][href$=\"/\"][target=\"_blank\"]{color:#333 !important; text-decoration: none !important; pointer-events: none !important;}"
  25. // !! ======= ПРАВКА СТРУКТУРЫ. вынесено в отдельный скрипт. См. Ru-Board_Extrim_Max4_ABP_Fix-CSS =======
  26. ].join("\n");
  27. if (false || (document.domain == "userstyles.org" || document.domain.substring(document.domain.indexOf(".userstyles.org") + 1) == "userstyles.org") || (document.domain == "24video.adult" || document.domain.substring(document.domain.indexOf(".24video.adult") + 1) == "24video.adult") || (document.domain == "24video.in" || document.domain.substring(document.domain.indexOf(".24video.in") + 1) == "24video.in") || (document.domain == "aif.ru" || document.domain.substring(document.domain.indexOf(".aif.ru") + 1) == "aif.ru") || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua") || (document.domain == "fastpic.ru" || document.domain.substring(document.domain.indexOf(".fastpic.ru") + 1) == "fastpic.ru") || (document.domain == "film-max.ru" || document.domain.substring(document.domain.indexOf(".film-max.ru") + 1) == "film-max.ru") || (document.domain == "hd-720.com" || document.domain.substring(document.domain.indexOf(".hd-720.com") + 1) == "hd-720.com") || (document.domain == "hd720.biz" || document.domain.substring(document.domain.indexOf(".hd720.biz") + 1) == "hd720.biz") || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com") || (document.domain == "kinogohd.net" || document.domain.substring(document.domain.indexOf(".kinogohd.net") + 1) == "kinogohd.net") || (document.domain == "kinokrad.su" || document.domain.substring(document.domain.indexOf(".kinokrad.su") + 1) == "kinokrad.su") || (document.domain == "kinotochka.club" || document.domain.substring(document.domain.indexOf(".kinotochka.club") + 1) == "kinotochka.club") || (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 == "kurkul.com" || document.domain.substring(document.domain.indexOf(".kurkul.com") + 1) == "kurkul.com") || (document.domain == "livejournal.com" || document.domain.substring(document.domain.indexOf(".livejournal.com") + 1) == "livejournal.com") || (document.domain == "macdigger.ru" || document.domain.substring(document.domain.indexOf(".macdigger.ru") + 1) == "macdigger.ru") || (document.domain == "newstudio.tv" || document.domain.substring(document.domain.indexOf(".newstudio.tv") + 1) == "newstudio.tv") || (document.domain == "mynnm.ru" || document.domain.substring(document.domain.indexOf(".mynnm.ru") + 1) == "mynnm.ru") || (document.domain == "nnm2.com" || document.domain.substring(document.domain.indexOf(".nnm2.com") + 1) == "nnm2.com") || (document.domain == "oblozhki.net" || document.domain.substring(document.domain.indexOf(".oblozhki.net") + 1) == "oblozhki.net") || (document.domain == "oper.ru" || document.domain.substring(document.domain.indexOf(".oper.ru") + 1) == "oper.ru") || (document.domain == "pure-t.ru" || document.domain.substring(document.domain.indexOf(".pure-t.ru") + 1) == "pure-t.ru") || (document.domain == "rufootballtv.org" || document.domain.substring(document.domain.indexOf(".rufootballtv.org") + 1) == "rufootballtv.org") || (document.domain == "russian-porn.online" || document.domain.substring(document.domain.indexOf(".russian-porn.online") + 1) == "russian-porn.online") || (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 == "stopgame.ru" || document.domain.substring(document.domain.indexOf(".stopgame.ru") + 1) == "stopgame.ru") || (document.domain == "torrentom.com" || document.domain.substring(document.domain.indexOf(".torrentom.com") + 1) == "torrentom.com") || (document.domain == "torrentum.ru" || document.domain.substring(document.domain.indexOf(".torrentum.ru") + 1) == "torrentum.ru") || (document.domain == "xatab-repack.net" || document.domain.substring(document.domain.indexOf(".xatab-repack.net") + 1) == "xatab-repack.net") || (document.domain == "zakon.kz" || document.domain.substring(document.domain.indexOf(".zakon.kz") + 1) == "zakon.kz"))
  28. css += [
  29. "/* Популярный фильтр против картинки на фоне */",
  30. " html:not(#id), body:not(#id) {background-image: none !important;}"
  31. ].join("\n");
  32. if (false || (document.domain == "24video.adult" || document.domain.substring(document.domain.indexOf(".24video.adult") + 1) == "24video.adult") || (document.domain == "24video.in" || document.domain.substring(document.domain.indexOf(".24video.in") + 1) == "24video.in") || (document.domain == "all-episodes.net" || document.domain.substring(document.domain.indexOf(".all-episodes.net") + 1) == "all-episodes.net") || (document.domain == "allfilmonline.co" || document.domain.substring(document.domain.indexOf(".allfilmonline.co") + 1) == "allfilmonline.co") || (document.domain == "amovies.biz" || document.domain.substring(document.domain.indexOf(".amovies.biz") + 1) == "amovies.biz") || (document.domain == "amovies.org" || document.domain.substring(document.domain.indexOf(".amovies.org") + 1) == "amovies.org") || (document.domain == "baskino-net.ru" || document.domain.substring(document.domain.indexOf(".baskino-net.ru") + 1) == "baskino-net.ru") || (document.domain == "baskino.co" || document.domain.substring(document.domain.indexOf(".baskino.co") + 1) == "baskino.co") || (document.domain == "bigcinema-tv.club" || document.domain.substring(document.domain.indexOf(".bigcinema-tv.club") + 1) == "bigcinema-tv.club") || (document.domain == "comedy-portal.net" || document.domain.substring(document.domain.indexOf(".comedy-portal.net") + 1) == "comedy-portal.net") || (document.domain == "dnepr.info" || document.domain.substring(document.domain.indexOf(".dnepr.info") + 1) == "dnepr.info") || (document.domain == "enki.ua" || document.domain.substring(document.domain.indexOf(".enki.ua") + 1) == "enki.ua") || (document.domain == "film-max.ru" || document.domain.substring(document.domain.indexOf(".film-max.ru") + 1) == "film-max.ru") || (document.domain == "freerutor.com" || document.domain.substring(document.domain.indexOf(".freerutor.com") + 1) == "freerutor.com") || (document.domain == "gameguru.ru" || document.domain.substring(document.domain.indexOf(".gameguru.ru") + 1) == "gameguru.ru") || (document.domain == "gidonline.eu" || document.domain.substring(document.domain.indexOf(".gidonline.eu") + 1) == "gidonline.eu") || (document.domain == "gidonline.in" || document.domain.substring(document.domain.indexOf(".gidonline.in") + 1) == "gidonline.in") || (document.domain == "hd720.biz" || document.domain.substring(document.domain.indexOf(".hd720.biz") + 1) == "hd720.biz") || (document.domain == "hdkinoklub.com" || document.domain.substring(document.domain.indexOf(".hdkinoklub.com") + 1) == "hdkinoklub.com") || (document.domain == "hdrezka-online.me" || document.domain.substring(document.domain.indexOf(".hdrezka-online.me") + 1) == "hdrezka-online.me") || (document.domain == "hdrezka.ag" || document.domain.substring(document.domain.indexOf(".hdrezka.ag") + 1) == "hdrezka.ag") || (document.domain == "ikinohd.club" || document.domain.substring(document.domain.indexOf(".ikinohd.club") + 1) == "ikinohd.club") || (document.domain == "ikinohd.com" || document.domain.substring(document.domain.indexOf(".ikinohd.com") + 1) == "ikinohd.com") || (document.domain == "itop-gear.ru" || document.domain.substring(document.domain.indexOf(".itop-gear.ru") + 1) == "itop-gear.ru") || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com") || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru") || (document.domain == "koshara.co" || document.domain.substring(document.domain.indexOf(".koshara.co") + 1) == "koshara.co") || (document.domain == "kronverkcinema.ua" || document.domain.substring(document.domain.indexOf(".kronverkcinema.ua") + 1) == "kronverkcinema.ua") || (document.domain == "krutor.org" || document.domain.substring(document.domain.indexOf(".krutor.org") + 1) == "krutor.org") || (document.domain == "kronverkcinema.ua" || document.domain.substring(document.domain.indexOf(".kronverkcinema.ua") + 1) == "kronverkcinema.ua") || (document.domain == "krutor.org" || document.domain.substring(document.domain.indexOf(".krutor.org") + 1) == "krutor.org") || (document.domain == "moskva.fm" || document.domain.substring(document.domain.indexOf(".moskva.fm") + 1) == "moskva.fm") || (document.domain == "mrutor.org" || document.domain.substring(document.domain.indexOf(".mrutor.org") + 1) == "mrutor.org") || (document.domain == "my-tfile.org" || document.domain.substring(document.domain.indexOf(".my-tfile.org") + 1) == "my-tfile.org") || (document.domain == "newstudio.tv" || document.domain.substring(document.domain.indexOf(".newstudio.tv") + 1) == "newstudio.tv") || (document.domain == "mynnm.ru" || document.domain.substring(document.domain.indexOf(".mynnm.ru") + 1) == "mynnm.ru") || (document.domain == "nnm2.com" || document.domain.substring(document.domain.indexOf(".nnm2.com") + 1) == "nnm2.com") || (document.domain == "ostfilm.tv" || document.domain.substring(document.domain.indexOf(".ostfilm.tv") + 1) == "ostfilm.tv") || (document.domain == "pure-t.ru" || document.domain.substring(document.domain.indexOf(".pure-t.ru") + 1) == "pure-t.ru") || (document.domain == "roem.ru" || document.domain.substring(document.domain.indexOf(".roem.ru") + 1) == "roem.ru") || (document.domain == "tfile.co" || document.domain.substring(document.domain.indexOf(".tfile.co") + 1) == "tfile.co") || (document.domain == "tfile.cc" || document.domain.substring(document.domain.indexOf(".tfile.cc") + 1) == "tfile.cc") || (document.domain == "tfile-music.org" || document.domain.substring(document.domain.indexOf(".tfile-music.org") + 1) == "tfile-music.org") || (document.domain == "tfilm.club" || document.domain.substring(document.domain.indexOf(".tfilm.club") + 1) == "tfilm.club") || (document.domain == "tfilm.me" || document.domain.substring(document.domain.indexOf(".tfilm.me") + 1) == "tfilm.me") || (document.domain == "tfilm.tv" || document.domain.substring(document.domain.indexOf(".tfilm.tv") + 1) == "tfilm.tv") || (document.domain == "torentor.co" || document.domain.substring(document.domain.indexOf(".torentor.co") + 1) == "torentor.co") || (document.domain == "vc.ru" || document.domain.substring(document.domain.indexOf(".vc.ru") + 1) == "vc.ru") || (document.domain == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info") || (document.domain == "wikianime.ru" || document.domain.substring(document.domain.indexOf(".wikianime.ru") + 1) == "wikianime.ru"))
  33. css += [
  34. "html:not(#id), body:not(#id) {padding-top: 0 !important;}"
  35. ].join("\n");
  36. if (false || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua") || (document.domain == "fast-torrent.co" || document.domain.substring(document.domain.indexOf(".fast-torrent.co") + 1) == "fast-torrent.co") || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv") || (document.domain == "seasonvar.re" || document.domain.substring(document.domain.indexOf(".seasonvar.re") + 1) == "seasonvar.re") || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru") || (document.domain == "unionpeer.net" || document.domain.substring(document.domain.indexOf(".unionpeer.net") + 1) == "unionpeer.net"))
  37. css += "html:not(#id), body:not(#id) {padding:0 !important;}";
  38. if (false || (document.domain == "720hd.club" || document.domain.substring(document.domain.indexOf(".720hd.club") + 1) == "720hd.club") || (document.domain == "ain.ua" || document.domain.substring(document.domain.indexOf(".ain.ua") + 1) == "ain.ua") || (document.domain == "gametech.ru" || document.domain.substring(document.domain.indexOf(".gametech.ru") + 1) == "gametech.ru") || (document.domain == "gidonline.eu" || document.domain.substring(document.domain.indexOf(".gidonline.eu") + 1) == "gidonline.eu") || (document.domain == "gidonline.in" || document.domain.substring(document.domain.indexOf(".gidonline.in") + 1) == "gidonline.in") || (document.domain == "hd-720.com" || document.domain.substring(document.domain.indexOf(".hd-720.com") + 1) == "hd-720.com") || (document.domain == "kinohome.net" || document.domain.substring(document.domain.indexOf(".kinohome.net") + 1) == "kinohome.net") || (document.domain == "kinohome.org" || document.domain.substring(document.domain.indexOf(".kinohome.org") + 1) == "kinohome.org") || (document.domain == "oblozhki.net" || document.domain.substring(document.domain.indexOf(".oblozhki.net") + 1) == "oblozhki.net") || (document.domain == "the-cinema.ru" || document.domain.substring(document.domain.indexOf(".the-cinema.ru") + 1) == "the-cinema.ru") || (document.domain == "torrentum.org" || document.domain.substring(document.domain.indexOf(".torrentum.org") + 1) == "torrentum.org") || (document.domain == "torrentum.ru" || document.domain.substring(document.domain.indexOf(".torrentum.ru") + 1) == "torrentum.ru") || (document.domain == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info"))
  39. css += [
  40. "html:not(#id), body:not(#id) {margin-top: 0 !important;}"
  41. ].join("\n");
  42. if (false || (document.domain == "101.ru" || document.domain.substring(document.domain.indexOf(".101.ru") + 1) == "101.ru"))
  43. css += " #layout {background:none !important;}";
  44. 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"))
  45. css += [
  46. "TD[height=\"70\"][style],#user2s[height=\"71\"],",
  47. " #userlinks[height=\"70\"] {display:none !important;}"
  48. ].join("\n");
  49. if (false || (document.domain == "24video.adult" || document.domain.substring(document.domain.indexOf(".24video.adult") + 1) == "24video.adult") || (document.domain == "24video.in" || document.domain.substring(document.domain.indexOf(".24video.in") + 1) == "24video.in") || (document.domain == "kurkul.com" || document.domain.substring(document.domain.indexOf(".kurkul.com") + 1) == "kurkul.com") || (document.domain == "russian-porn.online" || document.domain.substring(document.domain.indexOf(".russian-porn.online") + 1) == "russian-porn.online") || (document.domain == "valetudo.ru" || document.domain.substring(document.domain.indexOf(".valetudo.ru") + 1) == "valetudo.ru"))
  50. css += [
  51. " body {pointer-events: none !important;}",
  52. " body > * {pointer-events: auto !important;}"
  53. ].join("\n");
  54. if (false || (document.domain == "3dnews.ru" || document.domain.substring(document.domain.indexOf(".3dnews.ru") + 1) == "3dnews.ru"))
  55. css += [
  56. " #global-wrapper[style*=\"pointer\"] {cursor: auto !important; padding-top: 0 !important; background: none !important; pointer-events: none !important;}",
  57. " #global-wrapper[style*=\"pointer\"] > * {pointer-events: auto !important;}",
  58. " html:not([xmlns]) > body {",
  59. " /* not supposed to work on pages formatted for printing */",
  60. " background: radial-gradient(ellipse at center, #4e4e4e 0%, #1a1a1a 100%) !important;",
  61. " }"
  62. ].join("\n");
  63. if (false || (document.domain == "4pda.ru" || document.domain.substring(document.domain.indexOf(".4pda.ru") + 1) == "4pda.ru") || (document.domain == "4pda.to" || document.domain.substring(document.domain.indexOf(".4pda.to") + 1) == "4pda.to"))
  64. css += [
  65. " #main, main, div{background-image:none !important;}",
  66. " *{background-image:url(\"\") !important;}",
  67. " div{background-image:url(\"\") !important;}",
  68. // !! " #header + #ruBlbZq {background-image:url() !important;}",
  69. // !! " #header + * {background-image:url() !important;}",
  70. // !! " #header + #ruBlbZq {background-image: url(\"\") !important;}",
  71. " #main {padding: 0 !important;}",
  72. " .brand-page {display: none !important;}",
  73. " .brand-page {height:0 !important;}",
  74. " body,#main,#rnd-replace-main {background: #E6E7E9!important;}",
  75. " div#main>div.holder.no-hidden{padding:0 !important;}",
  76. " div#main>div.holder.no-hidden{width: inherit !important;}",
  77. " html>body>div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div {background-image: url(\"\") !important;}",
  78. " article#content{width: 920px !important;}",
  79. // ! " #header~div:not(#contacts):not(#body) {background-image:none !important;background-color:#E6E7E9!important;}",
  80. // ! " link~div[class$=\" \"] {display:none!important;}",
  81. " html {margin-top: 0px !important;}",
  82. " div [class^=\"h-frame\"]{top: 0px !important;}",
  83. " div#main>div.holder.no-hidden{padding: 0 !important;}",
  84. " div#main>div.holder.no-hidden{width: inherit !important;}",
  85. " iv#main>div.holder.no-hidden>a{display: none !important;}",
  86. " div#main>div.holder.no-hidden>div.brand-page-counters{display: none !important;}",
  87. " div#ipbwrapper>div.borderwrap-header{display: none !important;}",
  88. " div.borderwrap-header>table{display: none !important;}",
  89. " div#dw-wrapper{display: none !important;}",
  90. " a.brand-page.main{display: none !important;}",
  91. " div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div>div:nth-of-type(4){display: none !important;}",
  92. " div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div>div:nth-of-type(3){display: none !important;}",
  93. // ! расширяем
  94. // ! проверить " header#header{ max-width: 1500px !important; width: 95% !important;}",
  95. // ! проверить " header+div>div:nth-of-type(1){ margin: 0px !important; max-width: 1500px !important; width: 90% !important;}",
  96. " header+div>div>div+section>article{max-width: 1500px !important; width: 79% !important;}",
  97. // !? проверить вариант " header+div>div>div+section>article{max-width: 1500px !important; width: auto !important;}",
  98. " header+div>div>div+section>aside{max-width: 20% !important; width: 20% !important;}",
  99. " .holder, .holder-no-hidden {width: auto !important;}",
  100. " .selection .content {margin-left: 0px !important; margin-right: 0px !important;}",
  101. " header+div>div>div+section{margin-left: 0px !important; margin-right: 0px !important;}"
  102. ].join("\n");
  103. if (false || (document.domain == "aces.gg" || document.domain.substring(document.domain.indexOf(".aces.gg") + 1) == "aces.gg"))
  104. css += [
  105. "body {background: black !important; cursor: default !important;}",
  106. " #alert {pointer-events: none !important;}",
  107. " #alert > * {pointer-events: auto !important;}"
  108. ].join("\n");
  109. if (false || (document.domain == "adultmult.tv" || document.domain.substring(document.domain.indexOf(".adultmult.tv") + 1) == "adultmult.tv"))
  110. css += [
  111. ".menuposition, .allsearch {margin-top: 0 !important;}",
  112. " .menusection {position: static !important;}",
  113. " body {background: black !important;}",
  114. " .adsbygoogle, #aswift_0_expand {display: none !important;}"
  115. ].join("\n");
  116. if (false || (document.domain == "afisha.ru" || document.domain.substring(document.domain.indexOf(".afisha.ru") + 1) == "afisha.ru"))
  117. css += [
  118. ".page_block_content {width:100% !important;}",
  119. " .page_block_adv {background:none !important;}"
  120. ].join("\n");
  121. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  122. css += [
  123. " #new_logo_helper01 {top: 0 !important;}",
  124. " #header-links {display: none !important;}"
  125. ].join("\n");
  126. if (false || (document.domain == "aif.ru" || document.domain.substring(document.domain.indexOf(".aif.ru") + 1) == "aif.ru"))
  127. css += "#container:not(#id) {margin-top:0!important;}";
  128. if (false || (document.domain == "ain.ua" || document.domain.substring(document.domain.indexOf(".ain.ua") + 1) == "ain.ua"))
  129. css += [
  130. "body:not(#id) {background: white !important;}"
  131. ].join("\n");
  132. if (false || (document.domain == "all-episodes.net" || document.domain.substring(document.domain.indexOf(".all-episodes.net") + 1) == "all-episodes.net"))
  133. css += [
  134. ".wrapper {top: 0!important;}",
  135. " #ad3, :not(#ad3)>div[id^=\"bn_\"] {position: fixed !important; top: -10000px !important; left: -10000px!important;}"
  136. ].join("\n");
  137. if (false || (document.domain == "allhockey.ru" || document.domain.substring(document.domain.indexOf(".allhockey.ru") + 1) == "allhockey.ru"))
  138. css += ".adr-top { height:0 !important;min-height:0!important;}";
  139. if (false || (document.domain == "aliexpress.com" || document.domain.substring(document.domain.indexOf(".aliexpress.com") + 1) == "aliexpress.com"))
  140. css += [
  141. " div.categories-main{ display: inline-block !important; width:auto !important; } dl.cl-item{display: inline-block !important;}",
  142. " div.index-page>div.user-helper-footer{position: relative !important; top: 120px !important; padding: 0 !important;}",
  143. " div.index-page>div.site-footer{position: relative !important; top: 120px !important; margin: 0 !important; padding: 0 !important;}",
  144. " div.index-page>div.footer-copywrite{position: relative !important; top: 120px !important;}",
  145. " div.index-page{height: inherit !important;}"
  146. ].join("\n");
  147. if (false || (document.domain == "animedia.tv" || document.domain.substring(document.domain.indexOf(".animedia.tv") + 1) == "animedia.tv"))
  148. css += [
  149. ".promo__wrapper {display: none !important;}"
  150. ].join("\n");
  151. if (false || (document.domain == "animemovie.ru" || document.domain.substring(document.domain.indexOf(".animemovie.ru") + 1) == "animemovie.ru"))
  152. css += [
  153. "header[role=\"banner\"], body > .standard {height: 100px !important; background: transparent !important;}",
  154. " nav[role=\"navigation\"] > ul {top: 0 !important;}",
  155. " .htitle {margin-left: 0 !important; left: 150px !important;}",
  156. " .logo {margin-left: 0 !important; left: 0 !important;}"
  157. ].join("\n");
  158. if (false || (document.domain == "animeonline.su" || document.domain.substring(document.domain.indexOf(".animeonline.su") + 1) == "animeonline.su"))
  159. css += [
  160. "#wrapper {padding-top: 50px !important;}",
  161. " #brandParallax {display: none !important;}"
  162. ].join("\n");
  163. if (false || (document.domain == "animevost.org" || document.domain.substring(document.domain.indexOf(".animevost.org") + 1) == "animevost.org"))
  164. css += [
  165. "div[class^=\"headbg\"] {background-image:none !important;height:auto !important;}",
  166. " div[class^=\"headbg\"] > .menu {top:0 !important;}",
  167. " div[class^=\"headbg\"] > .menu .sar {bottom:auto !important;top:50px !important;z-index:100 !important;}"
  168. ].join("\n");
  169. if (false || (document.domain == "aniplay.tv" || document.domain.substring(document.domain.indexOf(".aniplay.tv") + 1) == "aniplay.tv"))
  170. css += [
  171. "body {cursor: auto !important;}",
  172. " .ap2-main-header {height: 30px !important;}",
  173. " .ap2-main-header-banner {display: none !important;}"
  174. ].join("\n");
  175. if (false || (document.domain == "anistar.me" || document.domain.substring(document.domain.indexOf(".anistar.me") + 1) == "anistar.me"))
  176. css += [
  177. "body > .clear + div:not(.main) {display:none !important;}",
  178. " body > header {padding-bottom: 20px !important;}",
  179. " .wrapper.width1200 {margin-top:0 !important;}",
  180. " .drowmenu {z-index: 1999999999 !important;}"
  181. ].join("\n");
  182. if (false || (document.domain == "anti-malware.ru" || document.domain.substring(document.domain.indexOf(".anti-malware.ru") + 1) == "anti-malware.ru"))
  183. css += "#header-bg-enf {margin-top:0 !important;}";
  184. if (false || (document.domain == "app2top.ru" || document.domain.substring(document.domain.indexOf(".app2top.ru") + 1) == "app2top.ru"))
  185. css += [
  186. "body > .page {margin-top: 0 !important;}"
  187. ].join("\n");
  188. if (false || (document.domain == "auto.ru" || document.domain.substring(document.domain.indexOf(".auto.ru") + 1) == "auto.ru"))
  189. css += [
  190. ".i-bem[data-bem*=\"\\\"ad\\\"\"], .card__ins-button-direct {position: fixed !important;",
  191. " top:-10000px!important;}"
  192. ].join("\n");
  193. if (false || (document.domain == "bestpersons.ru" || document.domain.substring(document.domain.indexOf(".bestpersons.ru") + 1) == "bestpersons.ru"))
  194. css += [
  195. "/* Fx compat fix */",
  196. " #userTabs {float:none !important;}"
  197. ].join("\n");
  198. if (false || (document.domain == "binmovie.org" || document.domain.substring(document.domain.indexOf(".binmovie.org") + 1) == "binmovie.org"))
  199. css += " #content {top:0 !important;left:0 !important;width:100% !important;margin-left:0 !important;}";
  200. if (false || (document.domain == "bvedomosti.ru" || document.domain.substring(document.domain.indexOf(".bvedomosti.ru") + 1) == "bvedomosti.ru"))
  201. css += [
  202. ".art-Header {display:none !important;}",
  203. " #art-main {background-image:none !important;}",
  204. " .bg-top-menu {top:0 !important;}"
  205. ].join("\n");
  206. if (false || (document.domain == "carambatv.ru" || document.domain.substring(document.domain.indexOf(".carambatv.ru") + 1) == "carambatv.ru"))
  207. css += " .content {background:none !important;padding:0 !important;}";
  208. if (false || (document.domain == "cars.ru" || document.domain.substring(document.domain.indexOf(".cars.ru") + 1) == "cars.ru"))
  209. css += [
  210. "#main {margin-top:0 !important;}",
  211. " A[href*=\"/adclick.php?bannerid=\"] {display:none !important;}"
  212. ].join("\n");
  213. if (false || (document.domain == "casstudio.tv" || document.domain.substring(document.domain.indexOf(".casstudio.tv") + 1) == "casstudio.tv"))
  214. css += [
  215. ".footer {margin-bottom: 0 !important;}"
  216. ].join("\n");
  217. if (false || (document.domain == "cf.ua" || document.domain.substring(document.domain.indexOf(".cf.ua") + 1) == "cf.ua"))
  218. css += [
  219. ".hamburger__overlay.no-close {display:none !important;}",
  220. " body.overflow--hidden, .scroll-content.disable-scrolling {overflow:auto !important;}"
  221. ].join("\n");
  222. if (false || (document.domain == "championat.com" || document.domain.substring(document.domain.indexOf(".championat.com") + 1) == "championat.com"))
  223. css += [
  224. "html:not(#id) {padding-top: 0 !important;}"
  225. ].join("\n");
  226. if (false || (document.domain == "cinema-hd.ru" || document.domain.substring(document.domain.indexOf(".cinema-hd.ru") + 1) == "cinema-hd.ru"))
  227. css += ".wrap {padding-top:0!important;}";
  228. if (false || (document.domain == "creativportal.ru" || document.domain.substring(document.domain.indexOf(".creativportal.ru") + 1) == "creativportal.ru"))
  229. css += [
  230. " .pocaz {width: 10px !important; height: 10px !important; position: fixed !important; top:-100px !important;}"
  231. ].join("\n");
  232. if (false || (document.domain == "cyberforum.ru" || document.domain.substring(document.domain.indexOf(".cyberforum.ru") + 1) == "cyberforum.ru"))
  233. css += [
  234. "body>div[style*=\"width\"][style*=\"margin\"] {margin-top: 0 !important;}"
  235. ].join("\n");
  236. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru"))
  237. css += [
  238. "body:not(#id), body>div[class]:not(#id), body>div[class]>div[class]:not(#id) {background: black !important; padding-top: 0 !important;}",
  239. " #headerProxy {height: 150px !important;}",
  240. " .subline + style + div:not([id]) {background: transparent !important; position: fixed !important; height: 1px !important;}",
  241. " a[href*=\"go.mail.ru/r/\"] {display: none !important;}"
  242. ].join("\n");
  243. if (false || (document.domain == "drahelas.ru" || document.domain.substring(document.domain.indexOf(".drahelas.ru") + 1) == "drahelas.ru"))
  244. css += [
  245. ".adb, .navbar_notice {position: fixed !important; transform: scale(0) !important;}",
  246. " .forumAd {height: 1px !important;}"
  247. ].join("\n");
  248. if (false || (document.domain == "drive.ru" || document.domain.substring(document.domain.indexOf(".drive.ru") + 1) == "drive.ru"))
  249. css += "body>div {background:none !important;padding-top:0 !important;}";
  250. if (false || (document.domain == "drive2.ru" || document.domain.substring(document.domain.indexOf(".drive2.ru") + 1) == "drive2.ru"))
  251. css += [
  252. ".c-slideshow__nav {max-width: 40px !important;}"
  253. ].join("\n");
  254. if (false || (document.domain == "dugtor.ru" || document.domain.substring(document.domain.indexOf(".dugtor.ru") + 1) == "dugtor.ru") || (document.domain == "nnm2.com" || document.domain.substring(document.domain.indexOf(".nnm2.com") + 1) == "nnm2.com"))
  255. css += [
  256. "body > #page {padding-top: 0 !important;}"
  257. ].join("\n");
  258. if (false || (document.domain == "dynamo.kiev.ua" || document.domain.substring(document.domain.indexOf(".dynamo.kiev.ua") + 1) == "dynamo.kiev.ua"))
  259. css += [
  260. ".fader-social {display: none !important;}",
  261. " .social-open {overflow: auto !important;}"
  262. ].join("\n");
  263. if (false || (document.domain == "economistua.com" || document.domain.substring(document.domain.indexOf(".economistua.com") + 1) == "economistua.com"))
  264. css += [
  265. ".wpmui-overlay, .wdpu-container {display: none !important;}",
  266. " html, body {padding-top: 0 !important; background: whitesmoke !important; overflow: auto !important; pointer-events: none !important;}",
  267. " body > * {pointer-events: auto !important;}"
  268. ].join("\n");
  269. if (false || (document.domain == "enki.ua" || document.domain.substring(document.domain.indexOf(".enki.ua") + 1) == "enki.ua") || (document.domain == "hi-news.ru" || document.domain.substring(document.domain.indexOf(".hi-news.ru") + 1) == "hi-news.ru"))
  270. css += [
  271. "body {background: none !important;}"
  272. ].join("\n");
  273. if (false || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua"))
  274. css += [
  275. " body {cursor:auto !important;}",
  276. " body>div[align=\"center\"] {width:auto !important;margin:0 !important;}"
  277. ].join("\n");
  278. if (false || (document.domain == "fast-torrent.ru" || document.domain.substring(document.domain.indexOf(".fast-torrent.ru") + 1) == "fast-torrent.ru") || (document.domain == "fast-torrent.co" || document.domain.substring(document.domain.indexOf(".fast-torrent.co") + 1) == "fast-torrent.co") || (document.domain == "fasttorrent.ru" || document.domain.substring(document.domain.indexOf(".fasttorrent.ru") + 1) == "fasttorrent.ru"))
  279. css += [
  280. "body {background: white !important; padding-top:0px !important;}",
  281. " body{background: url(\'\') !important;}",
  282. " body{background-image: url(\" \") !important;}",
  283. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-image: url(\" \") !important;}",
  284. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-url: none !important;}",
  285. " #container {margin-top:0 !important;}"
  286. ].join("\n");
  287. if (false || (document.domain == "fastpic.ru" || document.domain.substring(document.domain.indexOf(".fastpic.ru") + 1) == "fastpic.ru"))
  288. css += [
  289. "html, body:not([style]) {pointer-events: none !important; height: 100% !important; cursor: auto !important; background-color: whitesmoke !important;}",
  290. " #mainContainer, #content, #footer {position: static !important; margin-top: 0 !important;}",
  291. " body>img, /* support for https://github.com/Infocatcher/UserScripts/tree/master/Direct_Images */ #mainContainer,",
  292. " #footerContainer, #content, #footer, #show-code-content {pointer-events: auto !important;}",
  293. " .picinfo, #summaryLinks {width: 700px !important; word-wrap: break-word !important;}"
  294. ].join("\n");
  295. if (false || (document.domain == "fb.ru" || document.domain.substring(document.domain.indexOf(".fb.ru") + 1) == "fb.ru") || (document.domain == "hosgeldi.com" || document.domain.substring(document.domain.indexOf(".hosgeldi.com") + 1) == "hosgeldi.com"))
  296. css += [
  297. ".adsbygoogle {position: fixed !important; top: -10000px !important;}"
  298. ].join("\n");
  299. if (false || (document.domain == "firepic.org" || document.domain.substring(document.domain.indexOf(".firepic.org") + 1) == "firepic.org"))
  300. css += [
  301. "body {padding:0 !important; background-image:none !important;}",
  302. " .container,.row {max-width:none !important;}",
  303. " .container {width:100% !important;}",
  304. " .row {padding:30px !important; margin:0 !important;}",
  305. " .span12 {clear:both}"
  306. ].join("\n");
  307. if (false || (document.domain == "fishki.net" || document.domain.substring(document.domain.indexOf(".fishki.net") + 1) == "fishki.net"))
  308. css += "#container {cursor:auto !important;}";
  309. if (false || (document.domain == "fototips.ru" || document.domain.substring(document.domain.indexOf(".fototips.ru") + 1) == "fototips.ru"))
  310. css += [
  311. ".ftips-branding .td-main-page-wrap, .ftips-branding-ad + div,",
  312. " .ftips-branding.td_category_template_1 .td-category-header {padding-top: 5px !important;}"
  313. ].join("\n");
  314. if (false || (document.domain == "dugtor.ru" || document.domain.substring(document.domain.indexOf(".dugtor.ru") + 1) == "dugtor.ru") || (document.domain == "freehat.cc" || document.domain.substring(document.domain.indexOf(".freehat.cc") + 1) == "freehat.cc") || (document.domain == "border-fan.ru" || document.domain.substring(document.domain.indexOf(".border-fan.ru") + 1) == "border-fan.ru") || (document.domain == "dad-fan.ru" || document.domain.substring(document.domain.indexOf(".dad-fan.ru") + 1) == "dad-fan.ru") || (document.domain == "grif-fan.ru" || document.domain.substring(document.domain.indexOf(".grif-fan.ru") + 1) == "grif-fan.ru") || (document.domain == "lalapaluza.ru" || document.domain.substring(document.domain.indexOf(".lalapaluza.ru") + 1) == "lalapaluza.ru") || (document.domain == "simp-fan.ru" || document.domain.substring(document.domain.indexOf(".simp-fan.ru") + 1) == "simp-fan.ru") || (document.domain == "sp-fan.ru" || document.domain.substring(document.domain.indexOf(".sp-fan.ru") + 1) == "sp-fan.ru"))
  315. css += [
  316. "body:not(#id) {background: whitesmoke !important;}",
  317. " #page {margin-top: 0 !important;}"
  318. ].join("\n");
  319. if (false || (document.domain == "free-torrent.org" || document.domain.substring(document.domain.indexOf(".free-torrent.org") + 1) == "free-torrent.org") || (document.domain == "free-torrent.pw" || document.domain.substring(document.domain.indexOf(".free-torrent.pw") + 1) == "free-torrent.pw") || (document.domain == "free-torrents.org" || document.domain.substring(document.domain.indexOf(".free-torrents.org") + 1) == "free-torrents.org") || (document.domain == "free-torrents.pw" || document.domain.substring(document.domain.indexOf(".free-torrents.pw") + 1) == "free-torrents.pw"))
  320. css += [
  321. "#sidebar2 {padding-top:0 !important;}",
  322. " #main-wrapper {width:100% !important;top:0 !important;}"
  323. ].join("\n");
  324. if (false || (document.domain == "gamebomb.ru" || document.domain.substring(document.domain.indexOf(".gamebomb.ru") + 1) == "gamebomb.ru"))
  325. css += [
  326. "#ssdfsd,.dfgdjkfgh{background-image:none !important;}",
  327. " #content {padding-top: 0 !important; margin-top: 0 !important; pointer-events: none !important;}",
  328. " #basic-content-container > * {pointer-events: auto !important;}"
  329. ].join("\n");
  330. if (false || (document.domain == "gamer-info.com" || document.domain.substring(document.domain.indexOf(".gamer-info.com") + 1) == "gamer-info.com"))
  331. css += "#all-content-container {padding:0 !important;}";
  332. if (false || (document.domain == "gametech.ru" || document.domain.substring(document.domain.indexOf(".gametech.ru") + 1) == "gametech.ru"))
  333. css += [
  334. "body {background:#eee !important;}"
  335. ].join("\n");
  336. if (false || (document.domain == "gastronom.ru" || document.domain.substring(document.domain.indexOf(".gastronom.ru") + 1) == "gastronom.ru"))
  337. css += [
  338. "body { cursor: auto !important;}",
  339. " #wrapper {max-width: none !important;}"
  340. ].join("\n");
  341. if (false || (document.domain == "gazeta.ru" || document.domain.substring(document.domain.indexOf(".gazeta.ru") + 1) == "gazeta.ru"))
  342. css += [
  343. ".sausage-list-maintheme.maintheme-flow .sausage-list-item:first-child {z-index: 1 !important;}"
  344. ].join("\n");
  345. if (false || (document.domain == "get-tune.cc" || document.domain.substring(document.domain.indexOf(".get-tune.cc") + 1) == "get-tune.cc") || (document.domain == "mp3.cc" || document.domain.substring(document.domain.indexOf(".mp3.cc") + 1) == "mp3.cc"))
  346. css += [
  347. "#xx1 {padding-top: 50px !important;}"
  348. ].join("\n");
  349. if (false || (document.domain == "gidonline.eu" || document.domain.substring(document.domain.indexOf(".gidonline.eu") + 1) == "gidonline.eu") || (document.domain == "gidonline.in" || document.domain.substring(document.domain.indexOf(".gidonline.in") + 1) == "gidonline.in"))
  350. css += [
  351. "#headerline {margin-top: 0 !important;}"
  352. ].join("\n");
  353. if (false || (document.domain == "goclips.tv" || document.domain.substring(document.domain.indexOf(".goclips.tv") + 1) == "goclips.tv"))
  354. css += " .video_content {height:auto !important;}";
  355. if (false || (document.domain == "goha.ru" || document.domain.substring(document.domain.indexOf(".goha.ru") + 1) == "goha.ru"))
  356. css += [
  357. "#full-brand-footer>div[style*=\"fixed\"], #head-tuppy>a {display:none !important;}",
  358. " #full-brand {background-image:none !important;}",
  359. " #head-tuppy {height: 7px !important;}"
  360. ].join("\n");
  361. if (false || (document.domain == "goodgame.ru" || document.domain.substring(document.domain.indexOf(".goodgame.ru") + 1) == "goodgame.ru"))
  362. css += [
  363. ".main-block .main-inner-wrap {margin-top: 0 !important;}"
  364. ].join("\n");
  365. if (false || (document.domain == "gotps3.ru" || document.domain.substring(document.domain.indexOf(".gotps3.ru") + 1) == "gotps3.ru"))
  366. css += "#Page {margin-top:0 !important;}";
  367. if (false || (document.domain == "gstv.ru" || document.domain.substring(document.domain.indexOf(".gstv.ru") + 1) == "gstv.ru"))
  368. css += ".page-content {margin-top:0 !important;}";
  369. if (false || (document.domain == "gtavicecity.ru" || document.domain.substring(document.domain.indexOf(".gtavicecity.ru") + 1) == "gtavicecity.ru"))
  370. css += [
  371. ".body-container {margin-top: 0 !important;}"
  372. ].join("\n");
  373. if (false || (document.domain == "happy-hack.ru" || document.domain.substring(document.domain.indexOf(".happy-hack.ru") + 1) == "happy-hack.ru"))
  374. css += [
  375. "body > [id^=\"blockblock\"] {visibility: visible !important; display: block !important;}",
  376. " table[id^=\"blockblock\"] {display: none !important;}"
  377. ].join("\n");
  378. if (false || (document.domain == "hd720kino.ru" || document.domain.substring(document.domain.indexOf(".hd720kino.ru") + 1) == "hd720kino.ru"))
  379. css += [
  380. ".main.center {margin-top: 0 !important;}",
  381. " .wrap {background: none !important;}"
  382. ].join("\n");
  383. if (false || (document.domain == "hdfilms.tv" || document.domain.substring(document.domain.indexOf(".hdfilms.tv") + 1) == "hdfilms.tv"))
  384. css += " #subheader{padding-top:1px !important;}";
  385. if (false || (document.domain == "hdkinoclub.com" || document.domain.substring(document.domain.indexOf(".hdkinoclub.com") + 1) == "hdkinoclub.com"))
  386. css += [
  387. "#faac {padding-top: 0 !important;}"
  388. ].join("\n");
  389. if (false || (document.domain == "hdrezka.ag" || document.domain.substring(document.domain.indexOf(".hdrezka.ag") + 1) == "hdrezka.ag"))
  390. css += [
  391. " .b-post__mixedtext~style+div[id] {display: none !important;}",
  392. " .b-content__columns, #top-nav + .b-container .b-content__inline_inner {padding-right: 0 !important;}",
  393. " #ownplayer, #videoplayer {width: auto !important; height: auto !important;}",
  394. " #cdn-player, #youtubeplayer {width: 960px !important; height: 540px !important;}",
  395. " .b-translator__item {margin-left: 0 !important; margin-right: 3px !important;}",
  396. " .b-sidelist .b-content__inline_item {width: 145px !important;}",
  397. " .b-sidelist .b-content__inline_item a > img {width: 137px !important; height: auto !important;}",
  398. " #vk_groups {margin-left: -280px !important; padding-top: 80px !important;}",
  399. " .b-post__info {width: 475px !important;}"
  400. ].join("\n");
  401. if (false || (document.domain == "hideip.me" || document.domain.substring(document.domain.indexOf(".hideip.me") + 1) == "hideip.me"))
  402. css += [
  403. "[style*=\"block\"][style$=\"400px\"],",
  404. " [id^=\"numban\"]:not(#id),",
  405. " [id^=\"numlink\"]:not(#id),",
  406. " [class^=\"numlink\"]:not(#id),",
  407. " a[href*=\"/banner/purchase/\"]:not(#id),",
  408. " .region-highlighted .content > center:not(#id) {",
  409. " width: 10px!important;",
  410. " height:10px!important;",
  411. " display: block !important;",
  412. " transform: scale(0) !important;",
  413. " position: fixed !important;}"
  414. ].join("\n");
  415. if (false || (document.domain == "houzz.ru" || document.domain.substring(document.domain.indexOf(".houzz.ru") + 1) == "houzz.ru"))
  416. css += [
  417. ".modal.in.modal-vc {display: none !important;}",
  418. " html, body.modal-open {overflow: auto !important;}"
  419. ].join("\n");
  420. if (false || (document.domain == "hs-manacost.ru" || document.domain.substring(document.domain.indexOf(".hs-manacost.ru") + 1) == "hs-manacost.ru"))
  421. css += [
  422. "body {background-image: none !important; background-color: whitesmoke !important;}",
  423. " body, #td-outer-wrap {pointer-events: none !important;}",
  424. " body > *, #td-outer-wrap > * {pointer-events: auto !important;}"
  425. ].join("\n");
  426. if (false || (document.domain == "igromania.ru" || document.domain.substring(document.domain.indexOf(".igromania.ru") + 1) == "igromania.ru"))
  427. css += [
  428. "body > .outer_outer > .outer_inner {background: #dedede !important;}"
  429. ].join("\n");
  430. if (false || (document.domain == "infomama.com.ua" || document.domain.substring(document.domain.indexOf(".infomama.com.ua") + 1) == "infomama.com.ua"))
  431. css += [
  432. "#logo {display:none !important;}",
  433. " #headerMover #headerProxy {height: 50px !important;}"
  434. ].join("\n");
  435. if (false || (document.domain == "infpol.ru" || document.domain.substring(document.domain.indexOf(".infpol.ru") + 1) == "infpol.ru"))
  436. css += [
  437. ".header__stick {top: 0 !important;}",
  438. " .header {height: 60px !important;}"
  439. ].join("\n");
  440. if (false || (document.domain == "iphones.ru" || document.domain.substring(document.domain.indexOf(".iphones.ru") + 1) == "iphones.ru"))
  441. css += "#contentShifter {height:127px!important;}";
  442. if (false || (document.domain == "forum.ixbt.com" || document.domain.substring(document.domain.indexOf(".forum.ixbt.com") + 1) == "forum.ixbt.com"))
  443. css += [
  444. ".body_content_table > .left.column {margin-right: 0 !important; width: 100% !important;}",
  445. " .body_wrapper {max-width: 100% !important;}",
  446. " .fullscreen_branding ~ .body_content_table {margin-top: 0 !important; z-index: 0 !important;}",
  447. " .left.column > #question.dialog_thanks {left: 67% !important;}"
  448. ].join("\n");
  449. if (false || (document.domain == "kaluga-poisk.ru" || document.domain.substring(document.domain.indexOf(".kaluga-poisk.ru") + 1) == "kaluga-poisk.ru"))
  450. css += [
  451. "body:not(#id) {background: whitesmoke !important;}"
  452. ].join("\n");
  453. if (false || (document.domain == "katushka.org" || document.domain.substring(document.domain.indexOf(".katushka.org") + 1) == "katushka.org") || (document.domain == "katushka.tv" || document.domain.substring(document.domain.indexOf(".katushka.tv") + 1) == "katushka.tv"))
  454. css += [
  455. "#branding {background: none !important; pointer-events: none !important; padding-top: 0 !important;}",
  456. " #branding > * {pointer-events: auto;}"
  457. ].join("\n");
  458. if (false || (document.domain == "kg-portal.ru" || document.domain.substring(document.domain.indexOf(".kg-portal.ru") + 1) == "kg-portal.ru"))
  459. css += [
  460. ".ten_topbar + div:not(.ten_ears_wrap) {display: none !important;}",
  461. " .ten_ears_wrap {margin: 35px auto 0 auto !important;}",
  462. " body {background-image: none !important;}"
  463. ].join("\n");
  464. if (false || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv"))
  465. css += " #main {width: auto !important;}";
  466. if (false || (document.domain == "kino-serial.net" || document.domain.substring(document.domain.indexOf(".kino-serial.net") + 1) == "kino-serial.net"))
  467. css += "#header+div[style*=\"height\"] {height:90px!important;}";
  468. if (false || (document.domain == "kino-v-online.tv" || document.domain.substring(document.domain.indexOf(".kino-v-online.tv") + 1) == "kino-v-online.tv"))
  469. css += [
  470. "#global_content {margin-top: 0 !important;}"
  471. ].join("\n");
  472. if (false || (document.domain == "kinoafisha.info" || document.domain.substring(document.domain.indexOf(".kinoafisha.info") + 1) == "kinoafisha.info"))
  473. css += [
  474. ".popup-illumination {display: none !important;}",
  475. " .main_frame {background: none !important;}",
  476. " body.main:not(#id) {background: #141414 !important; overflow: visible !important;}"
  477. ].join("\n");
  478. if (false || (document.domain == "kinobars.net" || document.domain.substring(document.domain.indexOf(".kinobars.net") + 1) == "kinobars.net"))
  479. css += [
  480. ".wrapper > .header {padding: 30px !important;}"
  481. ].join("\n");
  482. if (false || (document.domain == "kinobel.by" || document.domain.substring(document.domain.indexOf(".kinobel.by") + 1) == "kinobel.by"))
  483. css += ".bg-site {padding-top:0 !important;}";
  484. if (false || (document.domain == "kinogb.club" || document.domain.substring(document.domain.indexOf(".kinogb.club") + 1) == "kinogb.club"))
  485. css += [
  486. "body {background: whitesmoke !important;}",
  487. " .header {height: 120px !important;}"
  488. ].join("\n");
  489. if (false || (document.domain == "kinogohd.net" || document.domain.substring(document.domain.indexOf(".kinogohd.net") + 1) == "kinogohd.net"))
  490. css += [
  491. "body {background-color: whitesmoke !important;}",
  492. " .topmenu {height: auto !important;}",
  493. " .deepnavigation {padding-top: 0 !important;}",
  494. " .wrapper {padding-top: 250px !important;}"
  495. ].join("\n");
  496. if (false || (document.domain == "kinokrad.su" || document.domain.substring(document.domain.indexOf(".kinokrad.su") + 1) == "kinokrad.su"))
  497. css += [
  498. "#wrapper:not(#id) {margin-top: 46px !important;}"
  499. ].join("\n");
  500. if (false || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru"))
  501. css += [
  502. " #external_header_wrapper:not(#id) {top: 0 !important;}",
  503. " body{background:none !important;}",
  504. " body{background:#C0C0C0 !important; overflow: auto !important;}",
  505. // !! " body {background: #d5d5d5 !important; color: #333 !important; overflow: auto !important;}",
  506. // !! " body{background:url(\'\') !important;}",
  507. " html[style] {background-image: url(\'\') !important;}",
  508. " body:not(#id) > #top:not(#id) {max-height: 120px !important; margin-bottom: 0 !important;}",
  509. " html:not(#id) > body:not(#id) {background: #d5d5d5 !important; color: #333 !important; overflow: auto !important;}",
  510. " #top .png_block, #GoUpClickZone{background:url(\'\') !important;}",
  511. " #top {height:100px !important;}",
  512. " .master {top:1px !important;}",
  513. " .menu {top:1px !important;}",
  514. // !! выравниваем секцию поиск:
  515. // " #top_form {top: 2px !important;}",
  516. // " #top .png_block {top: 2px !important;}",
  517. " #top_form, #top .menu, #top .png_block, #external_header_wrapper {top: 0 !important;}",
  518. // !! расширяем полезную площадь
  519. " #content_block, .contentBlock1, .shadow, #top, #top .png_block, .block_left_padtop, #photoInfoTable{width:100% !important;}",
  520. " div[id\*=\"div_review_\"]{width:98% !important;}",
  521. " .brand, .branding_flash, #partial_component__tickets-promo-popup {display: none !important;}",
  522. " .brand_words, p[id\^=\"ext_text_\"], ._reachbanner_ {width:100% !important;}",
  523. " .reviewItem, .userReview, p[id\^=\"ext_text_\"][data-find], span._reachbanner_ {width:100% !important;}",
  524. " div#content_block.contentBlock0>table {margin:0 0 !important;}",
  525. " div#content_block.contentBlock1>table {width:95% !important;}",
  526. " div#content_block.contentBlock1>table>tbody[data-find]>tr[data-find] {width:95% !important;}",
  527. " #photoBlock {padding-left:20px !important;}",
  528. " div#nav_express {padding-left:40px !important;}"
  529. ].join("\n");
  530. if (false || (document.domain == "kinosklad.net" || document.domain.substring(document.domain.indexOf(".kinosklad.net") + 1) == "kinosklad.net"))
  531. css += [
  532. ".margin-top#content_site {margin-top: 0 !important;}"
  533. ].join("\n");
  534. if (false || (document.domain == "kinotochka.club" || document.domain.substring(document.domain.indexOf(".kinotochka.club") + 1) == "kinotochka.club"))
  535. css += ".center-box2 {margin-top: 0!important;}";
  536. if (false || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net"))
  537. css += " body.brending {padding-top:180px !important;}";
  538. if (false || (document.domain == "kirovnet.ru" || document.domain.substring(document.domain.indexOf(".kirovnet.ru") + 1) == "kirovnet.ru"))
  539. css += [
  540. ".subbody2 {margin-top: 0 !important;}",
  541. " .bg_container {padding-top: 0 !important;}"
  542. ].join("\n");
  543. if (false || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru"))
  544. css += " #dynamic-content{margin-top: 0 !important;}";
  545. if (false || (document.domain == "macdigger.ru" || document.domain.substring(document.domain.indexOf(".macdigger.ru") + 1) == "macdigger.ru"))
  546. css += [
  547. "#funnyWrapper {padding-top: 0 !important;}"
  548. ].join("\n");
  549. if (false || (document.domain == "mail.rambler.ru" || document.domain.substring(document.domain.indexOf(".mail.rambler.ru") + 1) == "mail.rambler.ru"))
  550. css += [
  551. ".appSearchBar, .appWindowWithBanner {right: 0 !important; }"
  552. ].join("\n");
  553. 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"))
  554. css += " .b-branding__wrap {padding:0 !important;}";
  555. if (false || (document.domain == "mediananny.com" || document.domain.substring(document.domain.indexOf(".mediananny.com") + 1) == "mediananny.com"))
  556. css += [
  557. "body {background-image: none !important; padding-top: 0 !important; cursor: auto !important;}"
  558. ].join("\n");
  559. if (false || (document.domain == "mirf.ru" || document.domain.substring(document.domain.indexOf(".mirf.ru") + 1) == "mirf.ru"))
  560. css += [
  561. "#cb-bg-to {display: none !important;}",
  562. " #cb-outer-container {margin-top: 0 !important;}"
  563. ].join("\n");
  564. if (false || (document.domain == "movieshok.ru" || document.domain.substring(document.domain.indexOf(".movieshok.ru") + 1) == "movieshok.ru"))
  565. css += [
  566. ".wrapp_content {margin-top: 0 !important;}"
  567. ].join("\n");
  568. if (false || (document.domain == "mobiltelefon.ru" || document.domain.substring(document.domain.indexOf(".mobiltelefon.ru") + 1) == "mobiltelefon.ru"))
  569. css += [
  570. "#main_tb {top: 0 !important;}"
  571. ].join("\n");
  572. if (false || (document.domain == "muzland.ru" || document.domain.substring(document.domain.indexOf(".muzland.ru") + 1) == "muzland.ru"))
  573. css += [
  574. "body { filter:none !important;}",
  575. " .googlefull {height:1px !important;}"
  576. ].join("\n");
  577. if (false || (document.domain == "muzofond.org" || document.domain.substring(document.domain.indexOf(".muzofond.org") + 1) == "muzofond.org"))
  578. css += [
  579. "body.branding .container .content { margin-top: 100px !important;}"
  580. ].join("\n");
  581. if (false || (document.domain == "my-hit.org" || document.domain.substring(document.domain.indexOf(".my-hit.org") + 1) == "my-hit.org"))
  582. css += [
  583. ".navbar-default {margin-bottom: 0 !important;}"
  584. ].join("\n");
  585. if (false || (document.domain == "naruto-base.su" || document.domain.substring(document.domain.indexOf(".naruto-base.su") + 1) == "naruto-base.su"))
  586. css += [
  587. "#sheader > *:not([class=\"right snav\"]):not([class=\"search_h1\"]) {display:none !important;}",
  588. " #rasp {left: 0 !important; right: auto !important; height: 116px !important;}",
  589. " #rasp .side-r {top:-4px !important;}",
  590. " #sheader {height: 157px !important; background: rgb(255, 216, 138) !important;}",
  591. " #sheader:before {",
  592. " content: \"\" !important;",
  593. " position: absolute !important;",
  594. " top: 7px; left: 0; right: 0; bottom: 0 !important;",
  595. " box-shadow: 0 -1px 5px 2px rgba(0, 0, 0, 0.3) !important;",
  596. " pointer-events: none !important;",
  597. " /* Original pattern source: http://lea.verou.me/css3patterns/#seigaiha */",
  598. " background-image:",
  599. "radial-gradient(circle at 100% 150%, #ff8840 24%, #ffecbe 25%, #ffecbe 28%, #ff8840 29%, #ff8840 35%, #ffecbe 36%, #ffecbe 39%, transparent 40%, transparent),",
  600. "radial-gradient(circle at 0 150%, #ff8840 24%, #ffecbe 25%, #ffecbe 28%, #ff8840 29%, #ff8840 35%, #ffecbe 36%, #ffecbe 39%, transparent 40%, transparent),",
  601. "radial-gradient(circle at 50% 100%, #ffecbe 10%, #ff8840 11%, #ff8840 23%, #ffecbe 24%, #ffecbe 30%, #ff8840 31%, #ff8840 43%, #ffecbe 44%, #ffecbe 50%, #ff8840 51%, #ff8840 63%, #ffecbe 64%, #ffecbe 70%, transparent 72%, transparent),",
  602. "radial-gradient(circle at 100% 50%, #ffecbe 5%, #ff8840 6%, #ff8840 15%, #ffecbe 16%, #ffecbe 20%, #ff8840 21%, #ff8840 30%, #ffecbe 31%, #ffecbe 35%, #ff8840 36%, #ff8840 45%, #ffecbe 46%, #ffecbe 49%, transparent 50%, transparent),",
  603. "radial-gradient(circle at 0 50%, #ffecbe 5%, #ff8840 6%, #ff8840 15%, #ffecbe 16%, #ffecbe 20%, #ff8840 21%, #ff8840 30%, #ffecbe 31%, #ffecbe 35%, #ff8840 36%, #ff8840 45%, #ffecbe 46%, #ffecbe 49%, transparent 50%, transparent) !important;",
  604. " background-size: 60px 30px !important;",
  605. " background-repeat: repeat !important;",
  606. " }",
  607. " #sheader:after {",
  608. " content: \"\" !important;",
  609. " position: absolute !important;",
  610. " top: 7px; left: 0; right: 0; bottom: 0 !important;",
  611. " background: linear-gradient(to bottom, rgba(255, 216, 138, 1) 0%, rgba(255, 216, 138, 1) 10%, rgba(255, 216, 138, 0) 100%) !important;",
  612. " pointer-events: none !important;",
  613. " }",
  614. " .right.snav {float: left !important; margin-top: 126px !important; margin-left: 0 !important;}",
  615. " .right.snav #nav {border-top-right-radius: 5px !important;}",
  616. " .search_h1 {bottom: -118px !important;}",
  617. " .search_h1 input {padding: 6px !important;}",
  618. " #cont_1s {margin-top: 30px !important;}"
  619. ].join("\n");
  620. if (false || (document.domain == "naruto-brand.ru" || document.domain.substring(document.domain.indexOf(".naruto-brand.ru") + 1) == "naruto-brand.ru"))
  621. css += [
  622. "#nqpR {display:none !important;}"
  623. ].join("\n");
  624. if (false || (document.domain == "nnm2.com" || document.domain.substring(document.domain.indexOf(".nnm2.com") + 1) == "nnm2.com"))
  625. css += [
  626. "html > body:not(#id) {background: #abc4a1 !important;}"
  627. ].join("\n");
  628. if (false || (document.domain == "noob-club.ru" || document.domain.substring(document.domain.indexOf(".noob-club.ru") + 1) == "noob-club.ru"))
  629. css += "#header-new {margin-bottom:0 !important;}";
  630. if (false || (document.domain == "www.okino.ua" || document.domain.substring(document.domain.indexOf(".www.okino.ua") + 1) == "www.okino.ua"))
  631. css += [
  632. ".fader-social {display: none !important;}",
  633. " .social-open {overflow: auto !important;}"
  634. ].join("\n");
  635. if (false || (document.domain == "anidub-online.ru" || document.domain.substring(document.domain.indexOf(".anidub-online.ru") + 1) == "anidub-online.ru") || (document.domain == "online.anidub.com" || document.domain.substring(document.domain.indexOf(".online.anidub.com") + 1) == "online.anidub.com"))
  636. css += [
  637. " .background {background: none !important;}",
  638. " .background>script + div, .background>script ~ div:not([id]):not([class]) + div[id][class] {display: none !important;}"
  639. ].join("\n");
  640. if (false || (document.domain == "anime-rus.ru" || document.domain.substring(document.domain.indexOf(".anime-rus.ru") + 1) == "anime-rus.ru"))
  641. css += [
  642. ".nav {position: relative !important;}",
  643. " #hide_show {display: none !important;}"
  644. ].join("\n");
  645. if (false || (document.domain == "androidinsider.ru" || document.domain.substring(document.domain.indexOf(".androidinsider.ru") + 1) == "androidinsider.ru"))
  646. css += [
  647. "#trend {margin-bottom: 0 !important;}",
  648. " #wrapper {background: none !important;}"
  649. ].join("\n");
  650. if (false || (document.domain == "online.animedia.tv" || document.domain.substring(document.domain.indexOf(".online.animedia.tv") + 1) == "online.animedia.tv"))
  651. css += [
  652. " .promo {display: none !important;}",
  653. " .main-container {margin-top: 80px !important;}"
  654. ].join("\n");
  655. if (false || (document.domain == "oper.ru" || document.domain.substring(document.domain.indexOf(".oper.ru") + 1) == "oper.ru"))
  656. css += [
  657. "#wrapper {padding-bottom: 0 !important;}"
  658. ].join("\n");
  659. if (false || (document.domain == "pb.wtf" || document.domain.substring(document.domain.indexOf(".pb.wtf") + 1) == "pb.wtf") || (document.domain == "piratbit.org" || document.domain.substring(document.domain.indexOf(".piratbit.org") + 1) == "piratbit.org") || (document.domain == "piratbit.ru" || document.domain.substring(document.domain.indexOf(".piratbit.ru") + 1) == "piratbit.ru"))
  660. css += [
  661. "div[id] > div[class][style^=\"width: 24\"] {display: none !important;}"
  662. ].join("\n");
  663. if (false || (document.domain == "peka2.tv" || document.domain.substring(document.domain.indexOf(".peka2.tv") + 1) == "peka2.tv"))
  664. css += [
  665. "advert-header-banner, .body--has-ad:before {display: none !important;}",
  666. " .body--has-ad {padding-top: 0 !important;}"
  667. ].join("\n");
  668. if (false || (document.domain == "penzainform.ru" || document.domain.substring(document.domain.indexOf(".penzainform.ru") + 1) == "penzainform.ru"))
  669. css += [
  670. "body {cursor: auto; pointer-events: none; background: whitesmoke !important;}",
  671. " #divWrapper {pointer-events: none !important;}",
  672. " #divWrapper > * {pointer-events: auto; !important;}"
  673. ].join("\n");
  674. if (false || (document.domain == "playground.ru" || document.domain.substring(document.domain.indexOf(".playground.ru") + 1) == "playground.ru"))
  675. css += [
  676. "#foundationWrapper {background: #373737!important;}"
  677. ].join("\n");
  678. if (false || (document.domain == "podrobno.uz" || document.domain.substring(document.domain.indexOf(".podrobno.uz") + 1) == "podrobno.uz"))
  679. css += [
  680. ".main {margin-top: 0 !important;}"
  681. ].join("\n");
  682. if (false || (document.domain == "politobzor.net" || document.domain.substring(document.domain.indexOf(".politobzor.net") + 1) == "politobzor.net"))
  683. css += " .banner {height:90px !important;}";
  684. if (false || (document.domain == "pornreactor.cc" || document.domain.substring(document.domain.indexOf(".pornreactor.cc") + 1) == "pornreactor.cc"))
  685. css += [
  686. "body, #background, #container {background: #6d1700 !important; padding-top: 0 !important;}",
  687. " #container > :not(#page) a[target^=\"_\"] {display: none !important;}"
  688. ].join("\n");
  689. if (false || (document.domain == "povarenok.ru" || document.domain.substring(document.domain.indexOf(".povarenok.ru") + 1) == "povarenok.ru"))
  690. css += [
  691. ".car_content {margin:0 !important;width:100% !important;}",
  692. " .car_recept {width:97% !important;}",
  693. " .cont_head, .cont_mid, .car_footer {background:none !important;}",
  694. " .car_header, .petushok, .cont_foot {display:none !important;}"
  695. ].join("\n");
  696. if (false || (document.domain == "promodj.com" || document.domain.substring(document.domain.indexOf(".promodj.com") + 1) == "promodj.com"))
  697. css += " #topbrandingspot {padding-top:0 !important;}";
  698. if (false || (document.domain == "prophotos.ru" || document.domain.substring(document.domain.indexOf(".prophotos.ru") + 1) == "prophotos.ru"))
  699. css += [
  700. "body:not(#id) {",
  701. " padding-top: 130px!important;",
  702. " }"
  703. ].join("\n");
  704. if (false || (document.domain == "prostoporno.club" || document.domain.substring(document.domain.indexOf(".prostoporno.club") + 1) == "prostoporno.club") || (document.domain == "prostoporno.me" || document.domain.substring(document.domain.indexOf(".prostoporno.me") + 1) == "prostoporno.me") || (document.domain == "prostoporno.sex" || document.domain.substring(document.domain.indexOf(".prostoporno.sex") + 1) == "prostoporno.sex") || (document.domain == "prostoporno.tv" || document.domain.substring(document.domain.indexOf(".prostoporno.tv") + 1) == "prostoporno.tv") || (document.domain == "prostoporno.xxx" || document.domain.substring(document.domain.indexOf(".prostoporno.xxx") + 1) == "prostoporno.xxx"))
  705. css += [
  706. ".has_adv .content_wrapper {margin-top: 0 !important;}"
  707. ].join("\n");
  708. if (false || (document.domain == "pure-t.ru" || document.domain.substring(document.domain.indexOf(".pure-t.ru") + 1) == "pure-t.ru"))
  709. css += [
  710. ".g1-header {top: 0 !important; position: relative !important;}"
  711. ].join("\n");
  712. if (false || (document.domain == "pvpru.com" || document.domain.substring(document.domain.indexOf(".pvpru.com") + 1) == "pvpru.com"))
  713. css += [
  714. "#ad_global_below_navbar, #header ~ * {position: fixed !important; transform: scale(0) !important; top: -10000px !important;}",
  715. " .above_body > div[style] {height: auto !important;}"
  716. ].join("\n");
  717. if (false || (document.domain == "qrz.ru" || document.domain.substring(document.domain.indexOf(".qrz.ru") + 1) == "qrz.ru"))
  718. css += [
  719. "iframe[src^=\"//ads.qrz.ru\"], .advertising, .advertising *, .sidebar_banner, .adsbygoogle, div:not([id]):not([class])[style*=\"height:150px\"] {height: 1px !important; position: fixed !important; transform: scale(0) !important;}"
  720. ].join("\n");
  721. if (false || (document.domain == "ria.ru" || document.domain.substring(document.domain.indexOf(".ria.ru") + 1) == "ria.ru"))
  722. css += [
  723. ".m-blur {filter: none !important; position: relative !important;}",
  724. " .m-blur ~ #modalLayer {display: none !important;}"
  725. ].join("\n");
  726. if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
  727. css += [
  728. "#octo-set {background-image: none !important; padding-top: 0 !important;}",
  729. " #main-wrapper {width: auto !important;}"
  730. ].join("\n");
  731. if (false || (document.domain == "riotpixels.com" || document.domain.substring(document.domain.indexOf(".riotpixels.com") + 1) == "riotpixels.com"))
  732. css += [
  733. "body {background-image:none !important;}",
  734. " .all-wrapper, .bottom-bar {top:0 !important;}",
  735. " .bottom-bar, .action-menu {position:fixed !important;}"
  736. ].join("\n");
  737. if (false || (document.domain == "root-nation.com" || document.domain.substring(document.domain.indexOf(".root-nation.com") + 1) == "root-nation.com"))
  738. css += [
  739. ".backstretch {display: none !important;}",
  740. " .td-header-wrap > * {pointer-events: auto !important;}",
  741. " body > #td-outer-wrap > :not(.td-header-wrap) {pointer-events: auto !important;}",
  742. " body > #td-outer-wrap {pointer-events: none !important;}",
  743. " body {cursor: auto !important;}"
  744. ].join("\n");
  745. if (false || (document.domain == "rufilmtv.org" || document.domain.substring(document.domain.indexOf(".rufilmtv.org") + 1) == "rufilmtv.org"))
  746. css += [
  747. "#content:not(#id) {padding-top: 0 !important;}"
  748. ].join("\n");
  749. if (false || (document.domain == "rufootballtv.org" || document.domain.substring(document.domain.indexOf(".rufootballtv.org") + 1) == "rufootballtv.org"))
  750. css += [
  751. "body > #branding {padding-top: 0 !important;}"
  752. ].join("\n");
  753. if (false || (document.domain == "rusfootball.info" || document.domain.substring(document.domain.indexOf(".rusfootball.info") + 1) == "rusfootball.info"))
  754. css += [
  755. "#wrap {top:0 !important;}"
  756. ].join("\n");
  757. if (false || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru"))
  758. css += [
  759. ".sub-frame, .low-frame, #wrapper {position: static !important; float: none !important; width: 100% !important;}",
  760. " .main-frame {background:none !important; padding-top:0 !important; cursor:auto !important; pointer-events:none !important;}",
  761. " #wrapper > * {pointer-events:auto !important;}",
  762. " #media {padding-bottom:0 !important;}"
  763. ].join("\n");
  764. if (false || (document.domain == "seasonvar.re" || document.domain.substring(document.domain.indexOf(".seasonvar.re") + 1) == "seasonvar.re") || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru"))
  765. css += " body {background-color:#707070 !important;}";
  766. if (false || (document.domain == "season-var.net" || document.domain.substring(document.domain.indexOf(".season-var.net") + 1) == "season-var.net"))
  767. css += [
  768. "#main-wrapper {top: 0 !important;}"
  769. ].join("\n");
  770. if (false || (document.domain == "semestr.ru" || document.domain.substring(document.domain.indexOf(".semestr.ru") + 1) == "semestr.ru"))
  771. css += [
  772. ".adsbygoogle {max-height: 1px !important;}",
  773. " #idbanner, #mainb, #soloway240, .well-google {max-height: 41px !important; opacity: 0 !important; pointer-events: none !important;}",
  774. " body > .row {margin-left: 0 !important; margin-right: 0 !important;}"
  775. ].join("\n");
  776. if (false || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com"))
  777. css += " #wrapper>#all {margin-top:0 !important;}";
  778. if (false || (document.domain == "smotri-filmi.net" || document.domain.substring(document.domain.indexOf(".smotri-filmi.net") + 1) == "smotri-filmi.net"))
  779. css += " .broda {margin-top:0!important;}";
  780. if (false || (document.domain == "snob.ru" || document.domain.substring(document.domain.indexOf(".snob.ru") + 1) == "snob.ru"))
  781. css += [
  782. ".promotion .h-layoutWide {cursor: auto !important;}"
  783. ].join("\n");
  784. if (false || (document.domain == "soccer.ru" || document.domain.substring(document.domain.indexOf(".soccer.ru") + 1) == "soccer.ru") || (document.domain == "soccer0010.com" || document.domain.substring(document.domain.indexOf(".soccer0010.com") + 1) == "soccer0010.com"))
  785. css += [
  786. "#site {margin-top: 0 !important;}"
  787. ].join("\n");
  788. if (false || (document.domain == "spbvoditel.ru" || document.domain.substring(document.domain.indexOf(".spbvoditel.ru") + 1) == "spbvoditel.ru"))
  789. css += [
  790. // !! расширяем
  791. " .main .content .right-col {width: 90% !important;}"
  792. ].join("\n");
  793. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  794. css += [
  795. ".kaspersky, .overall, #branding-layout {background:none !important;}",
  796. " body.img-bg, #branding-layout:not(#id) {background: #f5f8fa !important; padding-top: 0 !important;}",
  797. " #branding-layout {background:url(\'\') !important;}",
  798. " [data-content-name=\"banner-static\"] {pointer-events: none !important;}",
  799. ".kaspersky, .pageLayout {top: 0px !important;}",
  800. // !! расширяем
  801. " .page-layout, .pageLayout{top: 0px !important; max-width: 2000px !important; }",
  802. " .content-wrapper, .columns-layout__main, .g-wrap-main, .layout-columns {width: 100% !important;}",
  803. " .main-wrap{width: 95% !important;}",
  804. " .box{width: 98% !important;}",
  805. " .mainPart{width: 80% !important;}",
  806. " .additional-block {width:200px !important;}",
  807. " .rightPart {width:20% !important;}",
  808. " .rightPart {margin-left: 80% !important;}",
  809. " .columns-layout__left + .columns-layout__main {max-width: 1100px !important;}",
  810. " #branding-layout{padding-top: 0px !important;}",
  811. " .tag-main-block .box {padding-right: 0px !important;}"
  812. ].join("\n");
  813. if (false || (document.domain == "tricolor.tv" || document.domain.substring(document.domain.indexOf(".tricolor.tv") + 1) == "tricolor.tv"))
  814. css += [
  815. " {background-image:url(\" \") !important;}",
  816. " #allWrap {background: #dfdfdf !important;}",
  817. " .is-index-help, #allWrap {background:url(\" \") !important;}"
  818. ].join("\n");
  819. if (false || (document.domain == "torrent-games.net" || document.domain.substring(document.domain.indexOf(".torrent-games.net") + 1) == "torrent-games.net"))
  820. css += [
  821. " html {position:relative !important; top:-232px !important;}",
  822. " #body1:before, #body1:after {display: block !important; position: fixed !important; content: \"\" !important; background: white !important; height: 100% !important; top: 0 !important;}",
  823. " #body1:before {width: 50px !important; left: 0px !important;}",
  824. " #body1:after {width: calc(100% - 1130px) !important; right:0px !important;}",
  825. " @media (min-width: 1196px) { #body1:before, #body1:after { width:calc((100% - 1080px) / 2) !important; } }"
  826. ].join("\n");
  827. if (false || (document.domain == "torrentom.com" || document.domain.substring(document.domain.indexOf(".torrentom.com") + 1) == "torrentom.com"))
  828. css += [
  829. "body, #footer_reklama {pointer-events: none !important;}",
  830. " body > *:not(#footer_reklama), #footer_reklama > * { pointer-events: auto !important;}"
  831. ].join("\n");
  832. if (false || (document.domain == "tort.fm" || document.domain.substring(document.domain.indexOf(".tort.fm") + 1) == "tort.fm"))
  833. css += "#topper_up {height:88px !important;}";
  834. if (false || (document.domain == "tnt-online.ru" || document.domain.substring(document.domain.indexOf(".tnt-online.ru") + 1) == "tnt-online.ru"))
  835. css += [
  836. "/*self-ads for bitblock*/",
  837. " #contentShifter {display:none !important;}",
  838. " #all {top:15px !important;}"
  839. ].join("\n");
  840. if (false || (document.domain == "tracktor.tv" || document.domain.substring(document.domain.indexOf(".tracktor.tv") + 1) == "tracktor.tv"))
  841. css += [
  842. ".pagebg {padding-top: 0 !important;}"
  843. ].join("\n");
  844. if (false || (document.domain == "tree.tv" || document.domain.substring(document.domain.indexOf(".tree.tv") + 1) == "tree.tv"))
  845. css += ".wrapper {margin-top:0!important;}";
  846. if (false || (document.domain == "ua-cinema.com" || document.domain.substring(document.domain.indexOf(".ua-cinema.com") + 1) == "ua-cinema.com"))
  847. css += [
  848. "body {background: #091016 !important;}",
  849. " .head-top {position: absolute !important;}"
  850. ].join("\n");
  851. if (false || (document.domain == "vgtimes.ru" || document.domain.substring(document.domain.indexOf(".vgtimes.ru") + 1) == "vgtimes.ru"))
  852. css += [
  853. "html:not(#html) .fixed_header { margin-top: 0 !important;}",
  854. " a[href^=\"/go/?http://ads.adfox.ru/\"], a[href^=\"/go/?https://ads.adfox.ru/\"]{display: none !important;}"
  855. ].join("\n");
  856. if (false || (document.domain == "videomore.ru" || document.domain.substring(document.domain.indexOf(".videomore.ru") + 1) == "videomore.ru"))
  857. css += [
  858. " body > .wrapper {padding-top: 0 !important;",
  859. " background-color: #ECEFF2 !important;}",
  860. " .wrapper.adfoxClickable {padding-top: 0 !important;",
  861. " background-image: none !important;",
  862. " pointer-events: none !important;",
  863. " background-color: #ECEFF2!important;}",
  864. " .wrapper.adfoxClickable > div {pointer-events: auto!important;}"
  865. ].join("\n");
  866. if (false || (document.domain == "warfiles.ru" || document.domain.substring(document.domain.indexOf(".warfiles.ru") + 1) == "warfiles.ru"))
  867. css += "#header + .banner {height:100px !important;}";
  868. if (false || (document.domain == "vz.ru" || document.domain.substring(document.domain.indexOf(".vz.ru") + 1) == "vz.ru"))
  869. css += [
  870. " div.main-container{max-width: inherit !important;}",
  871. " div.main-menu>div.menu.sys_thumbs{overflow: inherit !important;}",
  872. " div.main-menu>div.menu.sys_thumbs>ul>li.thumb{margin-right: 0 !important;}",
  873. " div.menu{max-width: inherit !important;}"
  874. ].join("\n");
  875. if (false || (document.domain == "webfile.ru" || document.domain.substring(document.domain.indexOf(".webfile.ru") + 1) == "webfile.ru"))
  876. css += ".p_wrap {margin-top:0 !important;}";
  877. if (false || (document.domain == "wotspeak.ru" || document.domain.substring(document.domain.indexOf(".wotspeak.ru") + 1) == "wotspeak.ru"))
  878. css += [
  879. "#popup-1 {display: none !important;}",
  880. " .wrap {transform: none !important; margin-top: 0 !important;}"
  881. ].join("\n");
  882. if (false || (document.domain == "live-rutor.org" || document.domain.substring(document.domain.indexOf(".live-rutor.org") + 1) == "live-rutor.org"))
  883. css += [
  884. "body { overflow: auto!important;}"
  885. ].join("\n");
  886. if (false || (document.domain == "xatab-repack.net" || document.domain.substring(document.domain.indexOf(".xatab-repack.net") + 1) == "xatab-repack.net"))
  887. css += [
  888. "#page {background: none !important;}",
  889. " #content {padding-top: 55px !important;}"
  890. ].join("\n");
  891. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  892. css += " .body-branding {background:none !important;padding-top:0 !important;}";
  893. if (false || (document.domain == "zaycev.online" || document.domain.substring(document.domain.indexOf(".zaycev.online") + 1) == "zaycev.online"))
  894. css += [
  895. ".content:not(#id) {margin-top: 80px !important;}"
  896. ].join("\n");
  897. if (false || (document.domain == "zoneofgames.ru" || document.domain.substring(document.domain.indexOf(".zoneofgames.ru") + 1) == "zoneofgames.ru"))
  898. css += [
  899. ".branding-bottom, .branding, div.logo {background: none !important; height: auto !important;}",
  900. " .branding-bottom > div[style*=\"padding:\"] {padding-top: 5px !important;}"
  901. ].join("\n");
  902. if (false || (document.domain == "zoomby.ru" || document.domain.substring(document.domain.indexOf(".zoomby.ru") + 1) == "zoomby.ru"))
  903. css += [
  904. "#global_wrapper_cont {padding:0 !important;}",
  905. " .wrapper {margin-top:60px !important;}"
  906. ].join("\n");
  907. if (false || (document.domain == "eg.ru" || document.domain.substring(document.domain.indexOf(".eg.ru") + 1) == "eg.ru") || (document.domain == "gagadget.com" || document.domain.substring(document.domain.indexOf(".gagadget.com") + 1) == "gagadget.com") || (document.domain == "msn.com" || document.domain.substring(document.domain.indexOf(".msn.com") + 1) == "msn.com") || (document.domain == "ngs.ru" || document.domain.substring(document.domain.indexOf(".ngs.ru") + 1) == "ngs.ru") || (document.domain == "news.rambler.ru" || document.domain.substring(document.domain.indexOf(".news.rambler.ru") + 1) == "news.rambler.ru") || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  908. css += [
  909. "html:not(#id), body:not(#id) {overflow: auto !important;}"
  910. ].join("\n");
  911. if (false || (document.domain == "autoua.net" || document.domain.substring(document.domain.indexOf(".autoua.net") + 1) == "autoua.net"))
  912. css += [
  913. ".fader-social {display: none !important;}",
  914. " .social-open {overflow: auto !important;}"
  915. ].join("\n");
  916. if (false || (document.domain == "eg.ru" || document.domain.substring(document.domain.indexOf(".eg.ru") + 1) == "eg.ru"))
  917. css += [
  918. ".facebook-bn_site-overlay {display: none !important;}"
  919. ].join("\n");
  920. if (false || (document.domain == "gagadget.com" || document.domain.substring(document.domain.indexOf(".gagadget.com") + 1) == "gagadget.com"))
  921. css += [
  922. ".fader-social { display:none !important;}"
  923. ].join("\n");
  924. if (false || (document.domain == "life.ru" || document.domain.substring(document.domain.indexOf(".life.ru") + 1) == "life.ru"))
  925. css += [
  926. "div[class^=\"arcticmodal-\"], .banner-mylife,.banner-mylife-backdrop {display: none !important;}",
  927. " body:not(#id) {overflow: auto !important; margin-right: auto !important;}"
  928. ].join("\n");
  929. if (false || (document.domain == "msn.com" || document.domain.substring(document.domain.indexOf(".msn.com") + 1) == "msn.com"))
  930. css += [
  931. ".promobanner {display: none !important;}"
  932. ].join("\n");
  933. if (false || (document.domain == "ngs.ru" || document.domain.substring(document.domain.indexOf(".ngs.ru") + 1) == "ngs.ru") || (document.domain == "news.rambler.ru" || document.domain.substring(document.domain.indexOf(".news.rambler.ru") + 1) == "news.rambler.ru"))
  934. css += [
  935. ".subscribe-popup__wrapper, .subscribe-popup-cover, .subscribe-popup, .social-popup {display: none !important;}"
  936. ].join("\n");
  937. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  938. css += [
  939. ".popup_push {display:none !important;}"
  940. ].join("\n");
  941. if (false || (document.domain == "26-2.ru" || document.domain.substring(document.domain.indexOf(".26-2.ru") + 1) == "26-2.ru") || (document.domain == "arbitr-praktika.ru" || document.domain.substring(document.domain.indexOf(".arbitr-praktika.ru") + 1) == "arbitr-praktika.ru") || (document.domain == "budgetnik.ru" || document.domain.substring(document.domain.indexOf(".budgetnik.ru") + 1) == "budgetnik.ru") || (document.domain == "business.ru" || document.domain.substring(document.domain.indexOf(".business.ru") + 1) == "business.ru") || (document.domain == "cxychet.ru" || document.domain.substring(document.domain.indexOf(".cxychet.ru") + 1) == "cxychet.ru") || (document.domain == "dirsalona.ru" || document.domain.substring(document.domain.indexOf(".dirsalona.ru") + 1) == "dirsalona.ru") || (document.domain == "fd.ru" || document.domain.substring(document.domain.indexOf(".fd.ru") + 1) == "fd.ru") || (document.domain == "gazeta-unp.ru" || document.domain.substring(document.domain.indexOf(".gazeta-unp.ru") + 1) == "gazeta-unp.ru") || (document.domain == "gd.ru" || document.domain.substring(document.domain.indexOf(".gd.ru") + 1) == "gd.ru") || (document.domain == "gkh.ru" || document.domain.substring(document.domain.indexOf(".gkh.ru") + 1) == "gkh.ru") || (document.domain == "glavbukh.ru" || document.domain.substring(document.domain.indexOf(".glavbukh.ru") + 1) == "glavbukh.ru") || (document.domain == "golovbukh.ua" || document.domain.substring(document.domain.indexOf(".golovbukh.ua") + 1) == "golovbukh.ua") || (document.domain == "hr-director.ru" || document.domain.substring(document.domain.indexOf(".hr-director.ru") + 1) == "hr-director.ru") || (document.domain == "kadrovik01.com.ua" || document.domain.substring(document.domain.indexOf(".kadrovik01.com.ua") + 1) == "kadrovik01.com.ua") || (document.domain == "kdelo.ru" || document.domain.substring(document.domain.indexOf(".kdelo.ru") + 1) == "kdelo.ru") || (document.domain == "kom-dir.ru" || document.domain.substring(document.domain.indexOf(".kom-dir.ru") + 1) == "kom-dir.ru") || (document.domain == "lawyercom.ru" || document.domain.substring(document.domain.indexOf(".lawyercom.ru") + 1) == "lawyercom.ru") || (document.domain == "menobr.ru" || document.domain.substring(document.domain.indexOf(".menobr.ru") + 1) == "menobr.ru") || (document.domain == "nalogplan.ru" || document.domain.substring(document.domain.indexOf(".nalogplan.ru") + 1) == "nalogplan.ru") || (document.domain == "pro-goszakaz.ru" || document.domain.substring(document.domain.indexOf(".pro-goszakaz.ru") + 1) == "pro-goszakaz.ru") || (document.domain == "pro-personal.ru" || document.domain.substring(document.domain.indexOf(".pro-personal.ru") + 1) == "pro-personal.ru") || (document.domain == "resobr.ru" || document.domain.substring(document.domain.indexOf(".resobr.ru") + 1) == "resobr.ru") || (document.domain == "rnk.ru" || document.domain.substring(document.domain.indexOf(".rnk.ru") + 1) == "rnk.ru") || (document.domain == "stroychet.ru" || document.domain.substring(document.domain.indexOf(".stroychet.ru") + 1) == "stroychet.ru") || (document.domain == "trudohrana.ru" || document.domain.substring(document.domain.indexOf(".trudohrana.ru") + 1) == "trudohrana.ru") || (document.domain == "ugpr.ru" || document.domain.substring(document.domain.indexOf(".ugpr.ru") + 1) == "ugpr.ru") || (document.domain == "zarplata-online.ru" || document.domain.substring(document.domain.indexOf(".zarplata-online.ru") + 1) == "zarplata-online.ru") || (document.domain == "zdrav.ru" || document.domain.substring(document.domain.indexOf(".zdrav.ru") + 1) == "zdrav.ru"))
  942. css += [
  943. "body {overflow: auto !important;}",
  944. " div[class^=\"GbShadow\"], .jqmWindow, .jqmOverlay, .megaShadow, ._top_990x70 {display: none !important;}"
  945. ].join("\n");
  946. if (false || (document.domain == "cloud.mail.ru" || document.domain.substring(document.domain.indexOf(".cloud.mail.ru") + 1) == "cloud.mail.ru"))
  947. css += [
  948. ".content__left > style + div[id]:not(#breadcrumbs), .b-layout__col_2_2 > style + div[id][class] {transform: scale(0) !important; opacity: 0 !important; pointer-events: none !important; position: fixed !important; top: -1000px !important;}"
  949. ].join("\n");
  950. if (false || (document.domain == "e.mail.ru" || document.domain.substring(document.domain.indexOf(".e.mail.ru") + 1) == "e.mail.ru"))
  951. css += "#leftcol-banners,.b-rb,.message-sent__hr.message-sent__hr_big,.message-sent__hr.message-sent__hr_small,#preload_banner_1,.message-sent__ads,.message-sent__wrap:nth-of-type(4),.js-helper.direct-state {transform: scale(0) !important;opacity:0 !important;pointer-events:none !important;position:fixed !important;top:-1000px!important;}";
  952. if (false || (document.domain == "go.mail.ru" || document.domain.substring(document.domain.indexOf(".go.mail.ru") + 1) == "go.mail.ru"))
  953. css += [
  954. "html:not(#id) body:not(#id) .responses__wrapper > div[id^=\"js-\"][id$=\"Block\"] > [class$=\"-block\"] {display: none !important; opacity: 0 !important; pointer-events:none !important; height: 0 !important;}"
  955. ].join("\n");
  956. if (false || (document.domain == "hi-tech.mail.ru" || document.domain.substring(document.domain.indexOf(".hi-tech.mail.ru") + 1) == "hi-tech.mail.ru"))
  957. css += [
  958. "#portal-menu, .header-banner {margin: 0 !important;}"
  959. ].join("\n");
  960. if (false || (document.domain == "sport.mail.ru" || document.domain.substring(document.domain.indexOf(".sport.mail.ru") + 1) == "sport.mail.ru"))
  961. css += [
  962. ".index-top__left__inner {padding-right: 0 !important;}"
  963. ].join("\n");
  964. if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
  965. css += [
  966. "#doubleformat_down, .branding-p, div[data-module^=\"Slot.mimic.\"], noindex[style*=\"!\"] {transform: scale(0) !important; opacity: 0 !important; pointer-events: none !important; position: fixed !important; top: -1000px !important;}"
  967. ].join("\n");
  968. if (false || (document.location.href.indexOf("https://reports.adblockplus.org/digest?") === 0))
  969. css += [
  970. " html, body {height:100% !important; overflow:hidden !important;}",
  971. " #reports {height:calc(100% - 50px) !important; width:calc(100% - 2px) !important; }"
  972. ].join("\n");
  973. if (false || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com"))
  974. css += [
  975. " body {background:white !important;}",
  976. " body {background-color:white!important;}",
  977. " body{background-image: url() !important;}",
  978. " body{background-image: none !important;}",
  979. " div{background-image: url() !important;}",
  980. " .branding {padding-top: 5px !important;}",
  981. " body {padding-top: 5px !important;}",
  982. " .b-content.b-content__breadcrumbs {margin-top: 0 !important;}",
  983. " .limiter{padding-top: 5px !important; margin-top: 0 !important;}",
  984. " .main_tm_search_tool,.searchline {background: white !important;}",
  985. // !! для широкоформатных мониторов
  986. " .header_container, .bottom_container, #content, .content, .wrapper, .limiter {width: 100% !important;}",
  987. " div.limiter > div.wrapper > div.c_w > table > tbody > tr > td[align=\"center\"] > table[width=\"960\"] {width: 100% !important;}"
  988. ].join("\n");
  989. if (false || (document.domain == "dugtor-deer.pw" || document.domain.substring(document.domain.indexOf(".dugtor-deer.pw") + 1) == "dugtor-deer.pw") || (document.domain == "nnm-club.name" || document.domain.substring(document.domain.indexOf(".nnm-club.name") + 1) == "nnm-club.name") || (document.domain == "nnm-club.me" || document.domain.substring(document.domain.indexOf(".nnm-club.me") + 1) == "nnm-club.me") || (document.domain == "nnm-club.tv" || document.domain.substring(document.domain.indexOf(".nnm-club.tv") + 1) == "nnm-club.tv") || (document.domain == "nnmclub.to" || document.domain.substring(document.domain.indexOf(".nnmclub.to") + 1) == "nnmclub.to"))
  990. // ! console.log("es1");
  991. css += [
  992. "body{background:none !important;}",
  993. " body {padding-top:0px !important;}",
  994. " body{background-image:none !important;}",
  995. " body{padding:0 !important;}",
  996. " body > .wrap {top: 0 !important;}",
  997. " .skin-block{background-image:url(\" \") !important;}",
  998. " element.style{background-image:url(\"\") !important;}",
  999. " #brTop{background-image:url(\"\") !important;}",
  1000. " html{prefix:\" \" !important;}",
  1001. // !! --- широко
  1002. // !! ".wrap{min-width:1030px;max-width:100% !important;}",
  1003. " body>table[width=\"85%\"]{width:100% !important;}",
  1004. " body>div.wrap{max-width:100% !important;}",
  1005. " body>div.wrap{min-width:1030px !important;}"
  1006. ].join("\n");
  1007. if (false || (new RegExp("^https?:\/\/(www|beta)\.gismeteo\.")).test(document.location.href))
  1008. css += [
  1009. " #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,.content{background:url(http://www.refropkb.ru/Images/685414393.jpg) !important;background-attachment: fixed !important;}#weather-maps .fcontent{height:280px !important;}#weather-maps li{width:108px !important;} .wsection table{width: 690px !important;}",
  1010. " .soft-promo, #soft-promo{display:none !important;}",
  1011. // !!? " #graph{float:none !important;}", //проверить
  1012. " div#post-container,div#pre-container,.soft-promo{background:url(\"\") !important;}",
  1013. " td.content.editor{background:url(\"\") !important;} ",
  1014. " div.map.lazyload{background-image:url(\"\") !important;}",
  1015. // !! оставим меню: снежинки вырезать, на бету сходить
  1016. " #header, #header .fcontent{height:26px !important;}",
  1017. " #menu{top:0px !important;}",
  1018. " .flakesnow{left:0px !important;}",
  1019. " li#tourism_button{display:none !important;}"
  1020. ].join("\n");
  1021. if (false || (document.domain == "mynnm.ru" || document.domain.substring(document.domain.indexOf(".mynnm.ru") + 1) == "mynnm.ru"))
  1022. css += [
  1023. " html:not(#id),body:not(#id) {background-image:none!important;}",
  1024. " body{background: none !important;}",
  1025. " body, #theme_8, #theme_2, #theme_3, #theme_4, #theme_5, #theme_6, #theme_7, #theme_1{background: url(\'\') !important;}",
  1026. // !! " body {background-image:none !important;}",
  1027. " body, div#page{background:gray !important;background-color:gray !important;}",
  1028. " body, div#page, element.style, #brTop{background-image:url(\'\') !important;}",
  1029. " body, div#page, .pirate-branding, .pb_button_play{background:none !important;}",
  1030. " div#page, div#wrap, div#content-b{margin-top:0px !important;top: 0px !important;}",
  1031. " div#optionspanel{margin-top:0px !important; margin-left:0px !important;}",
  1032. " div#page>div[style*=\"width: 990px;\"][style*=\"height: 206px; position: relative;\"]{height: 0px !important;}",
  1033. " .pb_top_img, .pirate-branding, a.pb_link, .pb_logo_brand, .pb_left_banner, .pb_right_banner, #b-logo{height: 0px !important;}",
  1034. " .pirate-branding, .pb_button_play_big{top:0px !important;}",
  1035. " body{padding-top: 0px !important;}",
  1036. " body > #page {padding-top: 0 !important;}",
  1037. " #mmmBanner{height: 0px !important;}",
  1038. " .head_assn {height: 0px !important; width: 0px !important;}",
  1039. " .head_assn .assn_logo {width: 0px !important; height: 0px !important; top: 0px !important; left: 0px !important; background: url(\" \") !important; }",
  1040. " .head_assn .assn_slogan {width: 0px !important; height: 0px !important; top: 0px !important; left:0px !important; background: url(\" \") !important; }",
  1041. " html{height: 0px !important;}",
  1042. " body{click=(\'\') !important;}",
  1043. // !! заполненяем всю ширину экрана
  1044. " #wrap, htmlarea, text{width: 99% !important;}",
  1045. " #scrollPanel{width: auto !important;}",
  1046. " #wrapper {width: auto !important;}",
  1047. " #content{width: auto !important;}",
  1048. " #content-b, text{width: 100% !important;}",
  1049. " #cntnt, #content-b{position: absolute !important; left: 0px !important; margin-top: 0px !important; margin-left: 0px !important;}",
  1050. // !! проверить замену " .categories{margin: 0 100px 10px !important; float: left !important;}",
  1051. " .categories{width: auto !important; margin: -60px 180px 10px !important; float: left !important;}",
  1052. // !! убрать? " body {text-align:center !important;}",
  1053. // !! убрать? " #page {display:inline-block !important; top:0px !important; margin-top:0 !important;}",
  1054. " #wrap {text-align:initial !important;}"
  1055. ].join("\n");
  1056. if (false || (document.domain == "music.yandex.by" || document.domain.substring(document.domain.indexOf(".music.yandex.by") + 1) == "music.yandex.by") || (document.domain == "music.yandex.kz" || document.domain.substring(document.domain.indexOf(".music.yandex.kz") + 1) == "music.yandex.kz") || (document.domain == "music.yandex.ru" || document.domain.substring(document.domain.indexOf(".music.yandex.ru") + 1) == "music.yandex.ru") || (document.domain == "music.yandex.ua" || document.domain.substring(document.domain.indexOf(".music.yandex.ua") + 1) == "music.yandex.ua"))
  1057. css += [
  1058. ".bar_new-pay-under .bar__new-pay {display: none !important;}",
  1059. " .bar_new-pay-under {height: 60px !important;}",
  1060. " .bar_new-pay-under .progress {bottom: 60px !important;}"
  1061. ].join("\n");
  1062. if (false || (document.domain == "tv.yandex.by" || document.domain.substring(document.domain.indexOf(".tv.yandex.by") + 1) == "tv.yandex.by") || (document.domain == "tv.yandex.kz" || document.domain.substring(document.domain.indexOf(".tv.yandex.kz") + 1) == "tv.yandex.kz") || (document.domain == "tv.yandex.ru" || document.domain.substring(document.domain.indexOf(".tv.yandex.ru") + 1) == "tv.yandex.ru") || (document.domain == "tv.yandex.ua" || document.domain.substring(document.domain.indexOf(".tv.yandex.ua") + 1) == "tv.yandex.ua"))
  1063. css += [
  1064. ".grid-chunk > .grid__item_before-blank {margin-right: 0 !important;}"
  1065. ].join("\n");
  1066. 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"))
  1067. css += [
  1068. // ! site yandex
  1069. // !!? ".adsrv {width:0px !important;min-width:0 !important;max-width:0 !important;",
  1070. "div:not([style^=\"padding: 0px\"][style*=\"content-box\"])[style*=\' !important\'][style*=\'display\'][style*=\'visibility\'][style*=\'visible\'] {width:0 !important;min-width:0 !important; max-width:0 !important;",
  1071. " height:0 !important;min-height:0 !important;max-height:0 !important;",
  1072. " overflow:hidden !important;}",
  1073. " .serp-header {margin-top: 0 !important;}",
  1074. " .b-top-wizard{width:1000px !important;} .b-body-items.b-serp-list{width:1000px !important;}",
  1075. " /* Исправление для горизонтальной прокрутки на Погоде по выходным */",
  1076. " .forecast-brief__item-temp-day { width: auto !important;}",
  1077. " }",
  1078. " /* Пустое место от директа на tv.yandex */ ",
  1079. " .tv-grid__page > div[class^=\"tv-grid__item\"], .tv-grid__page > .tv-sortable-item { margin-right: auto !important;}",
  1080. // ! !! чистим maps.yandex
  1081. " .ymaps-map{background:none !important;}",
  1082. // " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-copyright__logo,.ymaps-2-1-30-copyright__logo_lang_en,.ymaps-2-1-30-copyright__content,.ymaps-2-1-30-copyright__content,.ymaps-2-1-30-copyright_fog_yes:after,.ymaps-2-1-30-copyright__fog,.ymaps-2-1-30-hint__x{background-image:url() !important;}",
  1083. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background-image:url() !important;}",
  1084. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background:url(\'\') !important;}",
  1085. // ! !! убрать все фоновые рисунки в картах
  1086. // ! " ymaps{background-image:url() !important;}",
  1087. " tv.yandex.ru##td[width=\"24%\"]{width:12% !important;}",
  1088. " a{onmousedown='' !important;}",
  1089. " a{onclick='' !important;}"
  1090. ].join("\n");
  1091. // !! 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"))
  1092. if (false || (document.domain == "soft-club.me" || document.domain.substring(document.domain.indexOf(".soft-club.me") + 1) == "soft-club.me"))
  1093. css += [
  1094. // ! !! --- широко
  1095. " .main,.main-wrap,.header,.header-main{width:100% !important;}",
  1096. " div.all,div.all-wrap,.pageWidth{max-width:100% !important;width:100% !important;}",
  1097. " article,.header,.header-main{width:100% !important;}",
  1098. " div.content{width:80% !important;}div.sidebar1{width:18% !important;}"
  1099. ].join("\n");
  1100. if (false || (document.domain == "4seasons-ltc.com" || document.domain.substring(document.domain.indexOf(".4seasons-ltc.com") + 1) == "4seasons-ltc.com"))
  1101. css += [
  1102. "body{background-image:none !important;}",
  1103. " body{font-family: Tahoma !important;}"
  1104. ].join("\n");
  1105. if (false || (document.domain == "80-e.ru" || document.domain.substring(document.domain.indexOf(".80-e.ru") + 1) == "80-e.ru"))
  1106. css += [
  1107. " div#ipbwrapper{margin: 0 !important;width: inherit !important;max-width: inherit !important;}"
  1108. ].join("\n");
  1109. if (false || (document.domain == "china-review.com.ua" || document.domain.substring(document.domain.indexOf(".china-review.com.ua") + 1) == "china-review.com.ua"))
  1110. css += [
  1111. "body{background:url() !important;}",
  1112. " body{background-image:none !important;}",
  1113. " body{background:none !important;}",
  1114. " body{margin-top:0px !important;}"
  1115. ].join("\n");
  1116. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  1117. css += [
  1118. "body{background:none !important;} .layer_top {background:none !important;} .layer_bottom {background:none !important;} .cast_bg{background:none !important;}",
  1119. " .contentbg {background-image:none !important;} #4iframe {background-image:none !important;} ",
  1120. " #framescr{background-image:none !important;}"
  1121. ].join("\n");
  1122. if (false || (document.domain == "amovies.tv" || document.domain.substring(document.domain.indexOf(".amovies.tv") + 1) == "amovies.tv"))
  1123. css += [
  1124. // !! расширяем
  1125. "article{width: 980px !important;}",
  1126. " #vk_select {float:none !important;margin-left: 445px !important;}",
  1127. " #vk_top,#vk_select {background:url() !important;}"
  1128. ].join("\n");
  1129. if (false || (document.domain == "apteka.ru" || document.domain.substring(document.domain.indexOf(".apteka.ru") + 1) == "apteka.ru"))
  1130. css += [
  1131. " div.wrapper_root>div.wrapper>section.middle{margin-bottom: 0 !important;}",
  1132. " div.wrapper_root>div.wrapper>section.middle>div.container.clr{min-height: 180px !important;}",
  1133. " div.wrapper_root>div.wrapper>section.middle>div.container.clr>div.content.bottom-content>section.items.items-tile.items-viewed{margin: 0 !important;}",
  1134. " div.wrapper_root>div.wrapper>section.middle>div.tabs.top-tabs.clr{margin-bottom: 0 !important;}"
  1135. ].join("\n");
  1136. if (false || (document.domain == "avito.ru" || document.domain.substring(document.domain.indexOf(".avito.ru") + 1) == "avito.ru"))
  1137. css += " .bonprix-1{background: none !important;} ";
  1138. if (false || (document.domain == "bash.im" || document.domain.substring(document.domain.indexOf(".bash.im") + 1) == "bash.im"))
  1139. css += " span.csd{background:none !important;}";
  1140. if (false || (document.domain == "batzbatz.com" || document.domain.substring(document.domain.indexOf(".batzbatz.com") + 1) == "batzbatz.com"))
  1141. css += [
  1142. // !! " !! расширяем
  1143. " .wrap{width: 100% !important;}",
  1144. " .left{width: 75% !important;}"
  1145. ].join("\n");
  1146. if (false || (document.domain == "best-cashback.ru" || document.domain.substring(document.domain.indexOf(".best-cashback.ru") + 1) == "best-cashback.ru"))
  1147. css += [
  1148. " [id=\"menu-osnovnoe-menyu\"]>[id^=\"menu-item-\"]>a.menu-item-link{color: black !important;}",
  1149. " div#theme-page{top: 80px !important;}",
  1150. " [class^=\"mk-header-\"]{background-color: lightgrey !important;}",
  1151. " section#mk-footer{padding: 0 !important; top: 80px !important;}",
  1152. " div#sub-footer{background-color: lightgrey !important;}"
  1153. ].join("\n");
  1154. if (false || (document.domain == "besplatnye-kupony.ru" || document.domain.substring(document.domain.indexOf(".besplatnye-kupony.ru") + 1) == "besplatnye-kupony.ru"))
  1155. css += [
  1156. " body{background: none !important; background-color: lightgrey !important;}",
  1157. " div{width: inherit !important; margin: 0 !important;}",
  1158. " div#site-container{border: none !important;}"
  1159. ].join("\n");
  1160. if (false || (document.domain == "bestrepack.net" || document.domain.substring(document.domain.indexOf(".bestrepack.net") + 1) == "bestrepack.net"))
  1161. css += " div#body_container{padding: 0 !important;}";
  1162. if (false || (document.domain == "bigpicture.ru" || document.domain.substring(document.domain.indexOf(".bigpicture.ru") + 1) == "bigpicture.ru"))
  1163. css += [
  1164. " div.content{padding: 0 !important;}",
  1165. " div.podheader{width: 240px !important; float: right !important;}",
  1166. " div.podheader-right{float: right !important;}"
  1167. ].join("\n");
  1168. if (false || (document.domain == "blogspot.ru" || document.domain.substring(document.domain.indexOf(".blogspot.ru") + 1) == "blogspot.ru") || (document.domain == "blogspot.com" || document.domain.substring(document.domain.indexOf(".blogspot.com") + 1) == "blogspot.com") || (document.domain == "blogspot.sk" || document.domain.substring(document.domain.indexOf(".blogspot.sk") + 1) == "blogspot.sk"))
  1169. css += [
  1170. " body{background-image:none !important;}",
  1171. " body{background-image:url(\" \") !important;}",
  1172. // !! --- расширим ---
  1173. " .content-outer, .content-fauxcolumn-outer, .region-inner {max-width: none !important;}",
  1174. " div#header-inner>div.descriptionwrapper{margin-bottom: 5px !important;}",
  1175. " #outer-wrapper {width: 95% !important;}",
  1176. " #main-wrapper {width: 95% !important;}"
  1177. ].join("\n");
  1178. if (false || (document.domain == "bookvoed.ru" || document.domain.substring(document.domain.indexOf(".bookvoed.ru") + 1) == "bookvoed.ru"))
  1179. css += " .Fh{margin-top: 79px !important;}";
  1180. if (false || (document.domain == "calend.ru" || document.domain.substring(document.domain.indexOf(".calend.ru") + 1) == "calend.ru"))
  1181. css += " .pad, .main-l{width:95% !important;}";
  1182. if (false || (document.domain == "clubupravdom.ru" || document.domain.substring(document.domain.indexOf(".clubupravdom.ru") + 1) == "clubupravdom.ru"))
  1183. css += " *{background-image: none !important;}";
  1184. if (false || (document.domain == "computerra.ru" || document.domain.substring(document.domain.indexOf(".computerra.ru") + 1) == "computerra.ru"))
  1185. css += [
  1186. " body{background:none!important;}",
  1187. " div>p{text-align: justify !important;}",
  1188. " div.top {top: 0px !important;width: auto !important;}",
  1189. " div.top-submenu {width: 100% !important;}",
  1190. " div.main {margin-top: 0px !important;}",
  1191. " div.column{max-width:80% !important;}",
  1192. " div.main-column.main-column-article{width:100% !important;}"
  1193. ].join("\n");
  1194. if (false || (document.domain == "cont.ws" || document.domain.substring(document.domain.indexOf(".cont.ws") + 1) == "cont.ws"))
  1195. css += [
  1196. " body>div.content{width: 100% !important;}",
  1197. " body>div.content>div{margin: 0 !important;}",
  1198. " body>div.content{margin-left: 5px !important;}",
  1199. " body>div.content{margin-right: 5px !important;}",
  1200. " div.sidebar{width: 14% !important;}",
  1201. " [class^=\"post\"]{width: 85% !important;}",
  1202. " [class^=\"post\"]{max-width: 1880px !important; margin: 0 !important; padding: 0 !important;}",
  1203. " div.post>[class^=\"article\"]{padding: 0 !important;}",
  1204. " div#wp.author-bar2.wallpaper.plus{background-image: url() !important; padding: 0 !important;}",
  1205. " div.author-bar2-inside{padding: 0 !important;}",
  1206. " a.m_author{display: inline-block !important;}",
  1207. " .plus .author-bar2-inside{color: #666 !important;}",
  1208. " div.dark{background: url() !important;}",
  1209. " .wallpaper .author-bar2-inside, .wallpaper .author-bar2-inside a, .wallpaper .author-bar2-inside textarea {color: inherit !important;}"
  1210. ].join("\n");
  1211. if (false || (document.domain == "crowdin.com" || document.domain.substring(document.domain.indexOf(".crowdin.com") + 1) == "crowdin.com"))
  1212. css += " #user-cover-picture,#user-cover-picture-blurred{background:url() !important;}";
  1213. 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"))
  1214. css += [
  1215. "body{background:none !important;}",
  1216. " td{background-image:none !important;}"
  1217. ].join("\n");
  1218. if (false || (document.domain == "ebay-forum.ru" || document.domain.substring(document.domain.indexOf(".ebay-forum.ru") + 1) == "ebay-forum.ru"))
  1219. 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;}";
  1220. 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 == "radical.cc" || document.domain.substring(document.domain.indexOf(".radical.cc") + 1) == "radical.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"))
  1221. css += [
  1222. "body{background:none !important;}",
  1223. " body{background-image:none !important;}"
  1224. ].join("\n");
  1225. if (false || (document.domain == "ddlmkvhd.com" || document.domain.substring(document.domain.indexOf(".ddlmkvhd.com") + 1) == "ddlmkvhd.com"))
  1226. css += [
  1227. " body{background: none !important;}",
  1228. " div.page-body-t{position: relative !important;}"
  1229. ].join("\n");
  1230. if (false || (document.domain == "ddlvillage.org" || document.domain.substring(document.domain.indexOf(".ddlvillage.org") + 1) == "ddlvillage.org"))
  1231. css += [
  1232. " div{background: none !important;}"
  1233. ].join("\n");
  1234. if (false || (document.domain == "f1news.ru" || document.domain.substring(document.domain.indexOf(".f1news.ru") + 1) == "f1news.ru"))
  1235. css += [
  1236. " div[id=\"bannerText\"]{border:0px !important;margin-left:10px !important;}",
  1237. " body{background:url() top center no-repeat #000000 !important;}",
  1238. // !! расширяем текстовое поле
  1239. " div#textBlock{width:900px !important;}"
  1240. ].join("\n");
  1241. if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
  1242. css += [
  1243. // !! !! расширение, но текст подползает под боковую панель
  1244. // !! " #contentArea {width: 750px !important;}",
  1245. // !! " .uiUfi {width: 650px !important;}",
  1246. // !! " body {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  1247. // !! " #contentCol {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  1248. " div#profile_stream_composer {background-color:#C1D5F6;}",
  1249. " #blueBar {background-color: transparent !important;}",
  1250. " #headNav {background-color: #transparent !important;}",
  1251. " .jewelButton {background-color: transparent !important;}",
  1252. " #fbNotificationsFlyout {left: 50px !important;}",
  1253. " .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;}",
  1254. // !! " #pageNav a {color: #00ffff !important;display: inline-block;font-weight: bold;height: 22px;padding: 8px 10px 0px;text-decoration: none;}",
  1255. " .UIImageBlock {color: #000000 !important;}",
  1256. " .fcg {color: darkgreen !important;}",
  1257. " .mts.uiAttachmentDesc.translationEligibleUserAttachmentMessage {color: black !important;}"
  1258. ].join("\n");
  1259. if (false || (document.location.href.indexOf("http://fastpic.ru/") === 0) || (document.location.href.indexOf("https://fastpic.ru/") === 0))
  1260. css += [
  1261. " html, body {pointer-events: none !important; height: 110% !important;}",
  1262. " #mainContainer, #content, #footer {position: static !important; margin-top: 0 !important;}",
  1263. " body>img, /* support for https://github.com/Infocatcher/UserScripts/tree/master/Direct_Images */",
  1264. " #mainContainer, #footerContainer, #content, #footer, #show-code-content { pointer-events: auto !important;}",
  1265. //??
  1266. " html,body,#mainContainer,#footerContainer,#content,#footer {margin:0 !important;width:100% !important;border-radius:0 !important;}",
  1267. " #mainContainer>table {width:850px !important;margin:auto !important;}",
  1268. " #picContainer {float:none !important;margin:auto !important;}",
  1269. " html,body {cursor:auto !important; background-color: whitesmoke !important;}",
  1270. " html,body {display:flex !important;flex-direction:column !important;}",
  1271. " #mainContainer {flex-grow:1 !important;}",
  1272. " #mainContainer,#footerContainer {overflow:visible !important;}",
  1273. " #content,#footer {background-color:transparent !important;}",
  1274. " #content {display:flex !important;flex-grow:1 !important;min-height:inherit !important;}",
  1275. //??
  1276. " #logo-area{padding-top: 0px !important;}",
  1277. " *{background:none !important;}",
  1278. " *{background-image:none !important;}",
  1279. " #footer-container {background-image:none !important;height:auto !important;}",
  1280. " body > a {display:none !important;}",
  1281. " div#show-code-content.rounded-corners{position: inherit !important;}",
  1282. " div#foot-area.center.rounded-corners{position: inherit !important;}",
  1283. " div#footer.center.rounded-corners{position: inherit !important;}",
  1284. " .center {padding:0!important;}",
  1285. " div#right-bottom.rounded-corners{position: relative !important;margin-top:0px !important;height:0px !important;padding-top:5px !important;}",
  1286. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-image: url(\" \") !important;}",
  1287. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-url: none !important;}",
  1288. " body{padding-top: 0px !important;}",
  1289. " body, html{cursor: auto !important;}",
  1290. " body, html {pointer-events: none !important;}",
  1291. // !! всё - чёрным
  1292. " *{color: black !important;}",
  1293. " body{background: none !important;}"
  1294. // " html {background-color:#171616 !important;}"
  1295. ].join("\n");
  1296. if (false || (document.domain == "fapl.ru" || document.domain.substring(document.domain.indexOf(".fapl.ru") + 1) == "fapl.ru"))
  1297. css += [
  1298. " noindex>div[id]{background-image:none !important;}",
  1299. " noindex>div[id]{background-image:url(\"\") !important;}",
  1300. // ! --- широко
  1301. " body>div#wrapper{width:98% !important;}",
  1302. " body>div#wrapper>div#container{width:84% !important;padding: 1px !important;}",
  1303. " body>div#wrapper>div#container>div#content{width:75% !important;}",
  1304. " body>div#wrapper>div#container>div#content>div.block{width:99% !important;}"
  1305. ].join("\n");
  1306. if (false || (document.domain == "filmix.net" || document.domain.substring(document.domain.indexOf(".filmix.net") + 1) == "filmix.net"))
  1307. css += " body{padding: 0px 0 0 0 !important;}";
  1308. if (false || (document.domain == "formulakino.ru" || document.domain.substring(document.domain.indexOf(".formulakino.ru") + 1) == "formulakino.ru"))
  1309. css += [
  1310. " div.backF>a>span{background-image:none !important; background:#fff !important;}",
  1311. " div.vjs-poster{background:url() !important;}",
  1312. " div.pagecontent{margin-top:0px !important;}",
  1313. " div#wrapper{background:#fff !important;}"
  1314. ].join("\n");
  1315. if (false || (document.domain == "google.ru" || document.domain.substring(document.domain.indexOf(".google.ru") + 1) == "google.ru"))
  1316. css += [
  1317. " 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;}",
  1318. " body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child:hover {opacity:1;}",
  1319. " body[class=\"cP\"] tr td.Bu:last-child div.nH {width: 0px !important;}",
  1320. // ! расширяем выдачу в поиске
  1321. " .center_col,#center_col {width:1000px !important; margin-left:10px !important; margin-right:10px !important;} .s {max-width:100% !important;}"
  1322. ].join("\n");
  1323. if (false || (document.domain == "ifmo.ru" || document.domain.substring(document.domain.indexOf(".ifmo.ru") + 1) == "ifmo.ru"))
  1324. css += [
  1325. " header.h-header, .b-header-pad{height: 100px !important;}"
  1326. ].join("\n");
  1327. if (false || (document.domain == "igromania.ru" || document.domain.substring(document.domain.indexOf(".igromania.ru") + 1) == "igromania.ru"))
  1328. css += [
  1329. // !! " *{background-image: none !important;}",
  1330. " div.out_out, element.style {background-image: url() !important;}"
  1331. ].join("\n");
  1332. if (false || (document.domain == "inosmi.ru" || document.domain.substring(document.domain.indexOf(".inosmi.ru") + 1) == "inosmi.ru"))
  1333. css += [
  1334. " body{background-image:none !important;}",
  1335. " body{background:url() !important;}",
  1336. // !! поаккуратнее
  1337. " .header{padding-top:0px !important;}",
  1338. " #addbwr{margin-top:0px !important;}",
  1339. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след. строками )
  1340. " .main{width:95% !important;}",
  1341. " .comments .comments-list ul li {max-width: 95% !important; }",
  1342. " button.layout__scroll-to-top {left: 2% !important; }"
  1343. ].join("\n");
  1344. if (false || (document.domain == "keeplinks.eu" || document.domain.substring(document.domain.indexOf(".keeplinks.eu") + 1) == "keeplinks.eu"))
  1345. css += " div#header{background: none !important;}";
  1346. if (false || (document.domain == "kino-tor.net" || document.domain.substring(document.domain.indexOf(".kino-tor.net") + 1) == "kino-tor.net"))
  1347. css += [
  1348. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-image: url(\" \") !important;}",
  1349. " .traforet-br-logo, div[id^=\"b_pr_\"] {background: url(\" \") !important;}",
  1350. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-url: none !important;}",
  1351. " body{padding-top: 0px !important;}"
  1352. ].join("\n");
  1353. if (false || (document.domain == "letitfilms.com" || document.domain.substring(document.domain.indexOf(".letitfilms.com") + 1) == "letitfilms.com"))
  1354. css += [
  1355. " body{background: url() !important; background-color: black !important;}",
  1356. " div#container{width: inherit !important; margin: 0 !important;}",
  1357. " div#container>div#main>*{padding: 0 !important;}",
  1358. " div#container>div#main>aside{width: 20% !important;}",
  1359. " div#container>div#main>div#content{width: 79% !important;}"
  1360. ].join("\n");
  1361. if (false || (document.domain == "livesport.ws" || document.domain.substring(document.domain.indexOf(".livesport.ws") + 1) == "livesport.ws"))
  1362. css += [
  1363. // !! убираем фон и баннер
  1364. " body {background:none !important;color:#333 !important;}",
  1365. " body{background:url() !important;background-color:#000002 !important;}",
  1366. " body,.top-panel-wrap.fixed {background-image:url() !important;}",
  1367. " body{background-image:none !important;}",
  1368. " div[id=\"flash\"]{height: 0px !important;}"
  1369. ].join("\n");
  1370. if (false || (document.domain == "livecars.ru" || document.domain.substring(document.domain.indexOf(".livecars.ru") + 1) == "livecars.ru") || (document.domain == "livesport.ru" || document.domain.substring(document.domain.indexOf(".livesport.ru") + 1) == "livesport.ru"))
  1371. css += [
  1372. ".content {margin-top: 0 !important;}"
  1373. ].join("\n");
  1374. if (false || (document.domain == "lolzteam.net" || document.domain.substring(document.domain.indexOf(".lolzteam.net") + 1) == "lolzteam.net"))
  1375. css += [
  1376. ".breadBoxTop {margin-top: 3.5em !important;}"
  1377. ].join("\n");
  1378. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  1379. css += [
  1380. "body > a[onclick], body > span {display: none !important;}"
  1381. ].join("\n");
  1382. if (false || (document.domain == "lostfilm.info" || document.domain.substring(document.domain.indexOf(".lostfilm.info") + 1) == "lostfilm.info") || (document.domain == "lostfilm-online.ru" || document.domain.substring(document.domain.indexOf(".lostfilm-online.ru") + 1) == "lostfilm-online.ru") || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  1383. css += [
  1384. // " body{background:#c0c0c0 !important;}",
  1385. " body {background-image: none !important; background-color: #1c1e1f !important;}",
  1386. " body{background:none !important;}",
  1387. " body{background-image:none !important;}",
  1388. " body{background:gray !important;}",
  1389. " div[class=\"mid\"]{background:LightGrey !important;}",
  1390. // !! ==== и меняем на читаемый цвет
  1391. " div[class=\"user_avatar\"]{color:black !important;}",
  1392. " span[class=\"wh\"]{color:black !important;}",
  1393. " a[href*=\"\/my.php\"]{color:black !important;}",
  1394. " a[href*=\"\/messages.php\"]{color:black !important;}",
  1395. " a[href*=\"bogi.ru\/logout.php\"]{color:black !important;}",
  1396. // !! расширяем полезную площадь
  1397. " .lstfml .wrapper{margin-bottom:15px !important; width: 100% !important; }",
  1398. " .lstfml #main-center-side{width:70% !important;}",
  1399. " .lstfml #main-left-side{width:12% !important;}",
  1400. " .lstfml #main-right-side{width:14% !important;}",
  1401. " a.new-movie, a.new-movie>img{width:95% !important;}",
  1402. " a.new-movie>div.title{width:100% !important;}",
  1403. " a.new-movie>div.date{width:30% !important;}",
  1404. " .lstfml .left-pane{width:75% !important;}"
  1405. ].join("\n");
  1406. if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
  1407. css += [
  1408. " body,.forecast-rb-bg,.b-bg{background-image: none !important;}",
  1409. " .SearchForm,.form,.txt1,.txt2,.txt3,.people1,.people2,.people3,.GRcorrect, .GRSpellingCorrect, .GRspelling {background: url('') !important;}"
  1410. ].join("\n");
  1411. if (false || (document.domain == "meduza.io" || document.domain.substring(document.domain.indexOf(".meduza.io") + 1) == "meduza.io"))
  1412. css += [
  1413. // !! "!! <--- Выравнивание шрифта --->",
  1414. " div.Material-container {text-align: justify !important;}",
  1415. " div.Page-section {text-align: center !important;}",
  1416. // !! "!! <--- Форматируем заголовки --->",
  1417. " *[class*=\"MaterialHeader\"] {max-width: 100% !important; text-align: center !important;}",
  1418. // !! "!! <--- Размеры блоков --->",
  1419. " div.Lead {max-width: 100% !important;}",
  1420. " div[class*=\"Content\"] {max-width: 120% !important;}",
  1421. " div.Body>p{max-width: 100% !important;}",
  1422. " div[class=\"Context\"] {max-width: 95% !important;}",
  1423. " div.Figure-title{max-width: 100% !important;}",
  1424. " blockquote {max-width: 100% !important;}",
  1425. " div.Related{max-width: 100% !important;}",
  1426. " div.Body>div{max-width: 100% !important;}"
  1427. ].join("\n");
  1428. if (false || (document.domain == "megashara.com" || document.domain.substring(document.domain.indexOf(".megashara.com") + 1) == "megashara.com"))
  1429. css += [
  1430. // !! расширяем
  1431. " .all, #content{width: 100% !important;}",
  1432. " #center-block {width: 65% !important;}"
  1433. ].join("\n");
  1434. if (false || (document.domain == "ncrypt.in" || document.domain.substring(document.domain.indexOf(".ncrypt.in") + 1) == "ncrypt.in"))
  1435. css += [
  1436. " body{background: none !important;}",
  1437. " div#wrapper{margin: 0 0 0 0 !important;}"
  1438. ].join("\n");
  1439. if (false || (document.domain == "nn.ru" || document.domain.substring(document.domain.indexOf(".nn.ru") + 1) == "nn.ru"))
  1440. css += [
  1441. " .body-cont {background-image: url(\' \') !important;}",
  1442. // !! расширяем
  1443. " .rn-global-container__inner {padding-right: 0px !important;}",
  1444. " .body-cont {margin-right: 0px !important;}"
  1445. ].join("\n");
  1446. 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"))
  1447. css += [
  1448. // !! "div {background-image:none !important;}",
  1449. // !! "div {background:url() !important;}",
  1450. // !! "div[class^=\"prl_slide_\"] {background:url() !important;}"
  1451. ".dialogWrapperBanner {transform: scale(0) !important; opacity: 0 !important; pointer-events: none !important; position: fixed !important; top: -1000px !important;}"
  1452. ].join("\n");
  1453. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  1454. css += [
  1455. "div[class^=\"rastyazka\"], #topbanners, #crosssites > p, #uhi, #mainplace > table > tbody > tr:first-child, #contentplace > [class^=\"decoblock\"],",
  1456. " .fifty-fifty-left > .decoblock_rnd1, .fifty-fifty-left > .decoblock_rnd1 + .decoblock-content,",
  1457. " .fifty-fifty-right .decoblock_rnd1 ~ .decoblock_rnd1,",
  1458. " .fifty-fifty-right .decoblock_rnd1 ~ .decoblock_rnd1 + .decoblock-content {position: fixed !important; transform: scale(0) !important;}",
  1459. " .adsbygoogle {height: 1px !important; width: 1px !important;}"
  1460. ].join("\n");
  1461. if (false || (document.domain == "new.pikabu.ru" || document.domain.substring(document.domain.indexOf(".new.pikabu.ru") + 1) == "new.pikabu.ru"))
  1462. css += [
  1463. ".header__main {background-color: #8ac858 !important;}"
  1464. ].join("\n");
  1465. if (false || (document.domain == "playground.ru" || document.domain.substring(document.domain.indexOf(".playground.ru") + 1) == "playground.ru"))
  1466. css += "#foundationWrapper {background:#373737!important;}";
  1467. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  1468. css += [
  1469. " div.paral>a>div{background:url() !important;}",
  1470. " div.paral>a>div{height:64px !important;}",
  1471. " table#header_t {margin-top: 0px !important;}",
  1472. " \\!! расширяем полезную площадь",
  1473. " .b-story__content, .b-story__content_type_text {margin-left:5px !important; width: 800px !important; max-width: 800px !important;}"
  1474. ].join("\n");
  1475. if (false || (document.domain == "piter.tv" || document.domain.substring(document.domain.indexOf(".piter.tv") + 1) == "piter.tv"))
  1476. css += [
  1477. " body{background-image:none !important;}"
  1478. ].join("\n");
  1479. if (false || (document.domain == "politikus.ru" || document.domain.substring(document.domain.indexOf(".politikus.ru") + 1) == "politikus.ru"))
  1480. css += [
  1481. " body{background-image:none !important;}",
  1482. " body{background:url() !important;}",
  1483. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след.четырьмя строками )
  1484. // " #main_content_holder{width:100% !important; }",
  1485. // " #left{width:80% !important; }",
  1486. // " .holder, div.block, .content, #dle-content{width:100% !important; }",
  1487. // " .fullstory{width:95% !important; }"
  1488. // !! доработанный вариант от Buba5473
  1489. " div#header{width: inherit !important; margin: 0 !important;}",
  1490. " div#header>div.holder{width: inherit !important; margin: 0 !important;}",
  1491. " div#main_content_holder{width: inherit !important; margin: 0 !important;}",
  1492. " div#main_content_holder>div#maintpl>div.holder{width: inherit !important; margin: 0 !important;}",
  1493. " div#main_footer_holder{width: inherit !important; margin: 0 !important;}",
  1494. " div#main_footer_holder>div.holder{width: inherit !important; margin: 0 !important;}",
  1495. " div#main_content{margin: 0 !important;}",
  1496. " div#right{margin: 0 !important; float: none !important; width: inherit !important;}",
  1497. " div#left{width: 80% !important;}"
  1498. ].join("\n");
  1499. if (false || (document.domain == "pleer.com" || document.domain.substring(document.domain.indexOf(".pleer.com") + 1) == "pleer.com"))
  1500. css += [
  1501. " div#main.clearfix>div#container>div#content{margin: 0 !important;}",
  1502. " div#container>div#content>div.clearfix:nth-child(3)>div.results>div.clearfix:nth-child(2)>div.results>div.index-cols.clearfix>div.index-col1{width: 68% !important;}",
  1503. " div#container>div#content>div.clearfix:nth-child(3)>div.results>div.clearfix:nth-child(2)>div.results>div.index-cols.clearfix>div.index-col2{width: 32% !important;}"
  1504. ].join("\n");
  1505. 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"))
  1506. css += [
  1507. " .brand_bg{background-image:none !important;}",
  1508. // " .base-page_wrapper {width: auto !important; padding: 0 !important; background-position: center !important;}",
  1509. ".base-page_wrapper, .render_body_main {width: auto !important; padding: 0 !important; margin: 0 !important; background-position: center !important;}",
  1510. " .no-advert_wrapper_top, .no-advert_wrapper_bottom {width: 830px !important; margin: auto !important;}",
  1511. " .content{padding-top:0px !important;}",
  1512. " .brand_bg{top:0px !important;}",
  1513. " div.render_body_main {padding-top: 0px !important;}",
  1514. " div.ComplainAdminControl{left: 70px !important;}"
  1515. ].join("\n");
  1516. if (false || (document.domain == "rambler.ru" || document.domain.substring(document.domain.indexOf(".rambler.ru") + 1) == "rambler.ru") || (document.domain == "autorambler.ru" || document.domain.substring(document.domain.indexOf(".autorambler.ru") + 1) == "autorambler.ru"))
  1517. css += [
  1518. // !! из старого, режет почту ".b-left-column .b-left-column__wrapper{margin:0 !important;}",
  1519. " div[class=\"appWindow\"]{right:0px !important;}",
  1520. // !! --- чистим фон
  1521. " body, html {background-image:url(\' \') !important; background: #f7f7f7 !important; }",
  1522. " div.b-header, element.style, .topcover{background-image:url(\' \') !important; background: #bdbdbd !important; }",
  1523. " header.header{background-image:url(\' \') !important; background: #bdbdbd !important; }",
  1524. " .region-back, .main-page__background-wrap {background: none !important; background-image:url(\' \') !important; background:url(\' \') !important;}",
  1525. " .sl, .sl_holder, .width.p16.tnav, .promo_def{background-image:url(\' \') !important; background: #bdbdbd !important; }",
  1526. // !?##.b-informers__link{color:#030303 !important; }
  1527. // !! --- расширяем полезную площадь страницы
  1528. " .footer__wrap, .grid, .article, .nav__wrap, .j-metrics__views-out, .j-article__bounding, .j-statistics__cluster, .popup__wrap {width: 95% !important;}",
  1529. " .grid, .article__inner.wide {margin-left: 50px !important;margin-right: 50px !important;}",
  1530. " body, .body, .l-nav, .article-slide, .article__head, .main-wrapper, .main-wrapper main.root, .main-wrapper main.root section.content {max-width: 100% !important; width: 100% !important;}",
  1531. " .l-columns, .l-column-15, .l-column-16-5, .b-topic-body {width: 100% !important;}",
  1532. " .l-container, .b-topic-show__main, .mixednews__inner, .sizefix {width: 95% !important;}",
  1533. " .article__inner.narrow {margin-right: 3% !important;}",
  1534. " .action-panel, .content {margin-right: 3% !important; margin-left: 3% !important;}",
  1535. " section.standalone-news section.main{padding: 0 !important;}",
  1536. " .l-right-column-wrapper, .description-serial__container, .column, .card-full {padding-right: 0 !important;}",
  1537. " table.r--main, .article-item, .b-root-layout__inner, .news-item-layout, .page-base, .card-full {max-width: 100% !important; width: 100% !important;}",
  1538. " .appWindowWithBanner, .appSearchBar{right: 0px !important;}",
  1539. " .appWindow {width: 100% !important;}",
  1540. " .grid_18{width: 70% !important;}",
  1541. " .container, .seasons-links, .l-content{margin-right: 20px !important; margin-left: 20px !important; width: 100% !important;}",
  1542. " .tvguide-wrapper, .article-layout-wrapper {width: 95% !important;}",
  1543. " .left-side, .left-column, .left-column.js-main-column, .main-content {width: 100% !important;}",
  1544. " .seasons-links__slider-container._with-all-link{width: 85% !important;}",
  1545. " .b-topic-show__content iframe, .b-topic-show__text img, .b-topic-show__image img {width: auto !important;}",
  1546. " .preview {width: 70% !important; background: #fdfdfd !important;}",
  1547. " .preview img, .preview>img {width: auto !important; hight: auto !important;}"
  1548. ].join("\n");
  1549. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  1550. css += " .article__content {margin-right: 0px !important;}";
  1551. if (false || (document.domain == "rgho.st" || document.domain.substring(document.domain.indexOf(".rgho.st") + 1) == "rgho.st") || (document.domain == "rghost.ru" || document.domain.substring(document.domain.indexOf(".rghost.ru") + 1) == "rghost.ru"))
  1552. css += [
  1553. "body{background: none !important;}",
  1554. " body {background-image: none !important;}",
  1555. " .with-bg{background-image: url(\" \") !important;}",
  1556. " .with-bg{background: url(\" \") !important;}",
  1557. " .with-bg{background: none !important;}",
  1558. " .with-bg{background: #c0c0c0 !important;}"
  1559. ].join("\n");
  1560. if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
  1561. css += [
  1562. "#octo-set{background-image:none !important;padding-top:0 !important;}",
  1563. " #main-wrapper{width:auto !important;}",
  1564. " body{background-image: none !important;} ",
  1565. " body{background:none !important;}",
  1566. " #main-wrapper{top:10px !important;}",
  1567. // !! cкрыть заголовок
  1568. " #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;}"
  1569. ].join("\n");
  1570. 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"))
  1571. css += [
  1572. "*{background:none !important;}",
  1573. " *{background:url('') !important;}",
  1574. " *{background:silver !important; color:black !important;}",
  1575. " 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; }"
  1576. ].join("\n");
  1577. if (false || (document.domain == "rusnext.ru" || document.domain.substring(document.domain.indexOf(".rusnext.ru") + 1) == "rusnext.ru"))
  1578. css += [
  1579. // !! расширяем
  1580. " .top-div{min-height: 30px !important;}",
  1581. " .art-sheet, .art-nav-inner, div.region.region-navigation, ul.art-hmenu {width: 100% !important;}",
  1582. " .art-nav {width: 96% !important; }",
  1583. " .region-content, span.field-content{width: 98% !important; max-width: 100% !important;}",
  1584. " .panels-flexible-region, .panels-flexible-region-3-center, .panels-flexible-region-last, .panels-flexible-3-inside, .panel-flexible, .front-top-list, .view-id-front_news, .section-list{width: 100% !important;}",
  1585. " div.views-slideshow-cycle-main-frame, div.views-slideshow-cycle-main-frame-row views_slideshow_cycle_slide, .views-slideshow-controls-bottom {margin: 0 auto !important;}",
  1586. " .views-slideshow-pager-fields {margin: 0 auto !important;}",
  1587. " #widget_pager_bottom_front_top-block img {margin-right: 0px !important; margin-left: 7px !important;}",
  1588. " .panels-flexible-region-3-left{width: 45% !important;}",
  1589. " .panels-flexible-region-3-center{width: 55% !important;}"
  1590. ].join("\n");
  1591. if (false || (document.domain == "ruspravda.info" || document.domain.substring(document.domain.indexOf(".ruspravda.info") + 1) == "ruspravda.info"))
  1592. css += [
  1593. "body{background:white !important;}",
  1594. " table#header_t {margin-top: 0px !important;}"
  1595. ].join("\n");
  1596. if (false || (document.domain == "rustorka.com" || document.domain.substring(document.domain.indexOf(".rustorka.com") + 1) == "rustorka.com"))
  1597. css += " .topmenu{margin-top:25px !important;}";
  1598. if (false || (document.domain == "rutor.org" || document.domain.substring(document.domain.indexOf(".rutor.org") + 1) == "rutor.org") || (document.domain == "new-rutor.org" || document.domain.substring(document.domain.indexOf(".new-rutor.org") + 1) == "new-rutor.org") || (document.domain == "live-rutor.org" || document.domain.substring(document.domain.indexOf(".live-rutor.org") + 1) == "live-rutor.org") || (document.domain == "free-rutor.org" || document.domain.substring(document.domain.indexOf(".free-rutor.org") + 1) == "free-rutor.org") || (document.domain == "rutor.info" || document.domain.substring(document.domain.indexOf(".rutor.info") + 1) == "rutor.info") || (document.domain == "rutor.is" || document.domain.substring(document.domain.indexOf(".rutor.is") + 1) == "rutor.is") || (document.domain == "krutor.org" || document.domain.substring(document.domain.indexOf(".krutor.org") + 1) == "krutor.org") || (document.domain == "mrutor.org" || document.domain.substring(document.domain.indexOf(".mrutor.org") + 1) == "mrutor.org") || (document.domain == "newrutor.org" || document.domain.substring(document.domain.indexOf(".newrutor.org") + 1) == "newrutor.org") || (document.domain == "rutor.in" || document.domain.substring(document.domain.indexOf(".rutor.in") + 1) == "rutor.in") || (document.domain == "freerutor.com" || document.domain.substring(document.domain.indexOf(".freerutor.com") + 1) == "freerutor.com") || (document.domain == "176.114.0.131" || document.domain.substring(document.domain.indexOf(".176.114.0.131") + 1) == "176.114.0.131"))
  1599. css += [
  1600. // !! оформление от zuefhrf
  1601. " body {overflow: auto !important;}",
  1602. " body{padding-top: 5px !important;}",
  1603. " div#brTop {background-image: url(\" \") !important;}",
  1604. " div#ws div#sidebar{top: 0px !important;}",
  1605. " div#ws div#sidebar{right: 8px !important;}",
  1606. " div#ws div#sidebar div.sideblock{margin-top: 0px !important;}",
  1607. " div#ws div#content{right: 6px !important;}",
  1608. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background-image: url(\" \") !important;}",
  1609. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background: url(\" \") !important;}",
  1610. // !?? " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background-url: none !important;}",
  1611. " h3{text-align: left !important;}",
  1612. " body{font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif !important;}",
  1613. " s, strike, del {color: #C0C0C0 !important;}",
  1614. " .fr_wrapper { width: auto !important;}",
  1615. " .__tw{position:relative !important;}"
  1616. ].join("\n");
  1617. if (false || (document.domain == "rutracker.org" || document.domain.substring(document.domain.indexOf(".rutracker.org") + 1) == "rutracker.org") || (document.domain == "rutracker.net" || document.domain.substring(document.domain.indexOf(".rutracker.net") + 1) == "rutracker.net") || (document.domain == "rutracker.cr" || document.domain.substring(document.domain.indexOf(".rutracker.cr") + 1) == "rutracker.cr") || (document.domain == "rutracker.club" || document.domain.substring(document.domain.indexOf(".rutracker.club") + 1) == "rutracker.club") || (document.domain == "rutracker-pro.ru" || document.domain.substring(document.domain.indexOf(".rutracker-pro.ru") + 1) == "rutracker-pro.ru") || (document.domain == "rutracker.in" || document.domain.substring(document.domain.indexOf(".rutracker.in") + 1) == "rutracker.in") || (document.domain == "rutracker.nl" || document.domain.substring(document.domain.indexOf(".rutracker.nl") + 1) == "rutracker.nl") || (document.domain == "sssr-rutracker.org" || document.domain.substring(document.domain.indexOf(".sssr-rutracker.org") + 1) == "sssr-rutracker.org"))
  1618. css += [
  1619. " .branding #page_container {background-image: url(\" \") !important;}",
  1620. " .nav {background: url(\" \") !important;}",
  1621. // ! " !!##body.branding{-webkit-transform: scaleX(1) !important;}
  1622. " body{-webkit-transform: none !important;}",
  1623. " div#logo{min-height: 23px !important;}"
  1624. // ! " div.topmenu{padding-top:24px !important;}"
  1625. ].join("\n");
  1626. if (false || (document.domain == "safety-gate.me" || document.domain.substring(document.domain.indexOf(".safety-gate.me") + 1) == "safety-gate.me"))
  1627. css += [
  1628. // ! !! --- широко
  1629. " .main,.main-wrap,.header,.header-main{width:100% !important;}",
  1630. " div.all,div.all-wrap,.pageWidth{max-width:100% !important;width:100% !important;}",
  1631. " article,.header,.header-main{width:100% !important;}",
  1632. " .xbBoxed,.pageContent{max-width:100% !important;}",
  1633. " div.content{width:80% !important;}div.sidebar1{width:18% !important;}"
  1634. ].join("\n");
  1635. if (false || (document.domain == "samlab.ws" || document.domain.substring(document.domain.indexOf(".samlab.ws") + 1) == "samlab.ws"))
  1636. css += [
  1637. "div.box.main {width: auto; !important;}",
  1638. " div#right {width: 2px; !important;}"
  1639. ].join("\n");
  1640. if (false || (document.domain == "samlib.ru" || document.domain.substring(document.domain.indexOf(".samlib.ru") + 1) == "samlib.ru"))
  1641. css += [
  1642. "body {font-family: sans-serif !important;line-height: 140% !important;color: #B2B2B2 !important;background: #3A3E46 !important;}",
  1643. " font {color: #B2B2B2 !important;}",
  1644. " table, td, td font {color: #BEBEBE !important;background-color: #555C66 !important;}",
  1645. " a:link {color: #9DD7FF !important;}",
  1646. " a:visited {color: #EAB6FF !important;}",
  1647. " a:hover {color: #F0B2B2 !important;}",
  1648. " dl {margin-top: 1em !important;}"
  1649. ].join("\n");
  1650. if (false || (document.domain == "securitylab.ru" || document.domain.substring(document.domain.indexOf(".securitylab.ru") + 1) == "securitylab.ru"))
  1651. css += [
  1652. " #content #left{margin-left: 0px !important;max-width: 1000px !important;}",
  1653. // !! логотип
  1654. " div#header{height:00px !important;background-color:white !important;} div#MAIN_MENU{top:0px !important;}"
  1655. ].join("\n");
  1656. if (false || (document.domain == "sportbox.ru" || document.domain.substring(document.domain.indexOf(".sportbox.ru") + 1) == "sportbox.ru"))
  1657. css += [
  1658. " body{background:none !important;padding-top: 0px !important;}",
  1659. " .sb_c_topmed_olymp, .gold, .silver, .bronze {background:none !important;}"
  1660. ].join("\n");
  1661. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru") || (document.domain == "tribuna.com" || document.domain.substring(document.domain.indexOf(".tribuna.com") + 1) == "tribuna.com"))
  1662. css += [
  1663. "#branding-layout:not(#id), body.img-bg {padding-top: 0 !important;}",
  1664. " #branding-layout:not(#id), .page-layout {margin-top: 0 !important;}",
  1665. " #branding-layout > a {width:0 !important; height:0 !important; left:-10000px !important;}",
  1666. " [data-content-name=\"banner-static\"] {pointer-events: none !important;}"
  1667. ].join("\n");
  1668. if (false || (document.domain == "sport-express.ru" || document.domain.substring(document.domain.indexOf(".sport-express.ru") + 1) == "sport-express.ru"))
  1669. css += [
  1670. " #show-popup {display:none !important;}",
  1671. " body.popup {overflow:auto !important;}"
  1672. ].join("\n");
  1673. if (false || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me") || (document.domain == "my-tfile.org" || document.domain.substring(document.domain.indexOf(".my-tfile.org") + 1) == "my-tfile.org") || (document.domain == "tfile.cc" || document.domain.substring(document.domain.indexOf(".tfile.cc") + 1) == "tfile.cc") || (document.domain == "tfile.co" || document.domain.substring(document.domain.indexOf(".tfile.co") + 1) == "tfile.co") || (document.domain == "tfile-music.org" || document.domain.substring(document.domain.indexOf(".tfile-music.org") + 1) == "tfile-music.org"))
  1674. css += [
  1675. " body{background:url() !important;}",
  1676. " body{background-image: none !important;}",
  1677. " body{background-attachment: none !important;}",
  1678. " div#brTop{background-image:url(\'\') !important;}",
  1679. " element.style{background:url() !important;}",
  1680. " element.style, #skin_crown{background-image:url() !important;}",
  1681. " body{background:#D4D4D4 !important;}",
  1682. " body{padding:0 !important;}",
  1683. " table#home_c{width: inherit !important;}",
  1684. " [id^=\"top_\"]{width: inherit !important;}",
  1685. " body{padding-top:0px !important;}",
  1686. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background-image: url(\" \") !important;}",
  1687. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background: url(\" \") !important;}",
  1688. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background-url: none !important;}",
  1689. // !! расширяем
  1690. " body, #table_reduser, #head, #foot_links{width:100% !important;}",
  1691. " #foot_links{margin:0px !important; padding:0px !important;}",
  1692. " .full #top_tools {padding-left:0!important;}",
  1693. " table#home_c{width: inherit !important;}",
  1694. " [id^=\"top_\"]{width: inherit !important;}"
  1695. ].join("\n");
  1696. if (false || (document.domain == "tfile-music.org" || document.domain.substring(document.domain.indexOf(".tfile-music.org") + 1) == "tfile-music.org"))
  1697. css += [
  1698. "body {width: 100%!important; }"
  1699. ].join("\n");
  1700. if (false || (document.domain == "thg.ru" || document.domain.substring(document.domain.indexOf(".thg.ru") + 1) == "thg.ru"))
  1701. css += [
  1702. " .top_banner, #left_adblock, #right_adblock {position: fixed !important; left: -10000px !important; transform: scale(0) !important; display: none !important;}",
  1703. " body {background: whitesmoke !important;}",
  1704. " body > div[style*=\'1010\'] {width: auto !important; margin-top: 0 !important;}"
  1705. ].join("\n");
  1706. if (false || (document.domain == "tnt-online.ru" || document.domain.substring(document.domain.indexOf(".tnt-online.ru") + 1) == "tnt-online.ru"))
  1707. css += [
  1708. "#all:not(#id) {top:14px !important;}"
  1709. ].join("\n");
  1710. if (false || (document.domain == "torrent-tv.ru" || document.domain.substring(document.domain.indexOf(".torrent-tv.ru") + 1) == "torrent-tv.ru"))
  1711. css += [
  1712. " body {background-image:none !important;padding-top: 0px !important;}",
  1713. " div#main-wrapper {top:auto !important;}",
  1714. " div.news-text {width:auto !important;}",
  1715. " div[class^=\"usual-header\"] {width:126% !important;}",
  1716. " div[class=\"usual\"] {width:132% !important;}",
  1717. " div[class^=\"usual-content\"] {width:99% !important;}"
  1718. // !!
  1719. // !! " body>div:nth-of-type(1) {background:url() !important;}",
  1720. // !! " body {background:gray !important;}",
  1721. ].join("\n");
  1722. if (false || (document.domain == "torrentino.com" || document.domain.substring(document.domain.indexOf(".torrentino.com") + 1) == "torrentino.com") || (document.domain == "torrentino.ru" || document.domain.substring(document.domain.indexOf(".torrentino.ru") + 1) == "torrentino.ru"))
  1723. css += [
  1724. // !! расширяем
  1725. " .container {width: 100% !important;}",
  1726. " .span9 {width: 95% !important;}",
  1727. ].join("\n");
  1728. if (false || (document.domain == "turbobit.net" || document.domain.substring(document.domain.indexOf(".turbobit.net") + 1) == "turbobit.net"))
  1729. css += " html {background:none !important;}";
  1730. if (false || (document.domain == "velolive.com" || document.domain.substring(document.domain.indexOf(".velolive.com") + 1) == "velolive.com"))
  1731. css += " body {background:url() !important;}";
  1732. if (false || (document.domain == "vesti.ru" || document.domain.substring(document.domain.indexOf(".vesti.ru") + 1) == "vesti.ru"))
  1733. css += [
  1734. " .bottom_bg {background: none !important;}",
  1735. " body, .head, .all_wrap {background: url(\" \") !important;}"
  1736. ].join("\n");
  1737. if (false || (document.domain == "vipfiles.nu" || document.domain.substring(document.domain.indexOf(".vipfiles.nu") + 1) == "vipfiles.nu"))
  1738. css += [
  1739. " div.loginformbox{background: none !important;}",
  1740. " div.tophhhhheader{background: none !important; padding: 0 !important; height: 75px !important;}",
  1741. " div.tophhhhheader>div.item1{height: 10px !important;}",
  1742. " div.tophhhhheader>div.item2{float: left !important; width: 500px !important;}",
  1743. " div.wrapper{margin: 0 !important; width: inherit !important;}",
  1744. " div.wrapwide.topheadwide{background: none !important;}"
  1745. ].join("\n");
  1746. if (false || (document.domain == "dns-shop.ru" || document.domain.substring(document.domain.indexOf(".dns-shop.ru") + 1) == "dns-shop.ru"))
  1747. css += " div.wrapper{width: auto !important;}";
  1748. if (false || (document.domain == "yaplakal.com" || document.domain.substring(document.domain.indexOf(".yaplakal.com") + 1) == "yaplakal.com"))
  1749. css += [
  1750. " body{background:none !important;}",
  1751. " #footer{background:url() !important;}",
  1752. " #footer{background-image:none !important;}",
  1753. " #footer,#top-line {background:none !important;padding:0 !important;}",
  1754. " #header,#footer {background-color:skyblue !important;}",
  1755. " #content{max-width:none !important;}"
  1756. ].join("\n");
  1757. if (false || (document.domain == "yummyanime.com" || document.domain.substring(document.domain.indexOf(".yummyanime.com") + 1) == "yummyanime.com"))
  1758. css += [
  1759. "#top-block {position: fixed !important; height: 0 !important; width: 0 !important;}"
  1760. ].join("\n");
  1761. if (false || (document.domain == "zagonka.ru" || document.domain.substring(document.domain.indexOf(".zagonka.ru") + 1) == "zagonka.ru"))
  1762. css += [
  1763. ".sitebox {margin-top:0 !important;}"
  1764. ].join("\n");
  1765. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  1766. css += [
  1767. // !! --- расширяем ---
  1768. " .page-head-bg {width: 99% !important; margin-left: auto !important;}",
  1769. " #page-head.stick {width: 98% !important; margin-left: auto !important;}",
  1770. " .body-gaps {max-width:100% !important; left: 5px !important; margin-left: auto !important; width: 99% !important;}",
  1771. " body{ padding-top: 0px !important; padding: 5px !important; max-width:100%!important;}",
  1772. " div[class=\"body-branding\"]{background:grey !important; padding-top: 0px !important; padding: 5px !important;max-width:100% !important;}"
  1773. ].join("\n");
  1774. if (false || (document.domain == "zalil.su" || document.domain.substring(document.domain.indexOf(".zalil.su") + 1) == "zalil.su"))
  1775. css += [
  1776. " body{background:none !important;}",
  1777. " body{background-color:gray !important;}",
  1778. " body{background-image:none !important;}"
  1779. ].join("\n");
  1780. if (false || (document.domain == "taker.im" || document.domain.substring(document.domain.indexOf(".taker.im") + 1) == "taker.im"))
  1781. css += [
  1782. // !! скрываем рекламные ссылки (СПАМ) в тексте
  1783. " a[href^=\"/phpBB2/goto/http://www.ebay.com/sch/\"][rel=\"nofollow\"]{color:#333 !important; text-decoration: none !important; pointer-events: none !important;}"
  1784. ].join("\n");
  1785. if (typeof GM_addStyle != "undefined") {
  1786. GM_addStyle(css);
  1787. } else if (typeof PRO_addStyle != "undefined") {
  1788. PRO_addStyle(css);
  1789. } else if (typeof addStyle != "undefined") {
  1790. addStyle(css);
  1791. } else {
  1792. var node = document.createElement("style");
  1793. node.type = "text/css";
  1794. node.appendChild(document.createTextNode(css));
  1795. var heads = document.getElementsByTagName("head");
  1796. if (heads.length > 0) {
  1797. heads[0].appendChild(node);
  1798. } else {
  1799. // no head yet, stick it whereever
  1800. document.documentElement.appendChild(node);
  1801. }
  1802. }
  1803. }());
  1804. // позаимствовано у lainverse (https://greasyfork.org/ru/scripts/809-no-yandex-ads)
  1805. // Удаляет рекламу из поиска Яндекс
  1806. (function(){
  1807. 'use strict';
  1808. var win = (unsafeWindow || window),
  1809. // http://stackoverflow.com/questions/9847580/how-to-detect-safari-chrome-ie-firefox-and-opera-browser
  1810. isOpera = (!!window.opr && !!opr.addons) || !!window.opera || navigator.userAgent.indexOf(' OPR/') >= 0,
  1811. isChrome = !!window.chrome && !!window.chrome.webstore,
  1812. isSafari = (Object.prototype.toString.call(window.HTMLElement).indexOf('Constructor') > 0 ||
  1813. (function (p) { return p.toString() === "[object SafariRemoteNotification]"; })(!window.safari || safari.pushNotification)),
  1814. isFirefox = typeof InstallTrigger !== 'undefined',
  1815. inIFrame = (win.self !== win.top),
  1816. _getAttribute = Element.prototype.getAttribute,
  1817. _setAttribute = Element.prototype.setAttribute,
  1818. _de = document.documentElement,
  1819. _appendChild = Document.prototype.appendChild.bind(_de),
  1820. _removeChild = Document.prototype.removeChild.bind(_de);
  1821. // console.log('01');
  1822. if (/^https?:\/\/(mail\.yandex\.|music\.yandex\.|news\.yandex\.|(www\.)?yandex\.[^\/]+\/(yand)?search[\/?])/i.test(win.location.href)) {
  1823. // https://greasyfork.org/en/scripts/809-no-yandex-ads
  1824. (function(){
  1825. var adWords = ['Яндекс.Директ','Реклама','Ad'],
  1826. genericAdSelectors = (
  1827. '.serp-adv__head + .serp-item,'+
  1828. '#adbanner,'+
  1829. '.serp-adv,'+
  1830. '.b-spec-adv,'+
  1831. 'div[class*="serp-adv__"]:not(.serp-adv__found):not(.serp-adv__displayed)'+
  1832. '._type_smart-banner'+
  1833. '.stripe_type_promo'+
  1834. '.footer_distro_yes'
  1835. );
  1836. function remove(node) {
  1837. node.parentNode.removeChild(node);
  1838. }
  1839. // Generic ads removal and fixes
  1840. function removeGenericAds() {
  1841. // var ss;
  1842. // ss = document.querySelector('.serp-header');
  1843. // if (ss) {
  1844. // ss.style.marginTop='0';
  1845. // }
  1846. var s = document.querySelector('.serp-header');
  1847. if (s) {
  1848. s.style.marginTop='0';
  1849. }
  1850. // for (s of document.querySelectorAll(genericAdSelectors)) {
  1851. // remove(s);
  1852. // }
  1853. // !! Правим ошибку синтаксиса (s of arr) не работает -> старый вариант
  1854. (function(s, i){
  1855. i = s.length;
  1856. while(i--)
  1857. remove(s[i]);
  1858. })(document.querySelectorAll(genericAdSelectors), 0);
  1859. // })(document.querySelectorAll('.serp-adv__head + .serp-item'), 0);
  1860. (function(s){
  1861. for (var l = 0; l < s.length; l++) remove(s[l]);
  1862. })(document.querySelectorAll(genericAdSelectors));
  1863. //})(document.querySelectorAll(['#adbanner',
  1864. // '.serp-adv',
  1865. // '.b-spec-adv',
  1866. // 'div[class*="serp-adv__"]:not(.serp-adv__found):not(.serp-adv__displayed)',
  1867. // '._type_smart-banner',
  1868. // '.stripe_type_promo',
  1869. // '.footer_distro_yes'].join(',')));
  1870. // }
  1871. }
  1872. // Search ads
  1873. function removeSearchAds() {
  1874. var ll;
  1875. /* var s, item, l;
  1876. for (s of document.querySelectorAll('.t-construct-adapter__legacy')) {
  1877. item = s.querySelector('.organic__subtitle');
  1878. l = window.getComputedStyle(item, ':after').content;
  1879. if (item && adWords.indexOf(l.replace(/"/g,'')) > -1) {
  1880. remove(s);
  1881. console.log('Ads removed.');
  1882. }
  1883. }
  1884. } */
  1885. var s = document.querySelectorAll('.t-construct-adapter__legacy');
  1886. for (var l = 0; l < s.length; l++) {
  1887. var item = s[l].querySelector('.organic__subtitle');
  1888. ll = window.getComputedStyle(item, ':after').content;
  1889. // if (!item) continue;
  1890. // if (item && adWords.indexOf(item.textContent) > -1){
  1891. // remove(s[l]);
  1892. // console.log('Ads removed.');
  1893. // }
  1894. if (item && adWords.indexOf(ll.replace(/"/g,'')) > -1) {
  1895. remove(s);
  1896. console.log('Ads removed.');
  1897. }
  1898. }
  1899. }
  1900. // News ads
  1901. function removeNewsAds() {
  1902. /*
  1903. for (var s of document.querySelectorAll(
  1904. '.page-content__left > *,'+
  1905. '.page-content__right > *:not(.page-content__col),'+
  1906. '.page-content__right > .page-content__col > *'
  1907. )) {
  1908. if (s.textContent.indexOf(adWords[0]) > -1 ||
  1909. (s.clientHeight < 15 && s.classList.contains('rubric'))) {
  1910. remove(s);
  1911. console.log('Ads removed.');
  1912. }
  1913. }
  1914. */
  1915. var s = document.querySelectorAll(['.page-content__left > *',
  1916. '.page-content__right > *:not(.page-content__col)',
  1917. '.page-content__right > .page-content__col > *'].join(','));
  1918. for (var l = 0; l < s.length; l++) {
  1919. if (s[l].textContent.indexOf(adWords[0]) > -1 ||
  1920. (s[l].clientHeight < 15 && s[l].classList.contains('rubric'))) {
  1921. remove(s[l]);
  1922. console.log('Ads removed.');
  1923. }
  1924. }
  1925. }
  1926. // Music ads
  1927. function removeMusicAds() {
  1928. /* for (var s of document.querySelectorAll('.ads-block')) {
  1929. remove(s);
  1930. } */
  1931. var s = document.querySelectorAll('.ads-block');
  1932. for (var l = 0; l < s.length; l++) {
  1933. remove(s[l]);
  1934. console.log('Ads removed.');
  1935. }
  1936. }
  1937. // Mail ads
  1938. function removeMailAds() {
  1939. var slice = Array.prototype.slice,
  1940. nodes = slice.call(document.querySelectorAll('.ns-view-folders')),
  1941. node, len, cls;
  1942. /* for (node of nodes) {
  1943. if (!len || len > node.classList.length) {
  1944. len = node.classList.length;
  1945. }
  1946. } */
  1947. for (var l = 0; l < nodes.length; l++) {
  1948. node = nodes[l];
  1949. if (!len || len > node.classList.length) {
  1950. len = node.classList.length;
  1951. }
  1952. }
  1953. node = nodes.pop();
  1954. while (node) {
  1955. if (node.classList.length > len) {
  1956. /* for (cls of slice.call(node.classList)) {
  1957. if (cls.indexOf('-') === -1) {
  1958. remove(node);
  1959. break;
  1960. }
  1961. } */
  1962. for (var l = 0; l < node.classList.length; l++) {
  1963. cls = slice.call(node.classList[l]);
  1964. if (cls.indexOf('-') === -1) {
  1965. remove(node);
  1966. break;
  1967. }
  1968. }
  1969. }
  1970. node = nodes.pop();
  1971. }
  1972. }
  1973. // News fixes
  1974. function removePageAdsClass() {
  1975. if (document.body.classList.contains("b-page_ads_yes")){
  1976. document.body.classList.remove("b-page_ads_yes");
  1977. console.log('Page ads class removed.');
  1978. }
  1979. }
  1980. // myAdd
  1981. function removePageAdsClass2() {
  1982. if (document.body.classList.contains("stripe_type_promo")){
  1983. document.body.classList.remove("stripe_type_promo");
  1984. console.log('Page ads2 class removed.');
  1985. }
  1986. if (document.body.classList.contains("dist-popup_product_browser")){
  1987. document.body.classList.remove("dist-popup_product_browser");
  1988. console.log('Page ads2 class removed.');
  1989. }
  1990. if (document.body.classList.contains('[data-bem*="bannerid"]')){
  1991. document.body.classList.remove('[data-bem*="bannerid"]');
  1992. console.log('Page ads3 class removed.');
  1993. }
  1994. }
  1995. // Function to attach an observer to monitor dynamic changes on the page
  1996. function pageUpdateObserver(func, obj, params) {
  1997. if (obj) {
  1998. var o = new MutationObserver(func);
  1999. o.observe(obj,(params || {childList:true, subtree:true}));
  2000. }
  2001. }
  2002. // Cleaner
  2003. // не работает частично (со слушателем)
  2004. // document.addEventListener ('DOMContentLoaded', function() {
  2005. removeGenericAds();
  2006. if (win.location.hostname.search(/^mail\./i) === 0) {
  2007. removeGenericAds();
  2008. pageUpdateObserver(function(ms, o){
  2009. var aside = document.querySelector('.mail-Layout-Aside');
  2010. if (aside) {
  2011. o.disconnect();
  2012. pageUpdateObserver(removeMailAds, aside);
  2013. }
  2014. }, document.querySelector('BODY'));
  2015. removeMailAds();
  2016. } else if (win.location.hostname.search(/^music\./i) === 0) {
  2017. removeGenericAds();
  2018. pageUpdateObserver(removeMusicAds, document.querySelector('.sidebar'));
  2019. removeMusicAds();
  2020. } else if (win.location.hostname.search(/^news\./i) === 0) {
  2021. removeGenericAds();
  2022. pageUpdateObserver(removeNewsAds, document.querySelector('BODY'));
  2023. pageUpdateObserver(removePageAdsClass, document.body, {attributes:true, attributesFilter:['class']});
  2024. removeNewsAds();
  2025. removePageAdsClass();
  2026. removePageAdsClass2();
  2027. } else {
  2028. removeGenericAds();
  2029. pageUpdateObserver(removeSearchAds, document.querySelector('.main__content'));
  2030. pageUpdateObserver(removePageAdsClass2, document.body, {attributes:true, attributesFilter:['class']});
  2031. removeSearchAds();
  2032. removePageAdsClass2();
  2033. }
  2034. // });
  2035. })();
  2036. // return; //skip fixes for other sites
  2037. }
  2038. // Yandex Link Tracking
  2039. if (/^https?:\/\/([^.]+\.)*yandex\.[^\/]+/i.test(win.location.href)) {
  2040. // Partially based on https://greasyfork.org/en/scripts/22737-remove-yandex-redirect
  2041. (function(){
  2042. var link, selectors = (
  2043. 'A[onmousedown*="/jsredir"],'+
  2044. 'A[data-vdir-href],'+
  2045. 'A[data-counter]'
  2046. );
  2047. function removeTrackingAttributes(link) {
  2048. link.removeAttribute('onmousedown');
  2049. if (link.hasAttribute('data-vdir-href')) {
  2050. link.removeAttribute('data-vdir-href');
  2051. link.removeAttribute('data-orig-href');
  2052. }
  2053. if (link.hasAttribute('data-counter')) {
  2054. link.removeAttribute('data-counter');
  2055. link.removeAttribute('data-bem');
  2056. }
  2057. }
  2058. function removeTracking(scope) {
  2059. for (link of scope.querySelectorAll(selectors)) {
  2060. removeTrackingAttributes(link);
  2061. }
  2062. }
  2063. document.addEventListener('DOMContentLoaded', function(e) {
  2064. removeTracking(e.target);
  2065. });
  2066. (new MutationObserver(function(ms) {
  2067. var m, node;
  2068. for (m of ms) {
  2069. for (node of m.addedNodes) {
  2070. if (node.nodeType === Node.ELEMENT_NODE) {
  2071. if (node.tagName === 'A' && node.matches(selectors)) {
  2072. removeTrackingAttributes(node);
  2073. } else {
  2074. removeTracking(node);
  2075. }
  2076. }
  2077. }
  2078. }
  2079. })).observe(_de, {childList: true, subtree: true});
  2080. })();
  2081. return; //skip fixes for other sites
  2082. }
  2083. }());
  2084. // Удаляет рекламу из вконтакта
  2085. (function(){
  2086. var lct = location.href;
  2087. if(lct.match(/^https?:\/\/(.*\.)?(vkontakte\.ru|vk\.com)\/.*/)) {
  2088. // Generic ads removal
  2089. (function(s){
  2090. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  2091. })(document.querySelectorAll('#left_ads,.ads_ads_box,.ads_ads_all_ads,.ads_ad_box2,.ads_ad_box3,.ads_ad_box4,.ads_ad_box5,.ads_ad_box6,.ads_ad_box7,.ads_ad_box8,.ads_ad_text_box'));
  2092. console.log('Page ads class removed.');
  2093. }
  2094. }());
  2095. // Удаляет рекламу из gismeteo
  2096. (function(){
  2097. var lct = location.href;
  2098. if(lct.match(/^https?:\/\/(.*\.)?gismeteo\./)) {
  2099. var removeA = function() {
  2100. var s = document.querySelectorAll('yatag,#yandex_ad_horiz,#ad-left,#ad-lb-content,#ad-right.rframe,#rbc,.cright,.media_top,#soft-promo,.soft-promo,.soft-promo-wrap,#yandex_ad,#informer.rframe,.rframe.awad,#ad-lb.rframe,[id*=yandex],#weather-news,#bottom_shadow,a#logo,#smi2,[id*=MarketGid],.news_frame,.media_left,.media_content,.media_frame,#counter,#adfox_catfish,[id*=banner],iframe,#soft-promo.soft-promo,div.media_middle,div.media-frame,#ad-top,#rek-top,[id*=AdFox],[id^=rek-],#weather-lb.rframe,#weather-left.rframe,#weather-top,[class^=text_ad],[class^=textAd],[class^=text-ad],[class^=ad-],[class*=pub_300x250],[class^=soc2],[class^=social-],div[class*=side___i],div.ad.ad_240x400,.itemAd,div[class=box__i],[class^=plista],div.side,div.side>noindex>div.extra,div[class=right_col_1]>div[class*=__frame]>div[id^=y],div[class=__frame]>div[id^=y]');
  2101. for (var l = 0; l < s.length; l++) {
  2102. if(s[l].parentNode) s[l].parentNode.removeChild(s[l]);
  2103. }
  2104. }
  2105. (function(s){
  2106. var MutationObserver = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver;
  2107. if (s) (new MutationObserver(removeA)).observe(s,{childList:true});
  2108. })(document.querySelector('.measure'));
  2109. // Google Chrome trick: sometimes the script is executed after that DOMContentLoaded was triggered, in this case we directly run our code
  2110. if (document.readyState == "complete") {
  2111. removeA();
  2112. console.log('Page ads class removed.');
  2113. } else {
  2114. window.addEventListener('DOMContentLoaded', removeA);
  2115. console.log('Page ads class removed.');
  2116. }
  2117. }
  2118. }());
  2119. // Удаляет рекламу из 4pda
  2120. (function(){
  2121. // пока убрано, поломалось
  2122. }());
  2123. }());