RU Max4_ABP_Fix CSS

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

目前為 2017-06-10 提交的版本,檢視 最新版本

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