RU Max4_ABP_Fix CSS

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

当前为 2016-10-15 提交的版本,查看 最新版本

  1. // ==UserScript==
  2. // @name RU Max4_ABP_Fix CSS
  3. // @namespace https://greasyfork.org
  4. // @description Дополнение, исправляющее работу Adblock Plus для отдельных сайтов. Возвращаем функционал Ad-Охотника в Maxthon4. Спасибо lainverse за идею.
  5. // @author lainverse & ALeXkRU
  6. // @license CC BY-SA
  7. // @homepage https://greasyfork.org/ru/scripts/8225-ru-max4-abp-fix-css
  8. // @run-at document-start
  9. // @include *://*/*
  10. // @match *://*/*
  11. // @version 1.20161015100029
  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 == "aif.ru" || document.domain.substring(document.domain.indexOf(".aif.ru") + 1) == "aif.ru") || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru") || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua") || (document.domain == "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 == "kinotochka.net" || document.domain.substring(document.domain.indexOf(".kinotochka.net") + 1) == "kinotochka.net") || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net") || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru") || (document.domain == "livejournal.com" || document.domain.substring(document.domain.indexOf(".livejournal.com") + 1) == "livejournal.com") || (document.domain == "newstudio.tv" || document.domain.substring(document.domain.indexOf(".newstudio.tv") + 1) == "newstudio.tv") || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru") || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com") || (document.domain == "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 == "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 == "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.club" || document.domain.substring(document.domain.indexOf(".baskino.club") + 1) == "baskino.club") || (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 == "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 == "moskva.fm" || document.domain.substring(document.domain.indexOf(".moskva.fm") + 1) == "moskva.fm") || (document.domain == "newstudio.tv" || document.domain.substring(document.domain.indexOf(".newstudio.tv") + 1) == "newstudio.tv") || (document.domain == "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 == "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-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 == "xrutor.org" || document.domain.substring(document.domain.indexOf(".xrutor.org") + 1) == "xrutor.org"))
  33. css += [
  34. "body:not(#id) {padding-top: 0!important;}"
  35. ].join("\n");
  36. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru") || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua") || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv") || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru") || (document.domain == "unionpeer.org" || document.domain.substring(document.domain.indexOf(".unionpeer.org") + 1) == "unionpeer.org"))
  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 == "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"))
  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; pointer-events: none!important; padding-top: 0!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 == "adultmult.tv" || document.domain.substring(document.domain.indexOf(".adultmult.tv") + 1) == "adultmult.tv"))
  99. css += [
  100. " body {top:0!important;}",
  101. " .adsbygoogle, #aswift_0_expand {display: none!important;}"
  102. ].join("\n");
  103. if (false || (document.domain == "afisha.ru" || document.domain.substring(document.domain.indexOf(".afisha.ru") + 1) == "afisha.ru"))
  104. css += [
  105. ".page_block_content {width:100%!important;}",
  106. " .page_block_adv {background:none!important;}"
  107. ].join("\n");
  108. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  109. css += [
  110. " #new_logo_helper01 {top: 0!important;}",
  111. " #header-links {display: none!important;}"
  112. ].join("\n");
  113. if (false || (document.domain == "aif.ru" || document.domain.substring(document.domain.indexOf(".aif.ru") + 1) == "aif.ru"))
  114. css += "#container:not(#id) {margin-top:0!important}";
  115. if (false || (document.domain == "ain.ua" || document.domain.substring(document.domain.indexOf(".ain.ua") + 1) == "ain.ua"))
  116. css += [
  117. "body:not(#id) {background: white!important;}"
  118. ].join("\n");
  119. if (false || (document.domain == "all-episodes.net" || document.domain.substring(document.domain.indexOf(".all-episodes.net") + 1) == "all-episodes.net"))
  120. css += [
  121. ".wrapper {top: 0!important}",
  122. " #ad3,:not(#ad3)>div[id^=\"bn_\"] {position: fixed!important; top: -10000px!important; left: -10000px!important}"
  123. ].join("\n");
  124. if (false || (document.domain == "allhockey.ru" || document.domain.substring(document.domain.indexOf(".allhockey.ru") + 1) == "allhockey.ru"))
  125. css += ".adr-top { height:0!important;min-height:0!important}";
  126. if (false || (document.domain == "aliexpress.com" || document.domain.substring(document.domain.indexOf(".aliexpress.com") + 1) == "aliexpress.com"))
  127. css += [
  128. " div.categories-main{ display: inline-block !important; width:auto !important; } dl.cl-item{display: inline-block !important;}",
  129. " div.index-page>div.user-helper-footer{position: relative !important; top: 120px !important; padding: 0 !important;}",
  130. " div.index-page>div.site-footer{position: relative !important; top: 120px !important; margin: 0 !important; padding: 0 !important;}",
  131. " div.index-page>div.footer-copywrite{position: relative !important; top: 120px !important;}",
  132. " div.index-page{height: inherit !important;}"
  133. ].join("\n");
  134. if (false || (document.domain == "animedia.tv" || document.domain.substring(document.domain.indexOf(".animedia.tv") + 1) == "animedia.tv"))
  135. css += [
  136. ".promo__wrapper {display: none!important;}"
  137. ].join("\n");
  138. if (false || (document.domain == "animemovie.ru" || document.domain.substring(document.domain.indexOf(".animemovie.ru") + 1) == "animemovie.ru"))
  139. css += [
  140. "header[role=\"banner\"], body > .standard {height: 100px!important; background: transparent!important;}",
  141. " nav[role=\"navigation\"] > ul {top: 0!important;}",
  142. " .htitle {margin-left: 0!important; left: 150px!important;}",
  143. " .logo {margin-left: 0!important; left: 0!important;}"
  144. ].join("\n");
  145. if (false || (document.domain == "animevost.org" || document.domain.substring(document.domain.indexOf(".animevost.org") + 1) == "animevost.org"))
  146. css += [
  147. "div[class^=\"headbg\"] {background-image:none!important;height:auto!important;}",
  148. " div[class^=\"headbg\"] > .menu {top:0px!important;}",
  149. " div[class^=\"headbg\"] > .menu .sar {bottom:auto!important;top:50px!important;z-index:100!important;}"
  150. ].join("\n");
  151. if (false || (document.domain == "aniplay.tv" || document.domain.substring(document.domain.indexOf(".aniplay.tv") + 1) == "aniplay.tv"))
  152. css += [
  153. ".ap2-main-header {height: 51px!important; }"
  154. ].join("\n");
  155. if (false || (document.domain == "anistar.me" || document.domain.substring(document.domain.indexOf(".anistar.me") + 1) == "anistar.me"))
  156. css += [
  157. "body > .clear + div:not(.main),.news-fixed {display:none!important;}",
  158. " .wrapper.width1200 {margin-top:0 !important;}",
  159. " .drowmenu {z-index: 1999999999 !important;}"
  160. ].join("\n");
  161. if (false || (document.domain == "anti-malware.ru" || document.domain.substring(document.domain.indexOf(".anti-malware.ru") + 1) == "anti-malware.ru"))
  162. css += "#header-bg-enf {margin-top:0!important;}";
  163. if (false || (document.domain == "auto.ru" || document.domain.substring(document.domain.indexOf(".auto.ru") + 1) == "auto.ru"))
  164. css += [
  165. ".i-bem[data-bem*=\"\\\"ad\\\"\"],.card__ins-button-direct {position: fixed!important;",
  166. " top:-10000px!important}"
  167. ].join("\n");
  168. if (false || (document.domain == "bestpersons.ru" || document.domain.substring(document.domain.indexOf(".bestpersons.ru") + 1) == "bestpersons.ru"))
  169. css += [
  170. "/* Fx compat fix */",
  171. " #userTabs {float:none!important;}"
  172. ].join("\n");
  173. if (false || (document.domain == "binmovie.org" || document.domain.substring(document.domain.indexOf(".binmovie.org") + 1) == "binmovie.org"))
  174. css += " #content {top:0!important;left:0!important;width:100%!important;margin-left:0!important;}";
  175. if (false || (document.domain == "bvedomosti.ru" || document.domain.substring(document.domain.indexOf(".bvedomosti.ru") + 1) == "bvedomosti.ru"))
  176. css += [
  177. ".art-Header {display:none!important;}",
  178. " #art-main {background-image:none!important;}",
  179. " .bg-top-menu {top:0!important;}"
  180. ].join("\n");
  181. if (false || (document.domain == "carambatv.ru" || document.domain.substring(document.domain.indexOf(".carambatv.ru") + 1) == "carambatv.ru"))
  182. css += " .content {background:none!important;padding:0!important;}";
  183. if (false || (document.domain == "cars.ru" || document.domain.substring(document.domain.indexOf(".cars.ru") + 1) == "cars.ru"))
  184. css += [
  185. "#main {margin-top:0!important;}",
  186. " A[href*=\"/adclick.php?bannerid=\"] {display:none!important;}"
  187. ].join("\n");
  188. if (false || (document.domain == "cf.ua" || document.domain.substring(document.domain.indexOf(".cf.ua") + 1) == "cf.ua"))
  189. css += [
  190. ".hamburger__overlay.no-close {display:none!important;}",
  191. " body.overflow--hidden,.scroll-content.disable-scrolling {overflow:auto!important;}"
  192. ].join("\n");
  193. if (false || (document.domain == "cinema-hd.ru" || document.domain.substring(document.domain.indexOf(".cinema-hd.ru") + 1) == "cinema-hd.ru"))
  194. css += ".wrap {padding-top:0!important}";
  195. if (false || (document.domain == "creativportal.ru" || document.domain.substring(document.domain.indexOf(".creativportal.ru") + 1) == "creativportal.ru"))
  196. css += [
  197. " .pocaz {width: 10px!important; height: 10px!important; position: fixed!important; top:-100px!important;}"
  198. ].join("\n");
  199. 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"))
  200. css += [
  201. ".l-body-branding *,.b-styled__content-right,.b-styled__section-central,.b-styled__item-central,div[id^=\"adsProxy-\"] {display:none!important;}",
  202. " body { background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAACXBIWXMAAC4jAAAuIwF4pT92AAAADUlEQVR42mOQUdL5DwACMgFqBC3ttwAAAABJRU5ErkJggg==)!important;}"
  203. ].join("\n");
  204. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru"))
  205. css += [
  206. ".full-2:not(#id) {background: black!important; padding-top: 0!important;}",
  207. " #rka, .sargona {display: none!important;}",
  208. " #headerProxy {height: 150px!important;}",
  209. " .banners-p {background: transparent!important; height: 1px !important;}"
  210. ].join("\n");
  211. if (false || (document.domain == "drive.ru" || document.domain.substring(document.domain.indexOf(".drive.ru") + 1) == "drive.ru"))
  212. css += "body>div {background:none!important;padding-top:0!important;}";
  213. if (false || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua"))
  214. css += [
  215. " body {cursor:auto!important;}",
  216. " body>div[align=\"center\"] {width:auto!important;margin:0!important;}"
  217. ].join("\n");
  218. if (false || (document.domain == "firepic.org" || document.domain.substring(document.domain.indexOf(".firepic.org") + 1) == "firepic.org"))
  219. css += [
  220. "body {padding:0!important;background-image:none!important;}",
  221. " .container,.row {max-width:none!important;}",
  222. " .container {width:100%!important;}",
  223. " .row {padding:30px!important;margin:0px!important;}",
  224. " .span12 {clear:both}"
  225. ].join("\n");
  226. if (false || (document.domain == "fishki.net" || document.domain.substring(document.domain.indexOf(".fishki.net") + 1) == "fishki.net"))
  227. css += "#container {cursor:auto!important;}";
  228. 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"))
  229. css += [
  230. "#sidebar2 {padding-top:0!important;}",
  231. " #main-wrapper {width:100%!important;top:0!important;}"
  232. ].join("\n");
  233. if (false || (document.domain == "gamebomb.ru" || document.domain.substring(document.domain.indexOf(".gamebomb.ru") + 1) == "gamebomb.ru"))
  234. css += [
  235. "#ssdfsd,.dfgdjkfgh{background-image:none!important;}",
  236. " #content{padding-top:0!important;margin-top:0!important;}"
  237. ].join("\n");
  238. if (false || (document.domain == "gamer-info.com" || document.domain.substring(document.domain.indexOf(".gamer-info.com") + 1) == "gamer-info.com"))
  239. css += "#all-content-container {padding:0!important;}";
  240. if (false || (document.domain == "gametech.ru" || document.domain.substring(document.domain.indexOf(".gametech.ru") + 1) == "gametech.ru"))
  241. css += [
  242. "body {background:#eee!important;}"
  243. ].join("\n");
  244. if (false || (document.domain == "gastronom.ru" || document.domain.substring(document.domain.indexOf(".gastronom.ru") + 1) == "gastronom.ru"))
  245. css += [
  246. "body { cursor: auto !important;}",
  247. " #wrapper {max-width: none !important;}"
  248. ].join("\n");
  249. if (false || (document.domain == "gidonline.club" || document.domain.substring(document.domain.indexOf(".gidonline.club") + 1) == "gidonline.club"))
  250. css += "#headerline {margin-top:0!important;}";
  251. if (false || (document.domain == "gidonlinekino.com" || document.domain.substring(document.domain.indexOf(".gidonlinekino.com") + 1) == "gidonlinekino.com"))
  252. css += " #headerline {margin-top:0!important;}";
  253. if (false || (document.domain == "goclips.tv" || document.domain.substring(document.domain.indexOf(".goclips.tv") + 1) == "goclips.tv"))
  254. css += " .video_content {height:auto!important;}";
  255. if (false || (document.domain == "goha.ru" || document.domain.substring(document.domain.indexOf(".goha.ru") + 1) == "goha.ru"))
  256. css += [
  257. "#full-brand-footer>div[style*=\"fixed\"], #head-tuppy>a {display:none!important;}",
  258. " #full-brand {background-image:none!important;}",
  259. " #head-tuppy {height: 7px!important;}"
  260. ].join("\n");
  261. if (false || (document.domain == "goodgame.ru" || document.domain.substring(document.domain.indexOf(".goodgame.ru") + 1) == "goodgame.ru"))
  262. css += [
  263. ".main-block .main-inner-wrap {margin-top: 0!important;}"
  264. ].join("\n");
  265. if (false || (document.domain == "gotps3.ru" || document.domain.substring(document.domain.indexOf(".gotps3.ru") + 1) == "gotps3.ru"))
  266. css += "#Page {margin-top:0!important;}";
  267. if (false || (document.domain == "gstv.ru" || document.domain.substring(document.domain.indexOf(".gstv.ru") + 1) == "gstv.ru"))
  268. css += ".page-content {margin-top:0!important;}";
  269. if (false || (document.domain == "hdfilms.tv" || document.domain.substring(document.domain.indexOf(".hdfilms.tv") + 1) == "hdfilms.tv"))
  270. css += " #subheader{padding-top:1px!important;}";
  271. if (false || (document.domain == "hdrezka.me" || document.domain.substring(document.domain.indexOf(".hdrezka.me") + 1) == "hdrezka.me"))
  272. css += [
  273. " .b-post__mixedtext~style+div[id] {display: none!important}"
  274. ].join("\n");
  275. if (false || (document.domain == "hosgeldi.com" || document.domain.substring(document.domain.indexOf(".hosgeldi.com") + 1) == "hosgeldi.com"))
  276. css += [
  277. "script[src$=\"/adsbygoogle.js\"] + *, .adsbygoogle {position: fixed!important; top: -10000px!important;}"
  278. ].join("\n");
  279. if (false || (document.domain == "infomama.com.ua" || document.domain.substring(document.domain.indexOf(".infomama.com.ua") + 1) == "infomama.com.ua"))
  280. css += [
  281. "#logo {display:none!important;}",
  282. " #headerMover #headerProxy {height: 50px!important;}"
  283. ].join("\n");
  284. if (false || (document.domain == "infpol.ru" || document.domain.substring(document.domain.indexOf(".infpol.ru") + 1) == "infpol.ru"))
  285. css += [
  286. ".header__stick {top: 0!important;}",
  287. " .header {height: 60px!important;}"
  288. ].join("\n");
  289. if (false || (document.domain == "iphones.ru" || document.domain.substring(document.domain.indexOf(".iphones.ru") + 1) == "iphones.ru"))
  290. css += "#contentShifter {height:127px!important}";
  291. if (false || (document.domain == "kg-portal.ru" || document.domain.substring(document.domain.indexOf(".kg-portal.ru") + 1) == "kg-portal.ru"))
  292. css += [
  293. ".des_front {height: auto!important; min-height: 170px!important;}",
  294. " div[class$=\"_bg1\"], div[class$=\"_bg2\"], .des_front > div[class$=\"_wrap\"] {display: none!important;}"
  295. ].join("\n");
  296. if (false || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv"))
  297. css += " #main {width: auto!important;}";
  298. if (false || (document.domain == "kino-serial.net" || document.domain.substring(document.domain.indexOf(".kino-serial.net") + 1) == "kino-serial.net"))
  299. css += "#header+div[style*=\"height\"] {height:90px!important}";
  300. if (false || (document.domain == "kinoafisha.spb.ru" || document.domain.substring(document.domain.indexOf(".kinoafisha.spb.ru") + 1) == "kinoafisha.spb.ru"))
  301. css += "#branding_wrapper {padding-right:0!important}";
  302. if (false || (document.domain == "kinobel.by" || document.domain.substring(document.domain.indexOf(".kinobel.by") + 1) == "kinobel.by"))
  303. css += ".bg-site {padding-top:0!important;}";
  304. if (false || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru"))
  305. css += [
  306. " body{background:none!important;}",
  307. " body{background:#C0C0C0!important;}",
  308. " html[style] {background-image: url()!important;}",
  309. " #top .png_block, #GoUpClickZone{background:url() !important;}",
  310. " #top {height:100px!important;}",
  311. " .master {top:1px!important;}",
  312. " .menu {top:1px!important;}",
  313. // !! выравниваем секцию поиск:
  314. " #top_form {top: 2px!important;}",
  315. " #top .png_block {top: 2px!important;}",
  316. // !! расширяем полезную площадь
  317. " #content_block, .contentBlock1, .shadow, #top, #top .png_block, .block_left_padtop{width:100% !important;}",
  318. " div[id\*=\"div_review_\"]{width:98% !important;}",
  319. " .brand_words, p[id\^=\"ext_text_\"], ._reachbanner_ {width:100% !important;}",
  320. " .reviewItem, .userReview, p[id\^=\"ext_text_\"][data-find], span._reachbanner_ {width:100% !important;}",
  321. " div#content_block.contentBlock1>table {width:95% !important;}",
  322. " div#content_block.contentBlock1>table>tbody[data-find]>tr[data-find] {width:95% !important;}",
  323. " #photoBlock {padding-left:20px !important;}",
  324. " div#nav_express {padding-left:40px !important;}"
  325. ].join("\n");
  326. if (false || (document.domain == "kinotochka.net" || document.domain.substring(document.domain.indexOf(".kinotochka.net") + 1) == "kinotochka.net"))
  327. css += ".center-box2 {margin-top:0!important}";
  328. if (false || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net"))
  329. css += " body.brending {padding-top:180px!important;}";
  330. if (false || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru"))
  331. css += " #dynamic-content{margin-top:0!important;}";
  332. if (false || (document.domain == "mail.rambler.ru" || document.domain.substring(document.domain.indexOf(".mail.rambler.ru") + 1) == "mail.rambler.ru"))
  333. css += [
  334. ".appSearchBar, .appWindowWithBanner {right: 0!important; }"
  335. ].join("\n");
  336. 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"))
  337. css += " .b-branding__wrap {padding:0!important;}";
  338. if (false || (document.domain == "muzland.ru" || document.domain.substring(document.domain.indexOf(".muzland.ru") + 1) == "muzland.ru"))
  339. css += [
  340. "body { filter:none!important;}",
  341. " .googlefull {height:1px!important;}"
  342. ].join("\n");
  343. if (false || (document.domain == "naruto-base.su" || document.domain.substring(document.domain.indexOf(".naruto-base.su") + 1) == "naruto-base.su"))
  344. css += [
  345. "#header .logo_bnr, #header .logo, #nav .nav-left {display:none!important;}",
  346. " #rasp {left: 0!important; right: auto!important; height: 116px!important;}",
  347. " #rasp .side-r {top:-4px!important;}",
  348. " #header {height: 157px!important;",
  349. " background: rgb(255,216,138)!important;",
  350. " }",
  351. " #header:before {",
  352. " content: \"\"!important;",
  353. " position: absolute!important;",
  354. " top: 7px; left: 0; right: 0; bottom: 0!important;",
  355. " box-shadow: 0px -1px 5px 2px rgba(0,0,0,0.3)!important;",
  356. " pointer-events: none!important;",
  357. " /* Original pattern source: http://lea.verou.me/css3patterns/#seigaiha */",
  358. " background-image: ",
  359. "radial-gradient(circle at 100% 150%, #ff8840 24%, #ffecbe 25%, #ffecbe 28%, #ff8840 29%, #ff8840 35%, #ffecbe 36%, #ffecbe 39%, transparent 40%, transparent),",
  360. "radial-gradient(circle at 0 150%, #ff8840 24%, #ffecbe 25%, #ffecbe 28%, #ff8840 29%, #ff8840 35%, #ffecbe 36%, #ffecbe 39%, transparent 40%, transparent),",
  361. "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),",
  362. "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),",
  363. "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;",
  364. " background-size: 60px 30px!important;",
  365. " background-repeat: repeat!important;",
  366. " }",
  367. " #header:after {",
  368. " content: \"\"!important;",
  369. " position: absolute!important;",
  370. " top: 7px; left: 0; right: 0; bottom: 0!important;",
  371. " background: linear-gradient(to bottom, rgba(255,216,138,1) 0%,rgba(255,216,138,1) 10%,rgba(255,216,138,0) 100%)!important;",
  372. " pointer-events: none!important;",
  373. " }",
  374. " .right.nav {float: left!important; margin-top: 126px!important; margin-left: 0!important;}",
  375. " .right.nav #nav {border-top-right-radius: 5px!important;}",
  376. " .under-head {bottom: -118px!important;}",
  377. " .under-head input {padding: 6px!important;}",
  378. " #container {margin-top: 30px!important;}",
  379. " .shadow1,.shadow2 {display: block!important;}"
  380. ].join("\n");
  381. if (false || (document.domain == "naruto-brand.ru" || document.domain.substring(document.domain.indexOf(".naruto-brand.ru") + 1) == "naruto-brand.ru"))
  382. css += [
  383. "#nqpR {display:none!important;}"
  384. ].join("\n");
  385. if (false || (document.domain == "noob-club.ru" || document.domain.substring(document.domain.indexOf(".noob-club.ru") + 1) == "noob-club.ru"))
  386. css += "#header-new {margin-bottom:0!important;}";
  387. if (false || (document.domain == "online.anidub.com" || document.domain.substring(document.domain.indexOf(".online.anidub.com") + 1) == "online.anidub.com"))
  388. css += [
  389. " .background {background: none!important;}",
  390. " .background>script + div, .background>script ~ div:not([id]):not([class]) + div[id][class] {display: none!important;}"
  391. ].join("\n");
  392. if (false || (document.domain == "online.animedia.tv" || document.domain.substring(document.domain.indexOf(".online.animedia.tv") + 1) == "online.animedia.tv"))
  393. css += [
  394. " .promo {display: none!important;}",
  395. " .main-container {margin-top: 80px!important;}"
  396. ].join("\n");
  397. 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"))
  398. css += [
  399. "div[id] > div[class][style^=\"width: 24\"] {display: none!important;}"
  400. ].join("\n");
  401. if (false || (document.domain == "playground.ru" || document.domain.substring(document.domain.indexOf(".playground.ru") + 1) == "playground.ru"))
  402. css += [
  403. "#foundationWrapper {background: #373737!important}"
  404. ].join("\n");
  405. if (false || (document.domain == "politobzor.net" || document.domain.substring(document.domain.indexOf(".politobzor.net") + 1) == "politobzor.net"))
  406. css += " .banner {height:90px!important;}";
  407. if (false || (document.domain == "povarenok.ru" || document.domain.substring(document.domain.indexOf(".povarenok.ru") + 1) == "povarenok.ru"))
  408. css += [
  409. ".car_content {margin:0!important;width:100%!important;}",
  410. " .car_recept {width:97%!important;}",
  411. " .cont_head, .cont_mid, .car_footer {background:none!important;}",
  412. " .car_header, .petushok, .cont_foot {display:none!important;}"
  413. ].join("\n");
  414. if (false || (document.domain == "promodj.com" || document.domain.substring(document.domain.indexOf(".promodj.com") + 1) == "promodj.com"))
  415. css += " #topbrandingspot {padding-top:0!important;}";
  416. if (false || (document.domain == "prophotos.ru" || document.domain.substring(document.domain.indexOf(".prophotos.ru") + 1) == "prophotos.ru"))
  417. css += [
  418. "body:not(#id) {",
  419. " padding-top: 130px!important",
  420. " }"
  421. ].join("\n");
  422. if (false || (document.domain == "riotpixels.com" || document.domain.substring(document.domain.indexOf(".riotpixels.com") + 1) == "riotpixels.com"))
  423. css += [
  424. "body {background-image:none!important;}",
  425. " .all-wrapper, .bottom-bar {top:0!important;}",
  426. " .bottom-bar, .action-menu {position:fixed!important;}"
  427. ].join("\n");
  428. if (false || (document.domain == "rufilmtv.org" || document.domain.substring(document.domain.indexOf(".rufilmtv.org") + 1) == "rufilmtv.org"))
  429. css += [
  430. "#content:not(#id) {padding-top: 0!important;}"
  431. ].join("\n");
  432. if (false || (document.domain == "rusfootball.info" || document.domain.substring(document.domain.indexOf(".rusfootball.info") + 1) == "rusfootball.info"))
  433. css += [
  434. "#wrap {top:0!important;}"
  435. ].join("\n");
  436. if (false || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru"))
  437. css += [
  438. ".sub-frame, .low-frame, #wrapper {position: static!important; float: none!important; width: 100%!important;}",
  439. " .main-frame {background:none!important; padding-top:0!important; cursor:auto!important; pointer-events:none!important;}",
  440. " #wrapper > * {pointer-events:auto!important;}",
  441. " #media {padding-bottom:0!important;}"
  442. ].join("\n");
  443. if (false || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru"))
  444. css += " body {background-color:#707070!important;}";
  445. if (false || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com"))
  446. css += " #wrapper>#all {margin-top:0!important;}";
  447. if (false || (document.domain == "smotri-filmi.net" || document.domain.substring(document.domain.indexOf(".smotri-filmi.net") + 1) == "smotri-filmi.net"))
  448. css += " .broda {margin-top:0!important}";
  449. if (false || (document.domain == "snob.ru" || document.domain.substring(document.domain.indexOf(".snob.ru") + 1) == "snob.ru"))
  450. css += [
  451. ".promotion .h-layoutWide {cursor: auto!important;}"
  452. ].join("\n");
  453. if (false || (document.domain == "soccer.ru" || document.domain.substring(document.domain.indexOf(".soccer.ru") + 1) == "soccer.ru"))
  454. css += [
  455. "#beforecontent {display:none!important}",
  456. " #left {margin-top:15px!important}"
  457. ].join("\n");
  458. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  459. css += [
  460. ".kaspersky, .overall, #branding-layout {background:none!important;}",
  461. " body.img-bg, #branding-layout:not(#id) {background: #f5f8fa!important; padding-top: 0!important;}",
  462. " #branding-layout {background:url(\'\')!important;}",
  463. ".kaspersky, .pageLayout {top: 0px!important;}",
  464. // !! расширяем
  465. " .page-layout, .pageLayout{top: 0px!important; max-width: 2000px !important; }",
  466. " .content-wrapper, .columns-layout__main, .g-wrap-main, .layout-columns {width: 100% !important;}",
  467. " .main-wrap{width: 95% !important;}",
  468. " .box{width: 98% !important;}",
  469. " .mainPart{width: 80% !important;}",
  470. " .additional-block {width:200px !important;}",
  471. " .rightPart {width:20% !important;}",
  472. " .rightPart {margin-left: 80% !important;}",
  473. " .columns-layout__left + .columns-layout__main {max-width: 1100px !important;}",
  474. " #branding-layout{padding-top: 0px!important;}",
  475. " .tag-main-block .box {padding-right: 0px !important;}"
  476. ].join("\n");
  477. if (false || (document.domain == "tricolor.tv" || document.domain.substring(document.domain.indexOf(".tricolor.tv") + 1) == "tricolor.tv"))
  478. css += [
  479. " {background-image:url(\" \") !important;}",
  480. " #allWrap {background: #dfdfdf !important;}",
  481. " .is-index-help, #allWrap {background:url(\" \") !important;}"
  482. ].join("\n");
  483. if (false || (document.domain == "torrent-games.net" || document.domain.substring(document.domain.indexOf(".torrent-games.net") + 1) == "torrent-games.net"))
  484. css += [
  485. " html {position:relative !important; top:-232px !important;}",
  486. " #body1:before, #body1:after {display: block !important; position: fixed!important; content: \"\" !important; background: white!important; height: 100%!important; top: 0!important;}",
  487. " #body1:before {width: 50px!important; left: 0px!important;}",
  488. " #body1:after {width: calc(100% - 1130px)!important; right:0px!important;}",
  489. " @media (min-width: 1196px) { #body1:before, #body1:after { width:calc((100% - 1080px) / 2)!important; } }"
  490. ].join("\n");
  491. if (false || (document.domain == "torrentom.com" || document.domain.substring(document.domain.indexOf(".torrentom.com") + 1) == "torrentom.com"))
  492. css += [
  493. "body, #footer_reklama {pointer-events: none!important;}",
  494. " body > *:not(#footer_reklama), #footer_reklama > * { pointer-events: auto!important;}"
  495. ].join("\n");
  496. if (false || (document.domain == "tort.fm" || document.domain.substring(document.domain.indexOf(".tort.fm") + 1) == "tort.fm"))
  497. css += "#topper_up {height:88px!important;}";
  498. if (false || (document.domain == "tnt-online.ru" || document.domain.substring(document.domain.indexOf(".tnt-online.ru") + 1) == "tnt-online.ru"))
  499. css += [
  500. "/*self-ads for bitblock*/",
  501. " #contentShifter {display:none!important;}",
  502. " #all {top:15px!important;}"
  503. ].join("\n");
  504. if (false || (document.domain == "tracktor.tv" || document.domain.substring(document.domain.indexOf(".tracktor.tv") + 1) == "tracktor.tv"))
  505. css += [
  506. ".pagebg {padding-top: 0!important;}"
  507. ].join("\n");
  508. if (false || (document.domain == "tree.tv" || document.domain.substring(document.domain.indexOf(".tree.tv") + 1) == "tree.tv"))
  509. css += ".wrapper {margin-top:0!important}";
  510. if (false || (document.domain == "unionpeer.org" || document.domain.substring(document.domain.indexOf(".unionpeer.org") + 1) == "unionpeer.org"))
  511. css += "#br_block,.bg_link {display:none!important}";
  512. if (false || (document.domain == "valetudo.ru" || document.domain.substring(document.domain.indexOf(".valetudo.ru") + 1) == "valetudo.ru"))
  513. css += [
  514. "body {pointer-events: none!important;}",
  515. " body > * {pointer-events: auto!important;}"
  516. ].join("\n");
  517. if (false || (document.domain == "videomore.ru" || document.domain.substring(document.domain.indexOf(".videomore.ru") + 1) == "videomore.ru"))
  518. css += [
  519. " body > .wrapper {padding-top: 0!important;",
  520. " background-color: #ECEFF2!important;}",
  521. " .wrapper.adfoxClickable {padding-top: 0!important;",
  522. " background-image: none!important;",
  523. " pointer-events: none!important;",
  524. " background-color: #ECEFF2!important}",
  525. " .wrapper.adfoxClickable > div {pointer-events: auto!important}"
  526. ].join("\n");
  527. if (false || (document.domain == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info"))
  528. css += "body {margin:0!important;}";
  529. if (false || (document.domain == "warfiles.ru" || document.domain.substring(document.domain.indexOf(".warfiles.ru") + 1) == "warfiles.ru"))
  530. css += "#header + .banner {height:100px!important;}";
  531. if (false || (document.domain == "vz.ru" || document.domain.substring(document.domain.indexOf(".vz.ru") + 1) == "vz.ru"))
  532. css += [
  533. " div.main-container{max-width: inherit !important;}",
  534. " div.main-menu>div.menu.sys_thumbs{overflow: inherit !important;}",
  535. " div.main-menu>div.menu.sys_thumbs>ul>li.thumb{margin-right: 0 !important;}",
  536. " div.menu{max-width: inherit !important;}"
  537. ].join("\n");
  538. if (false || (document.domain == "webfile.ru" || document.domain.substring(document.domain.indexOf(".webfile.ru") + 1) == "webfile.ru"))
  539. css += ".p_wrap {margin-top:0!important;}";
  540. if (false || (document.domain == "wotspeak.ru" || document.domain.substring(document.domain.indexOf(".wotspeak.ru") + 1) == "wotspeak.ru"))
  541. css += [
  542. "#popup-1 {display: none!important;}",
  543. " .wrap {transform: none!important; margin-top: 0!important;}"
  544. ].join("\n");
  545. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  546. css += " .body-branding {background:none!important;padding-top:0!important;}";
  547. if (false || (document.domain == "zoneofgames.ru" || document.domain.substring(document.domain.indexOf(".zoneofgames.ru") + 1) == "zoneofgames.ru"))
  548. css += " .branding,div.logo {background:none!important;height:auto!important;}";
  549. if (false || (document.domain == "zoomby.ru" || document.domain.substring(document.domain.indexOf(".zoomby.ru") + 1) == "zoomby.ru"))
  550. css += [
  551. "#global_wrapper_cont {padding:0!important;}",
  552. " .wrapper {margin-top:60px!important;}"
  553. ].join("\n");
  554. 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 == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  555. css += [
  556. "html, body {overflow: auto!important;}"
  557. ].join("\n");
  558. if (false || (document.domain == "eg.ru" || document.domain.substring(document.domain.indexOf(".eg.ru") + 1) == "eg.ru"))
  559. css += [
  560. ".facebook-bn_site-overlay {display: none!important;}"
  561. ].join("\n");
  562. if (false || (document.domain == "gagadget.com" || document.domain.substring(document.domain.indexOf(".gagadget.com") + 1) == "gagadget.com"))
  563. css += [
  564. ".fader-social { display:none!important;}"
  565. ].join("\n");
  566. if (false || (document.domain == "life.ru" || document.domain.substring(document.domain.indexOf(".life.ru") + 1) == "life.ru"))
  567. css += [
  568. "div[class^=\"arcticmodal-\"] { display: none!important;}"
  569. ].join("\n");
  570. if (false || (document.domain == "msn.com" || document.domain.substring(document.domain.indexOf(".msn.com") + 1) == "msn.com"))
  571. css += [
  572. ".promobanner {display: none!important;}"
  573. ].join("\n");
  574. if (false || (document.domain == "ngs.ru" || document.domain.substring(document.domain.indexOf(".ngs.ru") + 1) == "ngs.ru"))
  575. css += [
  576. " .subscribe-popup-cover, .subscribe-popup {display: none!important;}"
  577. ].join("\n");
  578. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  579. css += [
  580. ".popup_push {display:none!important;}"
  581. ].join("\n");
  582. 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 == "cxychet.ru" || document.domain.substring(document.domain.indexOf(".cxychet.ru") + 1) == "cxychet.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 == "glavbukh.ru" || document.domain.substring(document.domain.indexOf(".glavbukh.ru") + 1) == "glavbukh.ru") || (document.domain == "hr-director.ru" || document.domain.substring(document.domain.indexOf(".hr-director.ru") + 1) == "hr-director.ru") || (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 == "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 == "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"))
  583. css += [
  584. "body {overflow: auto!important;}",
  585. " div[class^=\"GbShadow\"], .jqmWindow, .jqmOverlay, .megaShadow, ._top_990x70 {display: none!important;}"
  586. ].join("\n");
  587. if (false || (document.domain == "cloud.mail.ru" || document.domain.substring(document.domain.indexOf(".cloud.mail.ru") + 1) == "cloud.mail.ru"))
  588. css += [
  589. ".content__left > style + div[id]:not(#breadcrumbs), .b-layout__col_2_2 > style + div[id][class] {display: none!important;}"
  590. ].join("\n");
  591. if (false || (document.domain == "e.mail.ru" || document.domain.substring(document.domain.indexOf(".e.mail.ru") + 1) == "e.mail.ru"))
  592. 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 {display:none!important;opacity:0!important;pointer-events:none!important;height:0!important;position:fixed!important;top:-1000px!important}";
  593. if (false || (document.domain == "hi-tech.mail.ru" || document.domain.substring(document.domain.indexOf(".hi-tech.mail.ru") + 1) == "hi-tech.mail.ru"))
  594. css += [
  595. "#portal-menu, .header-banner {margin: 0!important;}"
  596. ].join("\n");
  597. if (false || (document.domain == "sport.mail.ru" || document.domain.substring(document.domain.indexOf(".sport.mail.ru") + 1) == "sport.mail.ru"))
  598. css += [
  599. ".index-top__left__inner {padding-right: 0!important;}"
  600. ].join("\n");
  601. if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
  602. css += [
  603. " #doubleformat_down, .branding-p {display: none!important;}",
  604. " div[data-module^=\"Slot.mimic.\"], noindex[style*=\"!\"] {position: fixed!important; top:-1000px!important;}"
  605. ].join("\n");
  606. if (false || (document.domain == "ok.ru" || document.domain.substring(document.domain.indexOf(".ok.ru") + 1) == "ok.ru"))
  607. css += [
  608. ".dialogWrapperBanner {display:none!important; position: fixed!important; left: -10000px!important;}"
  609. ].join("\n");
  610. if (false || (new RegExp("^https?://anistar.ru/news(/(\\?.*)?)?$")).test(document.location.href))
  611. css += ".news:nth-child(1) {display:none!important;}";
  612. if (false || (document.location.href.indexOf("https://reports.adblockplus.org/digest?") === 0))
  613. css += [
  614. " html, body {height:100%!important; overflow:hidden!important;}",
  615. " #reports {height:calc(100% - 50px)!important; width:calc(100% - 2px)!important; }"
  616. ].join("\n");
  617. if (false || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com"))
  618. css += [
  619. " body {background:white!important;}",
  620. " body {background-color:white!important}",
  621. " body{background-image: url()!important;}",
  622. " body{background-image: none !important;}",
  623. " div{background-image: url()!important;}",
  624. " .branding {padding-top: 5px!important;}",
  625. " body {padding-top: 5px!important;}",
  626. " .limiter{padding-top: 5px!important;}",
  627. " .main_tm_search_tool,.searchline {background: white!important;}",
  628. // !! для широкоформатных мониторов
  629. " .header_container, .bottom_container, #content, .content, .wrapper, .limiter {width: 100%!important;}",
  630. " div.limiter > div.wrapper > div.c_w > table > tbody > tr > td[align=\"center\"] > table[width=\"960\"] {width: 100%!important;}"
  631. ].join("\n");
  632. 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"))
  633. // ! console.log("es1");
  634. css += [
  635. "body{background:none !important;}",
  636. " body {padding-top:0px !important;}",
  637. " body{background-image:none !important;}",
  638. " body{padding:0 !important;}",
  639. " .skin-block{background-image:url(\" \") !important;}",
  640. " element.style{background-image:url(\"\") !important;}",
  641. " #brTop{background-image:url(\"\") !important;}",
  642. " html{prefix:\" \" !important;}",
  643. // !! --- широко
  644. // !! ".wrap{min-width:1030px;max-width:100% !important;}",
  645. " body>table[width=\"85%\"]{width:100% !important;}",
  646. " body>div.wrap{max-width:100% !important;}",
  647. " body>div.wrap{min-width:1030px !important;}"
  648. ].join("\n");
  649. if (false || (document.domain == "gismeteo.ru" || document.domain.substring(document.domain.indexOf(".gismeteo.ru") + 1) == "gismeteo.ru") || (document.domain == "gismeteo.ua" || document.domain.substring(document.domain.indexOf(".gismeteo.ua") + 1) == "gismeteo.ua") || (document.domain == "gismeteo.com" || document.domain.substring(document.domain.indexOf(".gismeteo.com") + 1) == "gismeteo.com"))
  650. css += [
  651. " #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;}",
  652. " .soft-promo, #soft-promo{display:none !important;}",
  653. // !!? " #graph{float:none !important;}", //проверить
  654. " div#post-container,div#pre-container,.soft-promo{background:url(\"\")!important;}",
  655. " td.content.editor{background:url(\"\")!important;} ",
  656. // !! оставим меню: снежинки вырезать, на бету сходить
  657. " #header, #header .fcontent{height:26px !important;}",
  658. " #menu{top:0px !important;}",
  659. " li#tourism_button{display:none !important;}"
  660. ].join("\n");
  661. if (false || (document.domain == "nnm.me" || document.domain.substring(document.domain.indexOf(".nnm.me") + 1) == "nnm.me"))
  662. css += [
  663. " html:not(#id),body:not(#id) {background-image:none!important}",
  664. " body{background: none !important;}",
  665. " body, #theme_8, #theme_2, #theme_3, #theme_4, #theme_5, #theme_6, #theme_7, #theme_1{background: url(\'\') !important;}",
  666. // !! " body {background-image:none !important;}",
  667. " body, div#page{background:gray !important;background-color:gray !important;}",
  668. " body, div#page, element.style, #brTop{background-image:url(\'\') !important;}",
  669. " body, div#page, .pirate-branding, .pb_button_play{background:none !important;}",
  670. " div#page, div#wrap, div#content-b{margin-top:0px !important;top: 0px !important;}",
  671. " div#optionspanel{margin-top:0px !important; margin-left:0px !important;}",
  672. " div#page>div[style*=\"width: 990px;\"][style*=\"height: 206px; position: relative;\"]{height: 0px !important;}",
  673. " .pb_top_img, .pirate-branding, a.pb_link, .pb_logo_brand, .pb_left_banner, .pb_right_banner, #b-logo{height: 0px !important;}",
  674. " .pirate-branding, .pb_button_play_big{top:0px !important;}",
  675. " body{padding-top: 0px !important;}",
  676. // !! " body:not(#id) {padding-top:0px !important}",
  677. " #mmmBanner{height: 0px !important;}",
  678. " .head_assn {height: 0px !important; width: 0px !important;}",
  679. " .head_assn .assn_logo {width: 0px !important; height: 0px !important; top: 0px !important; left: 0px !important; background: url(\" \") !important; }",
  680. " .head_assn .assn_slogan {width: 0px !important; height: 0px !important; top: 0px !important; left:0px !important; background: url(\" \") !important; }",
  681. " html{height: 0px !important;}",
  682. " body{click=(\'\')!important;}",
  683. // !! заполненяем всю ширину экрана
  684. " #wrap, htmlarea, text{width: 99% !important;}",
  685. " #scrollPanel{width: auto !important;}",
  686. " #wrapper {width: auto !important;}",
  687. " #content{width: auto !important;}",
  688. " #content-b, text{width: 100% !important;}",
  689. " #cntnt, #content-b{position: absolute !important; left: 0px !important; margin-top: 0px !important; margin-left: 0px !important;}",
  690. // !! проверить замену " .categories{margin: 0 100px 10px !important; float: left !important;}",
  691. " .categories{width: auto !important; margin: -60px 180px 10px !important; float: left !important;}",
  692. // !! убрать? " body {text-align:center!important;}",
  693. // !! убрать? " #page {display:inline-block !important; top:0px !important; margin-top:0 !important;}",
  694. " #wrap {text-align:initial !important;}"
  695. ].join("\n");
  696. 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"))
  697. css += [
  698. // ! site yandex
  699. // !!? ".adsrv {width:0px!important;min-width:0!important;max-width:0!important;",
  700. "div[style*=\'!important\'][style*=\'display\'][style*=\'visibility\'][style*=\'visible\'] {width:0px!important;min-width:0!important;max-width:0!important;",
  701. " height:0!important;min-height:0!important;max-height:0!important;",
  702. " overflow:hidden!important;}",
  703. " .serp-header {margin-top: 0!important;}",
  704. " .b-top-wizard{width:1000px!important;} .b-body-items.b-serp-list{width:1000px!important;}",
  705. " /* Исправление для горизонтальной прокрутки на Погоде по выходным */",
  706. " .forecast-brief__item-temp-day { width: auto!important;}",
  707. " }",
  708. " /* Пустое место от директа на tv.yandex */ ",
  709. " .tv-grid__page > div[class^=\"tv-grid__item\"], .tv-grid__page > .tv-sortable-item { margin-right: auto!important;}",
  710. // ! !! чистим maps.yandex
  711. " .ymaps-map{background:none !important;}",
  712. // " .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;}",
  713. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background-image:url() !important;}",
  714. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background:url(\'\') !important;}",
  715. // ! !! убрать все фоновые рисунки в картах
  716. // ! " ymaps{background-image:url() !important;}",
  717. " tv.yandex.ru##td[width=\"24%\"]{width:12%!important;}",
  718. " a{onmousedown=''!important;}",
  719. " a{onclick=''!important;}"
  720. ].join("\n");
  721. // !! 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"))
  722. if (false || (document.domain == "soft-club.me" || document.domain.substring(document.domain.indexOf(".soft-club.me") + 1) == "soft-club.me"))
  723. css += [
  724. // ! !! --- широко
  725. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  726. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
  727. " article,.header,.header-main{width:100%!important;}",
  728. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  729. ].join("\n");
  730. if (false || (document.domain == "4seasons-ltc.com" || document.domain.substring(document.domain.indexOf(".4seasons-ltc.com") + 1) == "4seasons-ltc.com"))
  731. css += [
  732. "body{background-image:none !important;}",
  733. " body{font-family: Tahoma !important;}"
  734. ].join("\n");
  735. if (false || (document.domain == "80-e.ru" || document.domain.substring(document.domain.indexOf(".80-e.ru") + 1) == "80-e.ru"))
  736. css += [
  737. " div#ipbwrapper{margin: 0 !important;width: inherit !important;max-width: inherit !important;}"
  738. ].join("\n");
  739. if (false || (document.domain == "china-review.com.ua" || document.domain.substring(document.domain.indexOf(".china-review.com.ua") + 1) == "china-review.com.ua"))
  740. css += [
  741. "body{background:url()!important;}",
  742. " body{background-image:none !important;}",
  743. " body{background:none!important;}",
  744. " body{margin-top:0px!important;}"
  745. ].join("\n");
  746. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  747. css += [
  748. "body{background:none!important;} .layer_top {background:none!important;} .layer_bottom {background:none!important;} .cast_bg{background:none!important;}",
  749. " .contentbg {background-image:none!important;} #4iframe {background-image:none!important;} ",
  750. " #framescr{background-image:none!important;}"
  751. ].join("\n");
  752. if (false || (document.domain == "amovies.tv" || document.domain.substring(document.domain.indexOf(".amovies.tv") + 1) == "amovies.tv"))
  753. css += [
  754. // !! расширяем
  755. "article{width: 980px !important;}",
  756. " #vk_select {float:none !important;margin-left: 445px!important;}",
  757. " #vk_top,#vk_select {background:url()!important;}"
  758. ].join("\n");
  759. if (false || (document.domain == "apteka.ru" || document.domain.substring(document.domain.indexOf(".apteka.ru") + 1) == "apteka.ru"))
  760. css += [
  761. " div.wrapper_root>div.wrapper>section.middle{margin-bottom: 0 !important;}",
  762. " div.wrapper_root>div.wrapper>section.middle>div.container.clr{min-height: 180px !important;}",
  763. " div.wrapper_root>div.wrapper>section.middle>div.container.clr>div.content.bottom-content>section.items.items-tile.items-viewed{margin: 0!important;}",
  764. " div.wrapper_root>div.wrapper>section.middle>div.tabs.top-tabs.clr{margin-bottom: 0 !important;}"
  765. ].join("\n");
  766. if (false || (document.domain == "avito.ru" || document.domain.substring(document.domain.indexOf(".avito.ru") + 1) == "avito.ru"))
  767. css += " .bonprix-1{background: none !important;} ";
  768. if (false || (document.domain == "bash.im" || document.domain.substring(document.domain.indexOf(".bash.im") + 1) == "bash.im"))
  769. css += " span.csd{background:none !important;}";
  770. if (false || (document.domain == "batzbatz.com" || document.domain.substring(document.domain.indexOf(".batzbatz.com") + 1) == "batzbatz.com"))
  771. css += [
  772. // !! " !! расширяем
  773. " .wrap{width: 100% !important;}",
  774. " .left{width: 75% !important;}"
  775. ].join("\n");
  776. if (false || (document.domain == "best-cashback.ru" || document.domain.substring(document.domain.indexOf(".best-cashback.ru") + 1) == "best-cashback.ru"))
  777. css += [
  778. " [id=\"menu-osnovnoe-menyu\"]>[id^=\"menu-item-\"]>a.menu-item-link{color: black !important;}",
  779. " div#theme-page{top: 80px !important;}",
  780. " [class^=\"mk-header-\"]{background-color: lightgrey !important;}",
  781. " section#mk-footer{padding: 0 !important; top: 80px !important;}",
  782. " div#sub-footer{background-color: lightgrey !important;}"
  783. ].join("\n");
  784. if (false || (document.domain == "besplatnye-kupony.ru" || document.domain.substring(document.domain.indexOf(".besplatnye-kupony.ru") + 1) == "besplatnye-kupony.ru"))
  785. css += [
  786. " body{background: none !important; background-color: lightgrey !important;}",
  787. " div{width: inherit !important; margin: 0 !important;}",
  788. " div#site-container{border: none !important;}"
  789. ].join("\n");
  790. if (false || (document.domain == "bestrepack.net" || document.domain.substring(document.domain.indexOf(".bestrepack.net") + 1) == "bestrepack.net"))
  791. css += " div#body_container{padding: 0 !important;}";
  792. if (false || (document.domain == "bigpicture.ru" || document.domain.substring(document.domain.indexOf(".bigpicture.ru") + 1) == "bigpicture.ru"))
  793. css += [
  794. " div.content{padding: 0 !important;}",
  795. " div.podheader{width: 240px !important; float: right !important;}",
  796. " div.podheader-right{float: right !important;}"
  797. ].join("\n");
  798. 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"))
  799. css += [
  800. " body{background-image:none !important;}",
  801. " body{background-image:url(\" \")!important;}",
  802. // !! --- расширим ---
  803. " .content-outer, .content-fauxcolumn-outer, .region-inner {max-width: none !important;}",
  804. " div#header-inner>div.descriptionwrapper{margin-bottom: 5px !important;}",
  805. " #outer-wrapper {width: 95% !important;}",
  806. " #main-wrapper {width: 95% !important;}"
  807. ].join("\n");
  808. if (false || (document.domain == "bookvoed.ru" || document.domain.substring(document.domain.indexOf(".bookvoed.ru") + 1) == "bookvoed.ru"))
  809. css += " .Fh{margin-top: 79px!important;}";
  810. if (false || (document.domain == "calend.ru" || document.domain.substring(document.domain.indexOf(".calend.ru") + 1) == "calend.ru"))
  811. css += " .pad, .main-l{width:95% !important;}";
  812. if (false || (document.domain == "clubupravdom.ru" || document.domain.substring(document.domain.indexOf(".clubupravdom.ru") + 1) == "clubupravdom.ru"))
  813. css += " *{background-image: none !important;}";
  814. if (false || (document.domain == "computerra.ru" || document.domain.substring(document.domain.indexOf(".computerra.ru") + 1) == "computerra.ru"))
  815. css += [
  816. " body{background:none!important}",
  817. " div>p{text-align: justify!important;}",
  818. " div.top {top: 0px!important;width: auto!important;}",
  819. " div.top-submenu {width: 100%!important;}",
  820. " div.main {margin-top: 0px!important;}",
  821. " div.column{max-width:80%!important;}",
  822. " div.main-column.main-column-article{width:100%!important;}"
  823. ].join("\n");
  824. if (false || (document.domain == "cont.ws" || document.domain.substring(document.domain.indexOf(".cont.ws") + 1) == "cont.ws"))
  825. css += [
  826. " body>div.content{width: 100% !important;}",
  827. " body>div.content>div{margin: 0 !important;}",
  828. " body>div.content{margin-left: 5px !important;}",
  829. " body>div.content{margin-right: 5px !important;}",
  830. " div.sidebar{width: 14% !important;}",
  831. " [class^=\"post\"]{width: 85% !important;}",
  832. " [class^=\"post\"]{max-width: 1880px !important; margin: 0 !important; padding: 0 !important;}",
  833. " div.post>[class^=\"article\"]{padding: 0 !important;}",
  834. " div#wp.author-bar2.wallpaper.plus{background-image: url() !important; padding: 0 !important;}",
  835. " div.author-bar2-inside{padding: 0 !important;}",
  836. " a.m_author{display: inline-block !important;}",
  837. " .plus .author-bar2-inside{color: #666 !important;}",
  838. " div.dark{background: url() !important;}",
  839. " .wallpaper .author-bar2-inside, .wallpaper .author-bar2-inside a, .wallpaper .author-bar2-inside textarea {color: inherit !important;}"
  840. ].join("\n");
  841. if (false || (document.domain == "crowdin.com" || document.domain.substring(document.domain.indexOf(".crowdin.com") + 1) == "crowdin.com"))
  842. css += " #user-cover-picture,#user-cover-picture-blurred{background:url()!important;}";
  843. 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"))
  844. css += [
  845. "body{background:none !important;}",
  846. " td{background-image:none !important;}"
  847. ].join("\n");
  848. if (false || (document.domain == "ebay-forum.ru" || document.domain.substring(document.domain.indexOf(".ebay-forum.ru") + 1) == "ebay-forum.ru"))
  849. 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;}";
  850. 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"))
  851. css += [
  852. "body{background:none !important;}",
  853. " body{background-image:none !important;}"
  854. ].join("\n");
  855. if (false || (document.domain == "ddlmkvhd.com" || document.domain.substring(document.domain.indexOf(".ddlmkvhd.com") + 1) == "ddlmkvhd.com"))
  856. css += [
  857. " body{background: none !important;}",
  858. " div.page-body-t{position: relative !important;}"
  859. ].join("\n");
  860. if (false || (document.domain == "ddlvillage.org" || document.domain.substring(document.domain.indexOf(".ddlvillage.org") + 1) == "ddlvillage.org"))
  861. css += [
  862. " div{background: none !important;}"
  863. ].join("\n");
  864. if (false || (document.domain == "f1news.ru" || document.domain.substring(document.domain.indexOf(".f1news.ru") + 1) == "f1news.ru"))
  865. css += [
  866. " div[id=\"bannerText\"]{border:0px!important;margin-left:10px!important;}",
  867. " body{background:url() top center no-repeat #000000 !important;}",
  868. // !! расширяем текстовое поле
  869. " div#textBlock{width:900px !important;}"
  870. ].join("\n");
  871. if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
  872. css += [
  873. // !! !! расширение, но текст подползает под боковую панель
  874. // !! " #contentArea {width: 750px !important;}",
  875. // !! " .uiUfi {width: 650px !important;}",
  876. // !! " body {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  877. // !! " #contentCol {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  878. " div#profile_stream_composer {background-color:#C1D5F6;}",
  879. " #blueBar {background-color: transparent !important;}",
  880. " #headNav {background-color: #transparent !important;}",
  881. " .jewelButton {background-color: transparent !important;}",
  882. " #fbNotificationsFlyout {left: 50px !important;}",
  883. " .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;}",
  884. // !! " #pageNav a {color: #00ffff !important;display: inline-block;font-weight: bold;height: 22px;padding: 8px 10px 0px;text-decoration: none;}",
  885. " .UIImageBlock {color: #000000 !important;}",
  886. " .fcg {color: darkgreen !important;}",
  887. " .mts.uiAttachmentDesc.translationEligibleUserAttachmentMessage {color: black !important;}"
  888. ].join("\n");
  889. if (false || (document.location.href.indexOf("http://fastpic.ru/") === 0) || (document.location.href.indexOf("https://fastpic.ru/") === 0))
  890. css += [
  891. " html, body {pointer-events: none!important; height: 110%!important;}",
  892. " #mainContainer, #content {margin-top: 0!important;}",
  893. " body>img, /* support for https://github.com/Infocatcher/UserScripts/tree/master/Direct_Images */",
  894. " #mainContainer, #footerContainer, #content, #footer, #show-code-content { pointer-events: auto!important;}",
  895. //??
  896. " html,body,#mainContainer,#footerContainer,#content,#footer {margin:0!important;width:100%!important;border-radius:0!important;}",
  897. " #mainContainer>table {width:850px!important;margin:auto!important;}",
  898. " #picContainer {float:none!important;margin:auto!important;}",
  899. " html,body {cursor:auto!important;}",
  900. " html,body {display:flex!important;flex-direction:column!important;}",
  901. " #mainContainer {flex-grow:1!important;}",
  902. " #mainContainer,#footerContainer {overflow:visible!important;}",
  903. " #content,#footer {background-color:transparent!important;}",
  904. " #content {display:flex!important;flex-grow:1!important;min-height:inherit!important;}",
  905. //??
  906. " #logo-area{padding-top: 0px!important;}",
  907. " *{background:none !important;}",
  908. " *{background-image:none !important;}",
  909. " #footer-container {background-image:none!important;height:auto!important;}",
  910. " body > a {display:none!important;}",
  911. " div#show-code-content.rounded-corners{position: inherit!important;}",
  912. " div#foot-area.center.rounded-corners{position: inherit!important;}",
  913. " div#footer.center.rounded-corners{position: inherit!important;}",
  914. " .center {padding:0!important}",
  915. " div#right-bottom.rounded-corners{position: relative!important;margin-top:0px!important;height:0px!important;padding-top:5px!important;}",
  916. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-image: url(\" \") !important;}",
  917. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-url: none !important;}",
  918. " body{padding-top: 0px !important;}",
  919. " body, html{cursor: auto !important;}",
  920. " body, html {pointer-events: none !important;}",
  921. // !! всё - чёрным
  922. " *{color: black!important;}",
  923. " body{background: none!important;}"
  924. // " html {background-color:#171616!important;}"
  925. ].join("\n");
  926. if (false || (document.domain == "filmix.net" || document.domain.substring(document.domain.indexOf(".filmix.net") + 1) == "filmix.net"))
  927. css += " body{padding: 0px 0 0 0!important;}";
  928. if (false || (document.domain == "formulakino.ru" || document.domain.substring(document.domain.indexOf(".formulakino.ru") + 1) == "formulakino.ru"))
  929. css += [
  930. " div.backF>a>span{background-image:none !important; background:#fff !important;}",
  931. " div.vjs-poster{background:url()!important;}",
  932. " div.pagecontent{margin-top:0px!important;}",
  933. " div#wrapper{background:#fff!important;}"
  934. ].join("\n");
  935. if (false || (document.domain == "google.ru" || document.domain.substring(document.domain.indexOf(".google.ru") + 1) == "google.ru"))
  936. css += [
  937. " 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;}",
  938. " body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child:hover {opacity:1;}",
  939. " body[class=\"cP\"] tr td.Bu:last-child div.nH {width: 0px!important;}",
  940. // ! расширяем выдачу в поиске
  941. " .center_col,#center_col {width:1000px!important; margin-left:10px !important; margin-right:10px !important;} .s {max-width:100% !important;}"
  942. ].join("\n");
  943. if (false || (document.domain == "ifmo.ru" || document.domain.substring(document.domain.indexOf(".ifmo.ru") + 1) == "ifmo.ru"))
  944. css += [
  945. " header.h-header, .b-header-pad{height: 100px !important;}"
  946. ].join("\n");
  947. if (false || (document.domain == "igromania.ru" || document.domain.substring(document.domain.indexOf(".igromania.ru") + 1) == "igromania.ru"))
  948. css += [
  949. // !! " *{background-image: none !important;}",
  950. " div.out_out, element.style {background-image: url() !important;}"
  951. ].join("\n");
  952. if (false || (document.domain == "inosmi.ru" || document.domain.substring(document.domain.indexOf(".inosmi.ru") + 1) == "inosmi.ru"))
  953. css += [
  954. " body{background-image:none !important;}",
  955. " body{background:url()!important;}",
  956. // !! поаккуратнее
  957. " .header{padding-top:0px!important;}",
  958. " #addbwr{margin-top:0px!important;}",
  959. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след. строками )
  960. " .mainbox{width:95%!important;}",
  961. " .section{width:100%!important;}",
  962. " .floatleft{width:80%!important;}",
  963. " .floatleft.box3row{width:50%!important;}",
  964. " .floatleft.box3row3{width:50%!important;}",
  965. " .bodypage{width:100%!important; }",
  966. " .floatright{width:10%!important;}",
  967. " .article{width:100%!important; }",
  968. " .announce{width:80%!important; }"
  969. ].join("\n");
  970. if (false || (document.domain == "keeplinks.eu" || document.domain.substring(document.domain.indexOf(".keeplinks.eu") + 1) == "keeplinks.eu"))
  971. css += " div#header{background: none !important;}";
  972. if (false || (document.domain == "kino-tor.net" || document.domain.substring(document.domain.indexOf(".kino-tor.net") + 1) == "kino-tor.net"))
  973. css += [
  974. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-image: url(\" \") !important;}",
  975. " .traforet-br-logo, div[id^=\"b_pr_\"] {background: url(\" \") !important;}",
  976. " .traforet-br-logo, div[id^=\"b_pr_\"] {background-url: none !important;}",
  977. " body{padding-top: 0px !important;}"
  978. ].join("\n");
  979. if (false || (document.domain == "letitfilms.com" || document.domain.substring(document.domain.indexOf(".letitfilms.com") + 1) == "letitfilms.com"))
  980. css += [
  981. " body{background: url() !important; background-color: black !important;}",
  982. " div#container{width: inherit !important; margin: 0 !important;}",
  983. " div#container>div#main>*{padding: 0 !important;}",
  984. " div#container>div#main>aside{width: 20% !important;}",
  985. " div#container>div#main>div#content{width: 79% !important;}"
  986. ].join("\n");
  987. if (false || (document.domain == "livesport.ws" || document.domain.substring(document.domain.indexOf(".livesport.ws") + 1) == "livesport.ws"))
  988. css += [
  989. // !! убираем фон и баннер
  990. " body {background:none!important;color:#333!important;}",
  991. " body{background:url()!important;background-color:#000002!important;}",
  992. " body,.top-panel-wrap.fixed {background-image:url() !important;}",
  993. " body{background-image:none !important;}",
  994. " div[id=\"flash\"]{height: 0px !important;}"
  995. ].join("\n");
  996. if (false || (document.domain == "livesport.ru" || document.domain.substring(document.domain.indexOf(".livesport.ru") + 1) == "livesport.ru"))
  997. css += [
  998. "body > .container {padding-top: 0!important;}"
  999. ].join("\n");
  1000. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  1001. css += [
  1002. // " body{background:#c0c0c0 !important;}",
  1003. " .main_logo_link {margin-top:5px!important; background-color:transparent!important;}",
  1004. " .main_logo_link:after {content: \"LostFilm.??\"!important; pointer-events: none!important; color: white!important; max-width: 238px!important; overflow: hidden!important; position: absolute!important; font-size: 46px!important; font-family: \"Trebuchet MS\", Helvetica, sans-serif!important; }",
  1005. " .logo {margin-top:0!important;background-repeat:no-repeat;background-position:0 17px;}",
  1006. " body,.logo>.up {background:none!important;background-color:#1c1e1f!important}",
  1007. " div>div>a>div[style\*=\"height\"] {display:none!important;}",
  1008. // " .prof,.user_menu_link,.wh {color:white!important;}",
  1009. " .prof,.user_menu_link,.wh,.logo>.up {color:white!important}",
  1010. " .prof,.logo {height:80px!important}",
  1011. " .logo>a {text-decoration:underline!important}",
  1012. " .bogi .topbar-container {width: 45px!important;",
  1013. " margin-right: 0!important;}",
  1014. " .bogi .topbar-container .topbar > :not(#bogi-avatara) {display: none !important;}",
  1015. " .bogi .topbar-container:hover {width: auto!important;}",
  1016. " .bogi .topbar-container:hover .topbar > :not(#bogi-avatara) {display: block;}",
  1017. " body{background:none!important;}",
  1018. " body{background-image:none !important;}",
  1019. " body{background:gray!important;}",
  1020. " div[class=\"mid\"]{background:LightGrey!important;}",
  1021. // !! ==== и меняем на читаемый цвет
  1022. " div[class=\"user_avatar\"]{color:black !important;}",
  1023. " span[class=\"wh\"]{color:black !important;}",
  1024. " a[href*=\"\/my.php\"]{color:black !important;}",
  1025. " a[href*=\"\/messages.php\"]{color:black !important;}",
  1026. " a[href*=\"bogi.ru\/logout.php\"]{color:black !important;}",
  1027. // !! расширяем полезную площадь
  1028. " body>div#MainDiv>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
  1029. " div[style^=\"width:497px;\"]{width:58% !important;}",
  1030. " body>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
  1031. " div[style^=\"width:498px;\"]{width:58% !important;}",
  1032. " div[style*=\"background:#FFFFFF;display:block;padding:10px;float:left;overflow-x:hidden;width:350px;\"]{width:100% !important;}"
  1033. ].join("\n");
  1034. if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
  1035. css += [
  1036. " body,.forecast-rb-bg,.b-bg{background-image: none!important;}",
  1037. " .SearchForm,.form,.txt1,.txt2,.txt3,.people1,.people2,.people3,.GRcorrect, .GRSpellingCorrect, .GRspelling {background: url('')!important;}"
  1038. ].join("\n");
  1039. if (false || (document.domain == "meduza.io" || document.domain.substring(document.domain.indexOf(".meduza.io") + 1) == "meduza.io"))
  1040. css += [
  1041. // !! "!! <--- Выравнивание шрифта --->",
  1042. " div.Material-container {text-align: justify!important;}",
  1043. " div.Page-section {text-align: center!important;}",
  1044. // !! "!! <--- Форматируем заголовки --->",
  1045. " *[class*=\"MaterialHeader\"] {max-width: 100%!important; text-align: center!important;}",
  1046. // !! "!! <--- Размеры блоков --->",
  1047. " div.Lead {max-width: 100%!important;}",
  1048. " div[class*=\"Content\"] {max-width: 120%!important;}",
  1049. " div.Body>p{max-width: 100%!important;}",
  1050. " div[class=\"Context\"] {max-width: 95%!important;}",
  1051. " div.Figure-title{max-width: 100%!important;}",
  1052. " blockquote {max-width: 100%!important;}",
  1053. " div.Related{max-width: 100%!important;}",
  1054. " div.Body>div{max-width: 100%!important;}"
  1055. ].join("\n");
  1056. if (false || (document.domain == "megashara.com" || document.domain.substring(document.domain.indexOf(".megashara.com") + 1) == "megashara.com"))
  1057. css += [
  1058. // !! расширяем
  1059. " .all, #content{width: 100% !important;}",
  1060. " #center-block {width: 65% !important;}"
  1061. ].join("\n");
  1062. if (false || (document.domain == "ncrypt.in" || document.domain.substring(document.domain.indexOf(".ncrypt.in") + 1) == "ncrypt.in"))
  1063. css += [
  1064. " body{background: none !important;}",
  1065. " div#wrapper{margin: 0 0 0 0 !important;}"
  1066. ].join("\n");
  1067. 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"))
  1068. css += [
  1069. // !! "div {background-image:none !important;}",
  1070. // !! "div {background:url()!important;}",
  1071. // !! "div[class^=\"prl_slide_\"] {background:url()!important;}"
  1072. "div[class=\"anonym_login\"]{width: 100% !important;}"
  1073. ].join("\n");
  1074. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  1075. css += [
  1076. "#crosssites > p,",
  1077. " #mainplace > table > tbody > tr:first-child,",
  1078. " .fifty-fifty-left > .decoblock_rnd1,",
  1079. " .fifty-fifty-left > .decoblock_rnd1 + .decoblock-content,",
  1080. " .fifty-fifty-right .decoblock_rnd1 ~ .decoblock_rnd1,",
  1081. " .fifty-fifty-right .decoblock_rnd1 ~ .decoblock_rnd1 + .decoblock-content {",
  1082. " display: none!important;",
  1083. " }"
  1084. ].join("\n");
  1085. if (false || (document.domain == "playground.ru" || document.domain.substring(document.domain.indexOf(".playground.ru") + 1) == "playground.ru"))
  1086. css += "#foundationWrapper {background:#373737!important}";
  1087. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  1088. css += [
  1089. " div.paral>a>div{background:url()!important;}",
  1090. " div.paral>a>div{height:64px!important;}",
  1091. " table#header_t {margin-top: 0px !important;}",
  1092. " \\!! расширяем полезную площадь",
  1093. " .b-story__content, .b-story__content_type_text {margin-left:5px !important; width: 800px !important; max-width: 800px !important;}"
  1094. ].join("\n");
  1095. if (false || (document.domain == "piter.tv" || document.domain.substring(document.domain.indexOf(".piter.tv") + 1) == "piter.tv"))
  1096. css += [
  1097. " body{background-image:none !important;}"
  1098. ].join("\n");
  1099. if (false || (document.domain == "politikus.ru" || document.domain.substring(document.domain.indexOf(".politikus.ru") + 1) == "politikus.ru"))
  1100. css += [
  1101. " body{background-image:none !important;}",
  1102. " body{background:url()!important;}",
  1103. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след.четырьмя строками )
  1104. // " #main_content_holder{width:100%!important; }",
  1105. // " #left{width:80%!important; }",
  1106. // " .holder, div.block, .content, #dle-content{width:100% !important; }",
  1107. // " .fullstory{width:95% !important; }"
  1108. // !! доработанный вариант от Buba5473
  1109. " div#header{width: inherit !important; margin: 0 !important;}",
  1110. " div#header>div.holder{width: inherit !important; margin: 0 !important;}",
  1111. " div#main_content_holder{width: inherit !important; margin: 0 !important;}",
  1112. " div#main_content_holder>div#maintpl>div.holder{width: inherit !important; margin: 0 !important;}",
  1113. " div#main_footer_holder{width: inherit !important; margin: 0 !important;}",
  1114. " div#main_footer_holder>div.holder{width: inherit !important; margin: 0 !important;}",
  1115. " div#main_content{margin: 0 !important;}",
  1116. " div#right{margin: 0 !important; float: none !important; width: inherit !important;}",
  1117. " div#left{width: 80% !important;}"
  1118. ].join("\n");
  1119. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  1120. css += [
  1121. "div.paral>a>div{background:url()!important;}",
  1122. " div.paral>a>div{height:64px!important;}",
  1123. " table#header_t {margin-top: 0px !important;}"
  1124. ].join("\n");
  1125. if (false || (document.domain == "pleer.com" || document.domain.substring(document.domain.indexOf(".pleer.com") + 1) == "pleer.com"))
  1126. css += [
  1127. " div#main.clearfix>div#container>div#content{margin: 0 !important;}",
  1128. " 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;}",
  1129. " 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;}"
  1130. ].join("\n");
  1131. 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"))
  1132. css += [
  1133. " .brand_bg{background-image:none !important;}",
  1134. // " .base-page_wrapper {width: auto !important; padding: 0 !important; background-position: center !important;}",
  1135. ".base-page_wrapper, .render_body_main {width: auto !important; padding: 0 !important; margin: 0 !important; background-position: center !important;}",
  1136. " .no-advert_wrapper_top, .no-advert_wrapper_bottom {width: 830px !important; margin: auto !important;}",
  1137. " .content{padding-top:0px !important;}",
  1138. " .brand_bg{top:0px !important;}",
  1139. " div.render_body_main {padding-top: 0px !important;}",
  1140. " div.ComplainAdminControl{left: 70px !important;}"
  1141. ].join("\n");
  1142. 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"))
  1143. css += [
  1144. // !! из старого, режет почту ".b-left-column .b-left-column__wrapper{margin:0 !important;}",
  1145. " div[class=\"appWindow\"]{right:0px!important;}",
  1146. // !! --- чистим фон
  1147. " body, html {background-image:url(\' \')!important; background: #f7f7f7 !important; }",
  1148. " div.b-header, element.style, .topcover{background-image:url(\' \')!important; background: #bdbdbd !important; }",
  1149. " header.header{background-image:url(\' \')!important; background: #bdbdbd !important; }",
  1150. " .region-back, .main-page__background-wrap {background: none !important; background-image:url(\' \')!important; background:url(\' \')!important;}",
  1151. " .sl, .sl_holder, .width.p16.tnav, .promo_def{background-image:url(\' \')!important; background: #bdbdbd !important; }",
  1152. // !?##.b-informers__link{color:#030303 !important; }
  1153. // !! --- расширяем полезную площадь страницы
  1154. " .footer__wrap, .grid, .article, .nav__wrap, .j-metrics__views-out, .j-article__bounding, .j-statistics__cluster, .popup__wrap {width: 95% !important;}",
  1155. " .grid, .article__inner.wide {margin-left: 50px !important;margin-right: 50px !important;}",
  1156. " 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;}",
  1157. " .l-columns, .l-column-15, .l-column-16-5, .b-topic-body {width: 100% !important;}",
  1158. " .l-container, .b-topic-show__main, .mixednews__inner, .sizefix {width: 95% !important;}",
  1159. " .article__inner.narrow {margin-right: 3% !important;}",
  1160. " .action-panel, .content {margin-right: 3% !important; margin-left: 3% !important;}",
  1161. " section.standalone-news section.main{padding: 0 !important;}",
  1162. " .l-right-column-wrapper, .description-serial__container, .column, .card-full {padding-right: 0 !important;}",
  1163. " table.r--main, .article-item, .b-root-layout__inner, .news-item-layout, .page-base, .card-full {max-width: 100% !important; width: 100% !important;}",
  1164. " .appWindowWithBanner, .appSearchBar{right: 0px !important;}",
  1165. " .appWindow {width: 100% !important;}",
  1166. " .grid_18{width: 70% !important;}",
  1167. " .container, .seasons-links, .l-content{margin-right: 20px !important; margin-left: 20px !important; width: 100% !important;}",
  1168. " .tvguide-wrapper, .article-layout-wrapper {width: 95% !important;}",
  1169. " .left-side, .left-column, .left-column.js-main-column, .main-content {width: 100% !important;}",
  1170. " .seasons-links__slider-container._with-all-link{width: 85% !important;}",
  1171. " .b-topic-show__content iframe, .b-topic-show__text img, .b-topic-show__image img {width: auto !important;}",
  1172. " .preview {width: 70% !important; background: #fdfdfd !important;}",
  1173. " .preview img, .preview>img {width: auto !important; hight: auto !important;}"
  1174. ].join("\n");
  1175. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  1176. css += " .article__content {margin-right: 0px !important;}";
  1177. 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"))
  1178. css += [
  1179. "body{background: none!important;}",
  1180. " body {background-image: none!important;}",
  1181. " .with-bg{background-image: url(\" \") !important;}",
  1182. " .with-bg{background: url(\" \") !important;}",
  1183. " .with-bg{background: none !important;}",
  1184. " .with-bg{background: #c0c0c0 !important;}"
  1185. ].join("\n");
  1186. if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
  1187. css += [
  1188. "#octo-set{background-image:none!important;padding-top:0!important;}",
  1189. " #main-wrapper{width:auto!important;}",
  1190. " body{background-image: none!important;} ",
  1191. " body{background:none!important;}",
  1192. " #main-wrapper{top:10px!important;}",
  1193. // !! cкрыть заголовок
  1194. " #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;}"
  1195. ].join("\n");
  1196. 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"))
  1197. css += [
  1198. "*{background:none!important;}",
  1199. " *{background:url('')!important;}",
  1200. " *{background:silver!important; color:black!important;}",
  1201. " 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; }"
  1202. ].join("\n");
  1203. if (false || (document.domain == "rusnext.ru" || document.domain.substring(document.domain.indexOf(".rusnext.ru") + 1) == "rusnext.ru"))
  1204. css += [
  1205. // !! расширяем
  1206. " .top-div{min-height: 30px !important;}",
  1207. " .art-sheet, .art-nav-inner, div.region.region-navigation, ul.art-hmenu {width: 100% !important;}",
  1208. " .art-nav {width: 96% !important; }",
  1209. " .region-content, span.field-content{width: 95% !important;}",
  1210. " .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;}",
  1211. " 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;}",
  1212. " .views-slideshow-pager-fields {margin: 0 auto !important;}",
  1213. " #widget_pager_bottom_front_top-block img {margin-right: 0px !important; margin-left: 7px !important;}",
  1214. " .panels-flexible-region-3-left{width: 45% !important;}",
  1215. " .panels-flexible-region-3-center{width: 55% !important;}"
  1216. ].join("\n");
  1217. if (false || (document.domain == "ruspravda.info" || document.domain.substring(document.domain.indexOf(".ruspravda.info") + 1) == "ruspravda.info"))
  1218. css += [
  1219. "body{background:white!important;}",
  1220. " table#header_t {margin-top: 0px !important;}"
  1221. ].join("\n");
  1222. if (false || (document.domain == "rustorka.com" || document.domain.substring(document.domain.indexOf(".rustorka.com") + 1) == "rustorka.com"))
  1223. css += " .topmenu{margin-top:25px !important;}";
  1224. 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 == "xrutor.org" || document.domain.substring(document.domain.indexOf(".xrutor.org") + 1) == "xrutor.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"))
  1225. css += [
  1226. // !! оформление от zuefhrf
  1227. " body {overflow: auto!important;}",
  1228. " body{padding-top: 5px !important;}",
  1229. " div#brTop {background-image: url(\" \") !important;}",
  1230. " div#ws div#sidebar{top: 0px !important;}",
  1231. " div#ws div#sidebar{right: 8px !important;}",
  1232. " div#ws div#sidebar div.sideblock{margin-top: 0px !important;}",
  1233. " div#ws div#content{right: 6px !important;}",
  1234. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background-image: url(\" \") !important;}",
  1235. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background: url(\" \") !important;}",
  1236. // !?? " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background-url: none !important;}",
  1237. " h3{text-align: left !important;}",
  1238. " body{font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif !important;}",
  1239. " s, strike, del {color: #C0C0C0 !important;}",
  1240. " .fr_wrapper { width: auto!important;}",
  1241. " .__tw{position:relative !important;}"
  1242. ].join("\n");
  1243. 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"))
  1244. css += [
  1245. " .branding #page_container {background-image: url(\" \") !important;}",
  1246. " .nav {background: url(\" \") !important;}",
  1247. // ! " !!##body.branding{-webkit-transform: scaleX(1) !important;}
  1248. " body{-webkit-transform: none !important;}",
  1249. " div#logo{min-height: 23px!important;}"
  1250. // ! " div.topmenu{padding-top:24px !important;}"
  1251. ].join("\n");
  1252. if (false || (document.domain == "safety-gate.me" || document.domain.substring(document.domain.indexOf(".safety-gate.me") + 1) == "safety-gate.me"))
  1253. css += [
  1254. // ! !! --- широко
  1255. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  1256. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
  1257. " article,.header,.header-main{width:100%!important;}",
  1258. " .xbBoxed,.pageContent{max-width:100%!important;}",
  1259. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  1260. ].join("\n");
  1261. if (false || (document.domain == "samlab.ws" || document.domain.substring(document.domain.indexOf(".samlab.ws") + 1) == "samlab.ws"))
  1262. css += [
  1263. "div.box.main {width: auto; !important;}",
  1264. " div#right {width: 2px; !important;}"
  1265. ].join("\n");
  1266. if (false || (document.domain == "samlib.ru" || document.domain.substring(document.domain.indexOf(".samlib.ru") + 1) == "samlib.ru"))
  1267. css += [
  1268. "body {font-family: sans-serif !important;line-height: 140% !important;color: #B2B2B2 !important;background: #3A3E46 !important;}",
  1269. " font {color: #B2B2B2 !important;}",
  1270. " table, td, td font {color: #BEBEBE !important;background-color: #555C66 !important;}",
  1271. " a:link {color: #9DD7FF !important;}",
  1272. " a:visited {color: #EAB6FF !important;}",
  1273. " a:hover {color: #F0B2B2 !important;}",
  1274. " dl {margin-top: 1em !important;}"
  1275. ].join("\n");
  1276. if (false || (document.domain == "securitylab.ru" || document.domain.substring(document.domain.indexOf(".securitylab.ru") + 1) == "securitylab.ru"))
  1277. css += [
  1278. " #content #left{margin-left: 0px!important;max-width: 1000px!important;}",
  1279. // !! логотип
  1280. " div#header{height:00px!important;background-color:white!important;} div#MAIN_MENU{top:0px!important;}"
  1281. ].join("\n");
  1282. if (false || (document.domain == "sportbox.ru" || document.domain.substring(document.domain.indexOf(".sportbox.ru") + 1) == "sportbox.ru"))
  1283. css += [
  1284. " body{background:none!important;padding-top: 0px!important;}",
  1285. " .sb_c_topmed_olymp, .gold, .silver, .bronze {background:none!important;}"
  1286. ].join("\n");
  1287. 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"))
  1288. css += [
  1289. " body.img-bg,#branding-layout {background:gray!important;}",
  1290. " body.img-bg,#branding-layout {padding-top:0!important;}",
  1291. " .kaspersky, .overall {background:none!important;}",
  1292. " .kaspersky, .pageLayout {top: 0px!important;}"
  1293. ].join("\n");
  1294. if (false || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me") || (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"))
  1295. css += [
  1296. " body{background:url()!important;}",
  1297. " body{background-image: none !important;}",
  1298. " body{background-attachment: none !important;}",
  1299. " div#brTop{background-image:url(\'\') !important;}",
  1300. " element.style{background:url()!important;}",
  1301. " element.style, #skin_crown{background-image:url()!important;}",
  1302. " body{background:#D4D4D4 !important;}",
  1303. " body{padding:0 !important;}",
  1304. " table#home_c{width: inherit !important;}",
  1305. " [id^=\"top_\"]{width: inherit !important;}",
  1306. " body{padding-top:0px !important;}",
  1307. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background-image: url(\" \") !important;}",
  1308. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background: url(\" \") !important;}",
  1309. " body, .traforet-br-logo, div[id^=\"b_pr_\"] {background-url: none !important;}",
  1310. // !! расширяем
  1311. " body, #table_reduser, #head, #foot_links{width:100% !important;}",
  1312. " #foot_links{margin:0px !important; padding:0px !important;}",
  1313. " #top_tools {padding-left:0!important}",
  1314. " table#home_c{width: inherit !important;}",
  1315. " [id^=\"top_\"]{width: inherit !important;}"
  1316. ].join("\n");
  1317. if (false || (document.domain == "tfile-music.org" || document.domain.substring(document.domain.indexOf(".tfile-music.org") + 1) == "tfile-music.org"))
  1318. css += [
  1319. "body {width: 100%!important }"
  1320. ].join("\n");
  1321. if (false || (document.domain == "torrent-tv.ru" || document.domain.substring(document.domain.indexOf(".torrent-tv.ru") + 1) == "torrent-tv.ru"))
  1322. css += [
  1323. " body {background-image:none!important;padding-top: 0px!important;}",
  1324. " div#main-wrapper {top:auto!important;}",
  1325. " div.news-text {width:auto!important;}",
  1326. " div[class^=\"usual-header\"] {width:126%!important;}",
  1327. " div[class=\"usual\"] {width:132%!important;}",
  1328. " div[class^=\"usual-content\"] {width:99%!important;}"
  1329. // !!
  1330. // !! " body>div:nth-of-type(1) {background:url()!important;}",
  1331. // !! " body {background:gray!important;}",
  1332. ].join("\n");
  1333. 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"))
  1334. css += [
  1335. // !! расширяем
  1336. " .container {width: 100% !important;}",
  1337. " .span9 {width: 95% !important;}",
  1338. ].join("\n");
  1339. if (false || (document.domain == "turbobit.net" || document.domain.substring(document.domain.indexOf(".turbobit.net") + 1) == "turbobit.net"))
  1340. css += " html {background:none!important;}";
  1341. if (false || (document.domain == "velolive.com" || document.domain.substring(document.domain.indexOf(".velolive.com") + 1) == "velolive.com"))
  1342. css += " body {background:url() !important;}";
  1343. if (false || (document.domain == "vesti.ru" || document.domain.substring(document.domain.indexOf(".vesti.ru") + 1) == "vesti.ru"))
  1344. css += [
  1345. " .bottom_bg {background: none !important;}",
  1346. " body, .head, .all_wrap {background: url(\" \") !important;}"
  1347. ].join("\n");
  1348. if (false || (document.domain == "vipfiles.nu" || document.domain.substring(document.domain.indexOf(".vipfiles.nu") + 1) == "vipfiles.nu"))
  1349. css += [
  1350. " div.loginformbox{background: none !important;}",
  1351. " div.tophhhhheader{background: none !important; padding: 0 !important; height: 75px !important;}",
  1352. " div.tophhhhheader>div.item1{height: 10px !important;}",
  1353. " div.tophhhhheader>div.item2{float: left !important; width: 500px !important;}",
  1354. " div.wrapper{margin: 0 !important; width: inherit !important;}",
  1355. " div.wrapwide.topheadwide{background: none !important;}"
  1356. ].join("\n");
  1357. if (false || (document.domain == "dns-shop.ru" || document.domain.substring(document.domain.indexOf(".dns-shop.ru") + 1) == "dns-shop.ru"))
  1358. css += " div.wrapper{width: auto !important;}";
  1359. if (false || (document.domain == "yaplakal.com" || document.domain.substring(document.domain.indexOf(".yaplakal.com") + 1) == "yaplakal.com"))
  1360. css += [
  1361. " body{background:none !important;}",
  1362. " #footer{background:url()!important;}",
  1363. " #footer{background-image:none !important;}",
  1364. " #footer,#top-line {background:none!important;padding:0!important;}",
  1365. " #header,#footer {background-color:skyblue!important;}",
  1366. " #content{max-width:none !important;}"
  1367. ].join("\n");
  1368. if (false || (document.domain == "zagonka.ru" || document.domain.substring(document.domain.indexOf(".zagonka.ru") + 1) == "zagonka.ru"))
  1369. css += [
  1370. ".sitebox {margin-top:0!important;}"
  1371. ].join("\n");
  1372. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  1373. css += [
  1374. " div[class=\"body-branding\"]{background:grey!important; padding-top: 0px!important; padding: 5px!important;}",
  1375. " div[class=\"body-gaps\"]{max-width:100%!important;}"
  1376. ].join("\n");
  1377. if (false || (document.domain == "zalil.su" || document.domain.substring(document.domain.indexOf(".zalil.su") + 1) == "zalil.su"))
  1378. css += [
  1379. " body{background:none !important;}",
  1380. " body{background-color:gray !important;}",
  1381. " body{background-image:none !important;}"
  1382. ].join("\n");
  1383. if (false || (document.domain == "taker.im" || document.domain.substring(document.domain.indexOf(".taker.im") + 1) == "taker.im"))
  1384. css += [
  1385. // !! скрываем рекламные ссылки (СПАМ) в тексте
  1386. " a[href^=\"/phpBB2/goto/http://www.ebay.com/sch/\"][rel=\"nofollow\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  1387. ].join("\n");
  1388. if (typeof GM_addStyle != "undefined") {
  1389. GM_addStyle(css);
  1390. } else if (typeof PRO_addStyle != "undefined") {
  1391. PRO_addStyle(css);
  1392. } else if (typeof addStyle != "undefined") {
  1393. addStyle(css);
  1394. } else {
  1395. var node = document.createElement("style");
  1396. node.type = "text/css";
  1397. node.appendChild(document.createTextNode(css));
  1398. var heads = document.getElementsByTagName("head");
  1399. if (heads.length > 0) {
  1400. heads[0].appendChild(node);
  1401. } else {
  1402. // no head yet, stick it whereever
  1403. document.documentElement.appendChild(node);
  1404. }
  1405. }
  1406. }());
  1407. // позаимствовано у lainverse (https://greasyfork.org/ru/scripts/809-no-yandex-ads)
  1408. // Удаляет рекламу из поиска Яндекс
  1409. (function(){
  1410. 'use strict';
  1411. var win = (unsafeWindow || window);
  1412. if (/^https?:\/\/(news\.yandex\.|(www\.)?yandex\.[^\/]+\/(yand)?search[\/?])/i.test(win.location.href)) {
  1413. // https://greasyfork.org/en/scripts/809-no-yandex-ads
  1414. (function(){
  1415. var adWords = ['Яндекс.Директ','Реклама','Ad'];
  1416. function remove(node) {
  1417. node.parentNode.removeChild(node);
  1418. }
  1419. // Generic ads removal and fixes
  1420. (function(s){
  1421. if (s) s.style.marginTop='0';
  1422. })(document.querySelector('.serp-header'));
  1423. (function(s, i){
  1424. i = s.length;
  1425. while(i--)
  1426. s[i].parentNode.removeChild(s[i]);
  1427. })(document.querySelectorAll('.serp-adv__head + .serp-item'), 0);
  1428. (function(s){
  1429. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  1430. })(document.querySelectorAll(['#adbanner',
  1431. '.serp-adv',
  1432. '.b-spec-adv',
  1433. 'div[class*="serp-adv__"]',
  1434. '._type_smart-banner',
  1435. '.footer_distro_yes'].join(',')));
  1436. // Search ads
  1437. function removeAds() {
  1438. var s = document.querySelectorAll(['.serp-block',
  1439. '.serp-item',
  1440. '.search-item'].join(','));
  1441. for (var l = 0; l < s.length; l++) {
  1442. var i = s[l].querySelector(['.label',
  1443. '.serp-item__label',
  1444. '.document__provider-name'].join(','));
  1445. if (!i) continue;
  1446. if (i.textContent.indexOf('Реклама') > -1 || i.textContent.indexOf('Яндекс.Директ') > -1){
  1447. s[l].parentNode.removeChild(s[l]);
  1448. console.log('Ads removed.');
  1449. }
  1450. }
  1451. }
  1452. // News ads
  1453. var removeNewsAds = function() {
  1454. var s = document.querySelectorAll(['.story[id]',
  1455. '.document[id]',
  1456. '.story__group[id]'].join(','));
  1457. // console.log("tt");
  1458. // console.log(s);
  1459. for (var l = 0; l < s.length; l++){
  1460. if (win.getComputedStyle(s[l]).position === 'absolute') {
  1461. s[l].parentNode.removeChild(s[l]);
  1462. console.log('Ads removed.');
  1463. }
  1464. var i = s[l].querySelector(['.link',
  1465. '.link_theme_normal',
  1466. '.link_js_inited'].join(','));
  1467. if (!i) continue;
  1468. if (i.textContent.indexOf('Реклама') > -1 || i.textContent.indexOf('Яндекс.Директ') > -1){
  1469. s[l].parentNode.removeChild(s[l]);
  1470. console.log('Ads removed.');
  1471. }
  1472. }
  1473. };
  1474. // News fixes
  1475. var removePageAdsClass = function() {
  1476. if (document.body.classList.contains("b-page_ads_yes")){
  1477. document.body.classList.remove("b-page_ads_yes");
  1478. console.log('Page ads class removed.');
  1479. }
  1480. };
  1481. // myAdd
  1482. var removePageAdsClass2 = function() {
  1483. if (document.body.classList.contains("stripe_type_promo")){
  1484. document.body.classList.remove("stripe_type_promo");
  1485. console.log('Page ads2 class removed.');
  1486. }
  1487. if (document.body.classList.contains("dist-popup_product_browser")){
  1488. document.body.classList.remove("dist-popup_product_browser");
  1489. console.log('Page ads2 class removed.');
  1490. }
  1491. if (document.body.classList.contains('[data-bem*="bannerid"]')){
  1492. document.body.classList.remove('[data-bem*="bannerid"]');
  1493. console.log('Page ads3 class removed.');
  1494. }
  1495. };
  1496. // Attaches observer to the page elements which Yandex updates via AJAX to display new search or news results
  1497. var pageUpdateObserver = function(func, obj, params) {
  1498. if (obj)
  1499. new MutationObserver(func).observe(obj,(params?params:{childList:true}));
  1500. };
  1501. if (window.location.hostname.search(/^news\./i) === 0) {
  1502. pageUpdateObserver(removeNewsAds, document.querySelector('BODY'));
  1503. pageUpdateObserver(removePageAdsClass, document.body, {attributes:true, attributesFilter:['class']});
  1504. removeNewsAds();
  1505. removePageAdsClass();
  1506. removePageAdsClass2();
  1507. } else {
  1508. pageUpdateObserver(removeAds, document.querySelector('.main__content'));
  1509. removeAds();
  1510. removePageAdsClass2();
  1511. }
  1512. })();
  1513. return; //skip fixes for other sites
  1514. }
  1515. }());
  1516. // Удаляет рекламу из вконтакта
  1517. (function(){
  1518. var lct = location.href;
  1519. if(lct.match(/^https?:\/\/(.*\.)?(vkontakte\.ru|vk\.com)\/.*/)) {
  1520. // Generic ads removal
  1521. (function(s){
  1522. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  1523. })(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'));
  1524. }
  1525. }());
  1526.  
  1527. // Удаляет рекламу из 4pda
  1528. (function(){
  1529. // пока убрано, поломалось
  1530. }());
  1531. }());