RU Max4_ABP_Fix CSS

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

当前为 2016-05-13 提交的版本,查看 最新版本

  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-end
  9. // @include *
  10. // @version 0.20160513210026
  11. // @grant GM_addStyle
  12. // ==/UserScript==
  13. /* jshint -W084, esnext: true*/
  14. (function(){
  15. (function(){var css = "";
  16. // !! console.log("es");
  17. 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"))
  18. css += [
  19. "span.dats{position:relative!important;top: 10px!important;}",
  20. // !! скрываем рекламные ссылки (СПАМ) в сообщениях
  21. " a[href^=\"http://forum.ru-board.com/\"][href$=\"/\"][target=\"_blank\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  22. // !! ======= ПРАВКА СТРУКТУРЫ. вынесено в отдельный скрипт. См. Ru-Board_Extrim_Max4_ABP_Fix-CSS =======
  23. ].join("\n");
  24. 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 == "hd720.biz" || document.domain.substring(document.domain.indexOf(".hd720.biz") + 1) == "hd720.biz") || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com") || (document.domain == "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 == "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") || (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"))
  25. css += "html:not(#id),body:not(#id) {background-image:none!important}";
  26. if (false || (document.domain == "baskino.club" || document.domain.substring(document.domain.indexOf(".baskino.club") + 1) == "baskino.club") || (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 == "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 == "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") || (document.domain == "roem.ru" || document.domain.substring(document.domain.indexOf(".roem.ru") + 1) == "roem.ru") || (document.domain == "tfilm.club" || document.domain.substring(document.domain.indexOf(".tfilm.club") + 1) == "tfilm.club") || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me") || (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"))
  27. css += "body:not(#id) {padding-top:0!important}";
  28. 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"))
  29. css += "body:not(#id) {padding:0!important}";
  30. if (false || (document.domain == "101.ru" || document.domain.substring(document.domain.indexOf(".101.ru") + 1) == "101.ru"))
  31. css += " #layout {background:none!important;}";
  32. 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"))
  33. css += [
  34. "TD[height=\"70\"][style],#user2s[height=\"71\"],",
  35. " #userlinks[height=\"70\"] {display:none!important;}"
  36. ].join("\n");
  37. 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"))
  38. css += [
  39. " #main, main, div{background-image:none!important;}",
  40. " *{background-image:url(\"\")!important;}",
  41. " div{background-image:url(\"\")!important;}",
  42. // !! " #header + #ruBlbZq {background-image:url()!important;}",
  43. // !! " #header + * {background-image:url()!important;}",
  44. " #header + #ruBlbZq {background-image: url(\"\") !important;}",
  45. " #main {padding: 0 !important;}",
  46. " .brand-page {display: none!important;}",
  47. " .brand-page {height:0!important;}",
  48. " body,#main,#rnd-replace-main {background: #E6E7E9!important}",
  49. " div#main>div.holder.no-hidden{padding:0 !important;}",
  50. " div#main>div.holder.no-hidden{width: inherit !important;}",
  51. " html>body>div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div {background-image: url(\"\")!important;}",
  52. " article#content{width: 920px !important;}",
  53. // ! " #header~div:not(#contacts):not(#body) {background-image:none!important;background-color:#E6E7E9!important}",
  54. // ! " link~div[class$=\" \"] {display:none!important}",
  55. " html {margin-top: 0px!important}",
  56. " div [class^=\"h-frame\"]{top: 0px !important;}",
  57. " div#main>div.holder.no-hidden{padding: 0 !important;}",
  58. " div#main>div.holder.no-hidden{width: inherit !important;}",
  59. " iv#main>div.holder.no-hidden>a{display: none!important;}",
  60. " div#main>div.holder.no-hidden>div.brand-page-counters{display: none!important;}",
  61. " div#ipbwrapper>div.borderwrap-header{display: none!important;}",
  62. " div.borderwrap-header>table{display: none!important;}",
  63. " div#dw-wrapper{display: none!important;}",
  64. " a.brand-page.main{display: none!important;}",
  65. " div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div>div:nth-of-type(4){display: none!important;}",
  66. " div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div>div:nth-of-type(3){display: none!important;}",
  67. // ! расширяем
  68. " header#header{ max-width: 1500px !important; width: 95% !important;}",
  69. " header+div>div:nth-of-type(1){ margin: 0px !important; max-width: 1500px !important; width: 90% !important;}",
  70. " header+div>div>div+section>article{max-width: 1500px !important; width: 79% !important;}",
  71. " header+div>div>div+section>aside{max-width: 20% !important; width: 20% !important;}"
  72. ].join("\n");
  73. if (false || (document.domain == "adultmult.tv" || document.domain.substring(document.domain.indexOf(".adultmult.tv") + 1) == "adultmult.tv"))
  74. css += ".adsbygoogle,#aswift_0_expand {display:none!important;}";
  75. if (false || (document.domain == "afisha.ru" || document.domain.substring(document.domain.indexOf(".afisha.ru") + 1) == "afisha.ru"))
  76. css += [
  77. ".page_block_content {width:100%!important;}",
  78. " .page_block_adv {background:none!important;}"
  79. ].join("\n");
  80. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  81. css += [
  82. " #new_logo_helper01 {top: 0!important;}",
  83. " #header-links {display: none!important;}"
  84. ].join("\n");
  85. if (false || (document.domain == "aif.ru" || document.domain.substring(document.domain.indexOf(".aif.ru") + 1) == "aif.ru"))
  86. css += "#container:not(#id) {margin-top:0!important}";
  87. if (false || (document.domain == "all-episodes.com" || document.domain.substring(document.domain.indexOf(".all-episodes.com") + 1) == "all-episodes.com"))
  88. css += " .wrapper {top:0!important;}";
  89. if (false || (document.domain == "allhockey.ru" || document.domain.substring(document.domain.indexOf(".allhockey.ru") + 1) == "allhockey.ru"))
  90. css += ".adr-top { height:0!important;min-height:0!important}";
  91. if (false || (document.domain == "aliexpress.com" || document.domain.substring(document.domain.indexOf(".aliexpress.com") + 1) == "aliexpress.com"))
  92. css += [
  93. " div.categories-main{ display: inline-block !important; width:auto !important; } dl.cl-item{display: inline-block !important;}",
  94. " div.index-page>div.user-helper-footer{position: relative !important; top: 120px !important; padding: 0 !important;}",
  95. " div.index-page>div.site-footer{position: relative !important; top: 120px !important; margin: 0 !important; padding: 0 !important;}",
  96. " div.index-page>div.footer-copywrite{position: relative !important; top: 120px !important;}",
  97. " div.index-page{height: inherit !important;}"
  98. ].join("\n");
  99. if (false || (document.domain == "animemovie.ru" || document.domain.substring(document.domain.indexOf(".animemovie.ru") + 1) == "animemovie.ru"))
  100. css += [
  101. " .dem {height: 100px!important; background: none!important}",
  102. " nav[role=\"navigation\"] > ul {top: 5px!important }"
  103. ].join("\n");
  104. if (false || (document.domain == "animevost.org" || document.domain.substring(document.domain.indexOf(".animevost.org") + 1) == "animevost.org"))
  105. css += [
  106. "div[class^=\"headbg\"] {background-image:none!important;height:auto!important;}",
  107. " div[class^=\"headbg\"] > .menu {top:0px!important;}",
  108. " div[class^=\"headbg\"] > .menu .sar {bottom:auto!important;top:50px!important;z-index:100!important;}"
  109. ].join("\n");
  110. if (false || (document.domain == "aniplay.tv" || document.domain.substring(document.domain.indexOf(".aniplay.tv") + 1) == "aniplay.tv"))
  111. css += [
  112. ".ap2-main-header {height: 51px!important; }"
  113. ].join("\n");
  114. if (false || (document.domain == "anistar.ru" || document.domain.substring(document.domain.indexOf(".anistar.ru") + 1) == "anistar.ru"))
  115. css += [
  116. "body > .clear + div:not(.main),.news-fixed {display:none!important;}",
  117. " .wrapper.width1200 {margin-top:0 !important;}",
  118. " .drowmenu {z-index: 1999999999 !important;}"
  119. ].join("\n");
  120. if (false || (document.domain == "anti-malware.ru" || document.domain.substring(document.domain.indexOf(".anti-malware.ru") + 1) == "anti-malware.ru"))
  121. css += "#header-bg-enf {margin-top:0!important;}";
  122. if (false || (document.domain == "bestpersons.ru" || document.domain.substring(document.domain.indexOf(".bestpersons.ru") + 1) == "bestpersons.ru"))
  123. css += [
  124. "/* Fx compat fix */",
  125. " #userTabs {float:none!important;}"
  126. ].join("\n");
  127. if (false || (document.domain == "binmovie.org" || document.domain.substring(document.domain.indexOf(".binmovie.org") + 1) == "binmovie.org"))
  128. css += " #content {top:0!important;left:0!important;width:100%!important;margin-left:0!important;}";
  129. if (false || (document.domain == "bvedomosti.ru" || document.domain.substring(document.domain.indexOf(".bvedomosti.ru") + 1) == "bvedomosti.ru"))
  130. css += [
  131. ".art-Header {display:none!important;}",
  132. " #art-main {background-image:none!important;}",
  133. " .bg-top-menu {top:0!important;}"
  134. ].join("\n");
  135. if (false || (document.domain == "carambatv.ru" || document.domain.substring(document.domain.indexOf(".carambatv.ru") + 1) == "carambatv.ru"))
  136. css += " .content {background:none!important;padding:0!important;}";
  137. if (false || (document.domain == "cars.ru" || document.domain.substring(document.domain.indexOf(".cars.ru") + 1) == "cars.ru"))
  138. css += [
  139. "#main {margin-top:0!important;}",
  140. " A[href*=\"/adclick.php?bannerid=\"] {display:none!important;}"
  141. ].join("\n");
  142. if (false || (document.domain == "cinema-hd.ru" || document.domain.substring(document.domain.indexOf(".cinema-hd.ru") + 1) == "cinema-hd.ru"))
  143. css += ".wrap {padding-top:0!important}";
  144. if (false || (document.domain == "creativportal.ru" || document.domain.substring(document.domain.indexOf(".creativportal.ru") + 1) == "creativportal.ru"))
  145. css += [
  146. " .pocaz {width: 10px!important; height: 10px!important; position: fixed!important; top:-100px!important;}"
  147. ].join("\n");
  148. if (false || (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"))
  149. css += "div[id][class] + div[class]:not([id]):not([class=\"b-player-popup\"]),a[href*=\".js?\"][target=\"_blank\"],a[href^=\"//cdn.admixer.net/\"],.b-tab-item__edit-material ~ div[class^=\"b-\"]:not(.b-scroll-to):not(.b-clear),.b-iframe-player-wrap ~ div[class^=\"b-\"],.b-nowviewed ~ div[class^=\"b-\"]:not(.b-section-controls):not(.b-section-list) {position:fixed!important;top:-1000px!important}";
  150. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru"))
  151. css += " body {background:black!important;}";
  152. if (false || (document.domain == "drive.ru" || document.domain.substring(document.domain.indexOf(".drive.ru") + 1) == "drive.ru"))
  153. css += "body>div {background:none!important;padding-top:0!important;}";
  154. if (false || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua"))
  155. css += [
  156. " body {cursor:auto!important;}",
  157. " body>div[align=\"center\"] {width:auto!important;margin:0!important;}"
  158. ].join("\n");
  159. if (false || (document.domain == "firepic.org" || document.domain.substring(document.domain.indexOf(".firepic.org") + 1) == "firepic.org"))
  160. css += [
  161. "body {padding:0!important;background-image:none!important;}",
  162. " .container,.row {max-width:none!important;}",
  163. " .container {width:100%!important;}",
  164. " .row {padding:30px!important;margin:0px!important;}",
  165. " .span12 {clear:both}"
  166. ].join("\n");
  167. if (false || (document.domain == "fishki.net" || document.domain.substring(document.domain.indexOf(".fishki.net") + 1) == "fishki.net"))
  168. css += "#container {cursor:auto!important;}";
  169. if (false || (document.domain == "free-torrents.org" || document.domain.substring(document.domain.indexOf(".free-torrents.org") + 1) == "free-torrents.org"))
  170. css += [
  171. "#sidebar2 {padding-top:0!important;}",
  172. " #main-wrapper {width:100%!important;top:0!important;}"
  173. ].join("\n");
  174. if (false || (document.domain == "gamebomb.ru" || document.domain.substring(document.domain.indexOf(".gamebomb.ru") + 1) == "gamebomb.ru"))
  175. css += [
  176. "#ssdfsd,.dfgdjkfgh{background-image:none!important;}",
  177. " #content{padding-top:0!important;margin-top:0!important;}"
  178. ].join("\n");
  179. if (false || (document.domain == "gamer-info.com" || document.domain.substring(document.domain.indexOf(".gamer-info.com") + 1) == "gamer-info.com"))
  180. css += "#all-content-container {padding:0!important;}";
  181. if (false || (document.domain == "gastronom.ru" || document.domain.substring(document.domain.indexOf(".gastronom.ru") + 1) == "gastronom.ru"))
  182. css += [
  183. "body { cursor: auto !important;}",
  184. " #wrapper {max-width: auto !important;}"
  185. ].join("\n");
  186. if (false || (document.domain == "gidonline.club" || document.domain.substring(document.domain.indexOf(".gidonline.club") + 1) == "gidonline.club"))
  187. css += "#headerline {margin-top:0!important;}";
  188. if (false || (document.domain == "gidonlinekino.com" || document.domain.substring(document.domain.indexOf(".gidonlinekino.com") + 1) == "gidonlinekino.com"))
  189. css += " #headerline {margin-top:0!important;}";
  190. if (false || (document.domain == "goclips.tv" || document.domain.substring(document.domain.indexOf(".goclips.tv") + 1) == "goclips.tv"))
  191. css += " .video_content {height:auto!important;}";
  192. if (false || (document.domain == "goha.ru" || document.domain.substring(document.domain.indexOf(".goha.ru") + 1) == "goha.ru"))
  193. css += [
  194. "#full-brand-footer>div[style*=\"fixed\"], #head-tuppy>a {display:none!important;}",
  195. " #full-brand {background-image:none!important;}",
  196. " #head-tuppy {height: 7px!important;}"
  197. ].join("\n");
  198. if (false || (document.domain == "gotps3.ru" || document.domain.substring(document.domain.indexOf(".gotps3.ru") + 1) == "gotps3.ru"))
  199. css += "#Page {margin-top:0!important;}";
  200. if (false || (document.domain == "gstv.ru" || document.domain.substring(document.domain.indexOf(".gstv.ru") + 1) == "gstv.ru"))
  201. css += ".page-content {margin-top:0!important;}";
  202. if (false || (document.domain == "hdfilms.tv" || document.domain.substring(document.domain.indexOf(".hdfilms.tv") + 1) == "hdfilms.tv"))
  203. css += " #subheader{padding-top:1px!important;}";
  204. if (false || (document.domain == "iphones.ru" || document.domain.substring(document.domain.indexOf(".iphones.ru") + 1) == "iphones.ru"))
  205. css += "#contentShifter {height:127px!important}";
  206. if (false || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv"))
  207. css += " #main {width: auto!important;}";
  208. if (false || (document.domain == "kino-serial.net" || document.domain.substring(document.domain.indexOf(".kino-serial.net") + 1) == "kino-serial.net"))
  209. css += "#header+div[style*=\"height\"] {height:90px!important}";
  210. if (false || (document.domain == "kinoafisha.spb.ru" || document.domain.substring(document.domain.indexOf(".kinoafisha.spb.ru") + 1) == "kinoafisha.spb.ru"))
  211. css += "#branding_wrapper {padding-right:0!important}";
  212. if (false || (document.domain == "kinobel.by" || document.domain.substring(document.domain.indexOf(".kinobel.by") + 1) == "kinobel.by"))
  213. css += ".bg-site {padding-top:0!important;}";
  214. if (false || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru"))
  215. css += [
  216. " body{background:none!important;}",
  217. " body{background:#C0C0C0!important;}",
  218. " html[style] {background-image: url()!important;}",
  219. " #top .png_block, #GoUpClickZone{background:url() !important;}",
  220. " #top {height:100px!important;}",
  221. " .master {top:1px!important;}",
  222. " .menu {top:1px!important;}",
  223. // !! выравниваем секцию поиск:
  224. " #top_form {top: 2px!important;}",
  225. " #top .png_block {top: 2px!important;}",
  226. // !! расширяем полезную площадь
  227. " #content_block, .contentBlock1, .shadow, #top, #top .png_block, .block_left_padtop{width:100% !important;}",
  228. " div[id\*=\"div_review_\"]{width:98% !important;}",
  229. " .brand_words, p[id\^=\"ext_text_\"], ._reachbanner_ {width:100% !important;}",
  230. " .reviewItem, .userReview, p[id\^=\"ext_text_\"][data-find], span._reachbanner_ {width:100% !important;}",
  231. " div#content_block.contentBlock1>table {width:95% !important;}",
  232. " div#content_block.contentBlock1>table>tbody[data-find]>tr[data-find] {width:95% !important;}",
  233. " #photoBlock {padding-left:20px !important;}",
  234. " div#nav_express {padding-left:40px !important;}"
  235. ].join("\n");
  236. if (false || (document.domain == "kinotochka.net" || document.domain.substring(document.domain.indexOf(".kinotochka.net") + 1) == "kinotochka.net"))
  237. css += ".center-box2 {margin-top:0!important}";
  238. if (false || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net"))
  239. css += " body.brending {padding-top:180px!important;}";
  240. if (false || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru"))
  241. css += " #dynamic-content{margin-top:0!important;}";
  242. 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"))
  243. css += " .b-branding__wrap {padding:0!important;}";
  244. if (false || (document.domain == "msn.com" || document.domain.substring(document.domain.indexOf(".msn.com") + 1) == "msn.com"))
  245. css += [
  246. "body {overflow: auto!important;}",
  247. " .promobanner {display: none!important;}"
  248. ].join("\n");
  249. if (false || (document.domain == "noob-club.ru" || document.domain.substring(document.domain.indexOf(".noob-club.ru") + 1) == "noob-club.ru"))
  250. css += "#header-new {margin-bottom:0!important;}";
  251. if (false || (document.domain == "online.anidub.com" || document.domain.substring(document.domain.indexOf(".online.anidub.com") + 1) == "online.anidub.com"))
  252. css += [
  253. " .background {background: none!important;}",
  254. " .background>script + div, .background>script ~ div:not([id]):not([class]) + div[id][class] {display: none!important;}"
  255. ].join("\n");
  256. if (false || (document.domain == "online.animedia.tv" || document.domain.substring(document.domain.indexOf(".online.animedia.tv") + 1) == "online.animedia.tv"))
  257. css += [
  258. " .promo {display: none!important;}",
  259. " .main-container {margin-top: 80px!important;}"
  260. ].join("\n");
  261. if (false || (document.domain == "playground.ru" || document.domain.substring(document.domain.indexOf(".playground.ru") + 1) == "playground.ru"))
  262. css += [
  263. "#foundationWrapper {background: #373737!important}"
  264. ].join("\n");
  265. if (false || (document.domain == "politobzor.net" || document.domain.substring(document.domain.indexOf(".politobzor.net") + 1) == "politobzor.net"))
  266. css += " .banner {height:90px!important;}";
  267. if (false || (document.domain == "povarenok.ru" || document.domain.substring(document.domain.indexOf(".povarenok.ru") + 1) == "povarenok.ru"))
  268. css += [
  269. ".car_content {margin:0!important;width:100%!important;}",
  270. " .car_recept {width:97%!important;}",
  271. " .cont_head, .cont_mid, .car_footer {background:none!important;}",
  272. " .car_header, .petushok, .cont_foot {display:none!important;}"
  273. ].join("\n");
  274. if (false || (document.domain == "promodj.com" || document.domain.substring(document.domain.indexOf(".promodj.com") + 1) == "promodj.com"))
  275. css += " #topbrandingspot {padding-top:0!important;}";
  276. if (false || (document.domain == "prophotos.ru" || document.domain.substring(document.domain.indexOf(".prophotos.ru") + 1) == "prophotos.ru"))
  277. css += [
  278. "body:not(#id) {",
  279. " padding-top: 130px!important",
  280. " }"
  281. ].join("\n");
  282. if (false || (document.domain == "riotpixels.com" || document.domain.substring(document.domain.indexOf(".riotpixels.com") + 1) == "riotpixels.com"))
  283. css += [
  284. "body {background-image:none!important;}",
  285. " .all-wrapper, .bottom-bar {top:0!important;}",
  286. " .bottom-bar, .action-menu {position:fixed!important;}"
  287. ].join("\n");
  288. if (false || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru"))
  289. css += " #block-sc2tv_streams-0 {margin-top:0!important;}";
  290. if (false || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru"))
  291. css += " body {background-color:#707070!important;}";
  292. if (false || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com"))
  293. css += " #wrapper>#all {margin-top:0!important;}";
  294. if (false || (document.domain == "smotri-filmi.net" || document.domain.substring(document.domain.indexOf(".smotri-filmi.net") + 1) == "smotri-filmi.net"))
  295. css += " .broda {margin-top:0!important}";
  296. if (false || (document.domain == "soccer.ru" || document.domain.substring(document.domain.indexOf(".soccer.ru") + 1) == "soccer.ru"))
  297. css += [
  298. "#beforecontent {display:none!important}",
  299. " #left {margin-top:15px!important}"
  300. ].join("\n");
  301. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  302. css += [
  303. "body.img-bg,#branding-layout {background:gray!important;padding-top:0!important}",
  304. " .pageLayout {top:0!important}"
  305. ].join("\n");
  306. if (false || (document.domain == "torrent-games.net" || document.domain.substring(document.domain.indexOf(".torrent-games.net") + 1) == "torrent-games.net"))
  307. css += [
  308. " html {position:relative !important; top:-232px !important;}",
  309. " #body1:before, #body1:after {display: block !important; position: fixed!important; content: \"\" !important; background: white!important; height: 100%!important; top: 0!important;}",
  310. " #body1:before {width: 50px!important; left: 0px!important;}",
  311. " #body1:after {width: calc(100% - 1130px)!important; right:0px!important;}",
  312. " @media (min-width: 1196px) { #body1:before, #body1:after { width:calc((100% - 1080px) / 2)!important; } }"
  313. ].join("\n");
  314. if (false || (document.domain == "torrentom.com" || document.domain.substring(document.domain.indexOf(".torrentom.com") + 1) == "torrentom.com"))
  315. css += [
  316. "body, #footer_reklama {pointer-events: none!important;}",
  317. " body > *:not(#footer_reklama), #footer_reklama > * { pointer-events: auto!important;}"
  318. ].join("\n");
  319. if (false || (document.domain == "tort.fm" || document.domain.substring(document.domain.indexOf(".tort.fm") + 1) == "tort.fm"))
  320. css += "#topper_up {height:88px!important;}";
  321. if (false || (document.domain == "tnt-online.ru" || document.domain.substring(document.domain.indexOf(".tnt-online.ru") + 1) == "tnt-online.ru"))
  322. css += [
  323. "/*self-ads for bitblock*/",
  324. " #contentShifter {display:none!important;}",
  325. " #all {top:15px!important;}"
  326. ].join("\n");
  327. if (false || (document.domain == "tree.tv" || document.domain.substring(document.domain.indexOf(".tree.tv") + 1) == "tree.tv"))
  328. css += ".wrapper {margin-top:0!important}";
  329. if (false || (document.domain == "unionpeer.org" || document.domain.substring(document.domain.indexOf(".unionpeer.org") + 1) == "unionpeer.org"))
  330. css += "#br_block,.bg_link {display:none!important}";
  331. if (false || (document.domain == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info"))
  332. css += "body {margin:0!important;}";
  333. if (false || (document.domain == "warfiles.ru" || document.domain.substring(document.domain.indexOf(".warfiles.ru") + 1) == "warfiles.ru"))
  334. css += "#header + .banner {height:100px!important;}";
  335. if (false || (document.domain == "vz.ru" || document.domain.substring(document.domain.indexOf(".vz.ru") + 1) == "vz.ru"))
  336. css += [
  337. " div.main-container{max-width: inherit !important;}",
  338. " div.main-menu>div.menu.sys_thumbs{overflow: inherit !important;}",
  339. " div.main-menu>div.menu.sys_thumbs>ul>li.thumb{margin-right: 0 !important;}",
  340. " div.menu{max-width: inherit !important;}"
  341. ].join("\n");
  342. if (false || (document.domain == "webfile.ru" || document.domain.substring(document.domain.indexOf(".webfile.ru") + 1) == "webfile.ru"))
  343. css += ".p_wrap {margin-top:0!important;}";
  344. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  345. css += " .body-branding {background:none!important;padding-top:0!important;}";
  346. if (false || (document.domain == "zoneofgames.ru" || document.domain.substring(document.domain.indexOf(".zoneofgames.ru") + 1) == "zoneofgames.ru"))
  347. css += " .branding,div.logo {background:none!important;height:auto!important;}";
  348. if (false || (document.domain == "zoomby.ru" || document.domain.substring(document.domain.indexOf(".zoomby.ru") + 1) == "zoomby.ru"))
  349. css += [
  350. "#global_wrapper_cont {padding:0!important;}",
  351. " .wrapper {margin-top:60px!important;}"
  352. ].join("\n");
  353. if (false || (document.domain == "hi-tech.mail.ru" || document.domain.substring(document.domain.indexOf(".hi-tech.mail.ru") + 1) == "hi-tech.mail.ru"))
  354. css += "#portal-menu, .header-banner {margin:0!important}";
  355. if (false || (document.domain == "e.mail.ru" || document.domain.substring(document.domain.indexOf(".e.mail.ru") + 1) == "e.mail.ru"))
  356. 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}";
  357. if (false || (new RegExp("^https?://anistar.ru/news(/(\\?.*)?)?$")).test(document.location.href))
  358. css += ".news:nth-child(1) {display:none!important;}";
  359. if (false || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com"))
  360. css += [
  361. " body {background:white!important;}",
  362. " body {background-color:white!important}",
  363. " body{background-image: url()!important;}",
  364. " body{background-image: none !important;}",
  365. " div{background-image: url()!important;}",
  366. " .branding {padding-top: 5px!important;}",
  367. " body {padding-top: 5px!important;}",
  368. " .limiter{padding-top: 5px!important;}",
  369. " .main_tm_search_tool,.searchline {background: white!important;}",
  370. // !! для широкоформатных мониторов
  371. " .header_container, .bottom_container, #content, .content, .wrapper, .limiter {width: 100%!important;}",
  372. " div.limiter > div.wrapper > div.c_w > table > tbody > tr > td[align=\"center\"] > table[width=\"960\"] {width: 100%!important;}"
  373. ].join("\n");
  374. 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"))
  375. // ! console.log("es1");
  376. css += [
  377. "body{background:none !important;}",
  378. " body {padding-top:0px !important;}",
  379. " body{background-image:none !important;}",
  380. " body{padding:0 !important;}",
  381. " .skin-block{background-image:url(\" \") !important;}",
  382. " element.style{background-image:url(\"\") !important;}",
  383. " #brTop{background-image:url(\"\") !important;}",
  384. // !! --- широко
  385. // !! ".wrap{min-width:1030px;max-width:100% !important;}",
  386. " body>table[width=\"85%\"]{width:100% !important;}",
  387. " body>div.wrap{max-width:100% !important;}",
  388. " body>div.wrap{min-width:1030px !important;}"
  389. ].join("\n");
  390. 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"))
  391. css += [
  392. " #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;}",
  393. " .soft-promo, #soft-promo{display:none !important;}",
  394. // !!? " #graph{float:none !important;}", //проверить
  395. " div#post-container,div#pre-container,.soft-promo{background:url(\"\")!important;}",
  396. " td.content.editor{background:url(\"\")!important;} ",
  397. // !! оставим меню: снежинки вырезать, на бету сходить
  398. " #header, #header .fcontent{height:26px !important;}",
  399. " li#tourism_button{display:none !important;}"
  400. ].join("\n");
  401. if (false || (document.domain == "nnm.me" || document.domain.substring(document.domain.indexOf(".nnm.me") + 1) == "nnm.me"))
  402. css += [
  403. " html:not(#id),body:not(#id) {background-image:none!important}",
  404. " body{background: none !important;}",
  405. " body, #theme_8, #theme_2, #theme_3, #theme_4, #theme_5, #theme_6, #theme_7, #theme_1{background: url(\'\') !important;}",
  406. // !! " body {background-image:none !important;}",
  407. " body, div#page{background:gray !important;background-color:gray !important;}",
  408. " body, div#page, element.style, #brTop{background-image:url(\'\') !important;}",
  409. " body, div#page, .pirate-branding, .pb_button_play{background:none !important;}",
  410. " div#page, div#wrap{margin-top:0px !important;top: 0px !important;}",
  411. " div#optionspanel{margin-top:0px !important; margin-left:0px !important;}",
  412. " div#page>div[style*=\"width: 990px;\"][style*=\"height: 206px; position: relative;\"]{height: 0px !important;}",
  413. " .pb_top_img, .pirate-branding, a.pb_link, .pb_logo_brand, .pb_left_banner, .pb_right_banner, #b-logo{height: 0px !important;}",
  414. " .pirate-branding, .pb_button_play_big{top:0px !important;}",
  415. " body{padding-top: 0px !important;}",
  416. // !! " body:not(#id) {padding-top:0px !important}",
  417. " #mmmBanner{height: 0px !important;}",
  418. " .head_assn {height: 0px !important; width: 0px !important;}",
  419. " .head_assn .assn_logo {width: 0px !important; height: 0px !important; top: 0px !important; left: 0px !important; background: url(\" \") !important; }",
  420. " .head_assn .assn_slogan {width: 0px !important; height: 0px !important; top: 0px !important; left:0px !important; background: url(\" \") !important; }",
  421. " html{height: 0px !important;}",
  422. " body{click=(\'\')!important;}",
  423. // !! заполненяем всю ширину экрана
  424. " #wrap, htmlarea, text{width: 99% !important;}",
  425. " #scrollPanel{width: auto !important;}",
  426. " #cntnt{position: absolute !important; left: 0px !important; margin-top: 0px !important; margin-left: 0px !important;}",
  427. " #wrapper {width: auto !important;}",
  428. " #content{width: auto !important;}",
  429. " .categories{margin: 0 100px 10px !important; float: left !important;}",
  430. " body {text-align:center!important;}",
  431. " #page {display:inline-block !important; top:0px !important; margin-top:0 !important;}",
  432. " #wrap {text-align:initial !important;}"
  433. ].join("\n");
  434. 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"))
  435. css += [
  436. // ! site yandex
  437. // !!? ".adsrv {width:0px!important;min-width:0!important;max-width:0!important;",
  438. " .i-bem[style*=\'opacity:1!important\'] {width:0px!important;min-width:0!important;max-width:0!important;",
  439. " height:0!important;min-height:0!important;max-height:0!important;",
  440. " overflow:hidden!important;}",
  441. " .serp-header {margin-top: 0!important;}",
  442. " .b-top-wizard{width:1000px!important;} .b-body-items.b-serp-list{width:1000px!important;}",
  443. " /* Исправление для горизонтальной прокрутки на Погоде по выходным */",
  444. " .forecast-brief__item-temp-day { width: auto!important;}",
  445. // ! !! чистим maps.yandex
  446. " .ymaps-map{background:none !important;}",
  447. // " .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;}",
  448. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background-image:url() !important;}",
  449. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background:url(\'\') !important;}",
  450. // ! !! убрать все фоновые рисунки в картах
  451. // ! " ymaps{background-image:url() !important;}",
  452. " tv.yandex.ru##td[width=\"24%\"]{width:12%!important;}",
  453. " a{onmousedown=''!important;}",
  454. " a{onclick=''!important;}"
  455. ].join("\n");
  456. // !! 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"))
  457. if (false || (document.domain == "soft-club.me" || document.domain.substring(document.domain.indexOf(".soft-club.me") + 1) == "soft-club.me"))
  458. css += [
  459. // ! !! --- широко
  460. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  461. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
  462. " article,.header,.header-main{width:100%!important;}",
  463. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  464. ].join("\n");
  465. if (false || (document.domain == "4seasons-ltc.com" || document.domain.substring(document.domain.indexOf(".4seasons-ltc.com") + 1) == "4seasons-ltc.com"))
  466. css += [
  467. "body{background-image:none !important;}",
  468. " body{font-family: Tahoma !important;}"
  469. ].join("\n");
  470. if (false || (document.domain == "80-e.ru" || document.domain.substring(document.domain.indexOf(".80-e.ru") + 1) == "80-e.ru"))
  471. css += [
  472. " div#ipbwrapper{margin: 0 !important;width: inherit !important;max-width: inherit !important;}"
  473. ].join("\n");
  474. if (false || (document.domain == "china-review.com.ua" || document.domain.substring(document.domain.indexOf(".china-review.com.ua") + 1) == "china-review.com.ua"))
  475. css += [
  476. "body{background:url()!important;}",
  477. " body{background-image:none !important;}",
  478. " body{background:none!important;}",
  479. " body{margin-top:0px!important;}"
  480. ].join("\n");
  481. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  482. css += [
  483. "body{background:none!important;} .layer_top {background:none!important;} .layer_bottom {background:none!important;} .cast_bg{background:none!important;}",
  484. " .contentbg {background-image:none!important;} #4iframe {background-image:none!important;} ",
  485. " #framescr{background-image:none!important;}"
  486. ].join("\n");
  487. if (false || (document.domain == "amovies.tv" || document.domain.substring(document.domain.indexOf(".amovies.tv") + 1) == "amovies.tv"))
  488. css += [
  489. // !! расширяем
  490. "article{width: 980px !important;}",
  491. " #vk_select {float:none !important;margin-left: 445px!important;}",
  492. " #vk_top,#vk_select {background:url()!important;}"
  493. ].join("\n");
  494. if (false || (document.domain == "apteka.ru" || document.domain.substring(document.domain.indexOf(".apteka.ru") + 1) == "apteka.ru"))
  495. css += [
  496. " div.wrapper_root>div.wrapper>section.middle{margin-bottom: 0 !important;}",
  497. " div.wrapper_root>div.wrapper>section.middle>div.container.clr{min-height: 180px !important;}",
  498. " div.wrapper_root>div.wrapper>section.middle>div.container.clr>div.content.bottom-content>section.items.items-tile.items-viewed{margin: 0!important;}",
  499. " div.wrapper_root>div.wrapper>section.middle>div.tabs.top-tabs.clr{margin-bottom: 0 !important;}"
  500. ].join("\n");
  501. if (false || (document.domain == "avito.ru" || document.domain.substring(document.domain.indexOf(".avito.ru") + 1) == "avito.ru"))
  502. css += " .bonprix-1{background: none !important;} ";
  503. if (false || (document.domain == "bash.im" || document.domain.substring(document.domain.indexOf(".bash.im") + 1) == "bash.im"))
  504. css += " span.csd{background:none !important;}";
  505. if (false || (document.domain == "best-cashback.ru" || document.domain.substring(document.domain.indexOf(".best-cashback.ru") + 1) == "best-cashback.ru"))
  506. css += [
  507. " [id=\"menu-osnovnoe-menyu\"]>[id^=\"menu-item-\"]>a.menu-item-link{color: black !important;}",
  508. " div#theme-page{top: 80px !important;}",
  509. " [class^=\"mk-header-\"]{background-color: lightgrey !important;}",
  510. " section#mk-footer{padding: 0 !important; top: 80px !important;}",
  511. " div#sub-footer{background-color: lightgrey !important;}"
  512. ].join("\n");
  513. if (false || (document.domain == "besplatnye-kupony.ru" || document.domain.substring(document.domain.indexOf(".besplatnye-kupony.ru") + 1) == "besplatnye-kupony.ru"))
  514. css += [
  515. " body{background: none !important; background-color: lightgrey !important;}",
  516. " div{width: inherit !important; margin: 0 !important;}",
  517. " div#site-container{border: none !important;}"
  518. ].join("\n");
  519. if (false || (document.domain == "bestrepack.net" || document.domain.substring(document.domain.indexOf(".bestrepack.net") + 1) == "bestrepack.net"))
  520. css += " div#body_container{padding: 0 !important;}";
  521. if (false || (document.domain == "bigpicture.ru" || document.domain.substring(document.domain.indexOf(".bigpicture.ru") + 1) == "bigpicture.ru"))
  522. css += [
  523. " div.content{padding: 0 !important;}",
  524. " div.podheader{width: 240px !important; float: right !important;}",
  525. " div.podheader-right{float: right !important;}"
  526. ].join("\n");
  527. 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"))
  528. css += [
  529. " body{background-image:none !important;}",
  530. " body{background-image:url(\" \")!important;}",
  531. // !! --- расширим ---
  532. " .content-outer, .content-fauxcolumn-outer, .region-inner {max-width: none !important;}",
  533. " div#header-inner>div.descriptionwrapper{margin-bottom: 5px !important;}",
  534. " #outer-wrapper {width: 95% !important;}",
  535. " #main-wrapper {width: 95% !important;}"
  536. ].join("\n");
  537. if (false || (document.domain == "bookvoed.ru" || document.domain.substring(document.domain.indexOf(".bookvoed.ru") + 1) == "bookvoed.ru"))
  538. css += " .Fh{margin-top: 79px!important;}";
  539. if (false || (document.domain == "calend.ru" || document.domain.substring(document.domain.indexOf(".calend.ru") + 1) == "calend.ru"))
  540. css += " .pad, .main-l{width:95% !important;}";
  541. if (false || (document.domain == "clubupravdom.ru" || document.domain.substring(document.domain.indexOf(".clubupravdom.ru") + 1) == "clubupravdom.ru"))
  542. css += " *{background-image: none !important;}";
  543. if (false || (document.domain == "computerra.ru" || document.domain.substring(document.domain.indexOf(".computerra.ru") + 1) == "computerra.ru"))
  544. css += [
  545. " div.page.page-podl{padding-top: 0px!important;}",
  546. " div#under{width:auto!important;}",
  547. " a.link{font-weight:bold!important; font-family:Verdana!important;font-size: 12px!important;}",
  548. " div.column{max-width:80%!important;}"
  549. ].join("\n");
  550. if (false || (document.domain == "cont.ws" || document.domain.substring(document.domain.indexOf(".cont.ws") + 1) == "cont.ws"))
  551. css += [
  552. " body>div.content{width: 100% !important;}",
  553. " body>div.content>div{margin: 0 !important;}",
  554. " body>div.content{margin-left: 5px !important;}",
  555. " body>div.content{margin-right: 5px !important;}",
  556. " div.sidebar{width: 14% !important;}",
  557. " [class^=\"post\"]{width: 85% !important;}",
  558. " [class^=\"post\"]{max-width: 1880px !important; margin: 0 !important; padding: 0 !important;}",
  559. " div.post>[class^=\"article\"]{padding: 0 !important;}",
  560. " div#wp.author-bar2.wallpaper.plus{background-image: url() !important; padding: 0 !important;}",
  561. " div.author-bar2-inside{padding: 0 !important;}",
  562. " a.m_author{display: inline-block !important;}",
  563. " .plus .author-bar2-inside{color: #666 !important;}",
  564. " div.dark{background: url() !important;}",
  565. " .wallpaper .author-bar2-inside, .wallpaper .author-bar2-inside a, .wallpaper .author-bar2-inside textarea {color: inherit !important;}"
  566. ].join("\n");
  567. if (false || (document.domain == "crowdin.com" || document.domain.substring(document.domain.indexOf(".crowdin.com") + 1) == "crowdin.com"))
  568. css += " #user-cover-picture,#user-cover-picture-blurred{background:url()!important;}";
  569. 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"))
  570. css += [
  571. "body{background:none !important;}",
  572. " td{background-image:none !important;}"
  573. ].join("\n");
  574. if (false || (document.domain == "ebay-forum.ru" || document.domain.substring(document.domain.indexOf(".ebay-forum.ru") + 1) == "ebay-forum.ru"))
  575. 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;}";
  576. 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"))
  577. css += [
  578. "body{background:none !important;}",
  579. " body{background-image:none !important;}"
  580. ].join("\n");
  581. if (false || (document.domain == "ddlmkvhd.com" || document.domain.substring(document.domain.indexOf(".ddlmkvhd.com") + 1) == "ddlmkvhd.com"))
  582. css += [
  583. " body{background: none !important;}",
  584. " div.page-body-t{position: relative !important;}"
  585. ].join("\n");
  586. if (false || (document.domain == "ddlvillage.org" || document.domain.substring(document.domain.indexOf(".ddlvillage.org") + 1) == "ddlvillage.org"))
  587. css += [
  588. " div{background: none !important;}"
  589. ].join("\n");
  590. if (false || (document.domain == "f1news.ru" || document.domain.substring(document.domain.indexOf(".f1news.ru") + 1) == "f1news.ru"))
  591. css += [
  592. " div[id=\"bannerText\"]{border:0px!important;margin-left:10px!important;}",
  593. " body{background:url() top center no-repeat #000000 !important;}",
  594. // !! расширяем текстовое поле
  595. " div#textBlock{width:900px !important;}"
  596. ].join("\n");
  597. if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
  598. css += [
  599. " #contentArea {width: 750px !important;}",
  600. " .uiUfi {width: 650px !important;}",
  601. // !! " body {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  602. // !! " #contentCol {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  603. " div#profile_stream_composer {background-color:#C1D5F6;}",
  604. " #blueBar {background-color: transparent !important;}",
  605. " #headNav {background-color: #transparent !important;}",
  606. " .jewelButton {background-color: transparent !important;}",
  607. " #fbNotificationsFlyout {left: 50px !important;}",
  608. " .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;}",
  609. // !! " #pageNav a {color: #00ffff !important;display: inline-block;font-weight: bold;height: 22px;padding: 8px 10px 0px;text-decoration: none;}",
  610. " .UIImageBlock {color: #000000 !important;}",
  611. " .fcg {color: darkgreen !important;}",
  612. " .mts.uiAttachmentDesc.translationEligibleUserAttachmentMessage {color: black !important;}"
  613. ].join("\n");
  614. if (false || (document.domain == "fastpic.ru" || document.domain.substring(document.domain.indexOf(".fastpic.ru") + 1) == "fastpic.ru"))
  615. css += [
  616. " html, body {pointer-events: none!important; height: 110%!important; cursor: auto!important;}",
  617. " #mainContainer, #content {margin-top: 0!important;}",
  618. " #mainContainer, #footerContainer, #content, #footer, #show-code-content { pointer-events: auto!important;}",
  619. //??
  620. " html,body,#mainContainer,#footerContainer,#content,#footer {margin:0!important;width:100%!important;border-radius:0!important;}",
  621. " #mainContainer>table {width:850px!important;margin:auto!important;}",
  622. " #picContainer {float:none!important;margin:auto!important;}",
  623. " html,body {cursor:auto!important;}",
  624. " html,body {display:flex!important;flex-direction:column!important;}",
  625. " #mainContainer {flex-grow:1!important;}",
  626. " #mainContainer,#footerContainer {overflow:visible!important;}",
  627. " #content,#footer {background-color:transparent!important;}",
  628. " #content {display:flex!important;flex-grow:1!important;min-height:inherit!important;}",
  629. //??
  630. " #logo-area{padding-top: 0px!important;}",
  631. " *{background:none !important;}",
  632. " *{background-image:none !important;}",
  633. " #footer-container {background-image:none!important;height:auto!important;}",
  634. " body > a {display:none!important;}",
  635. " div#show-code-content.rounded-corners{position: inherit!important;}",
  636. " div#foot-area.center.rounded-corners{position: inherit!important;}",
  637. " div#footer.center.rounded-corners{position: inherit!important;}",
  638. " .center {padding:0!important}",
  639. " div#right-bottom.rounded-corners{position: relative!important;margin-top:0px!important;height:0px!important;padding-top:5px!important;}",
  640. // !! всё - чёрным
  641. " *{color: black!important;}",
  642. " body{background: none!important;}"
  643. // " html {background-color:#171616!important;}"
  644. ].join("\n");
  645. if (false || (document.domain == "filmix.net" || document.domain.substring(document.domain.indexOf(".filmix.net") + 1) == "filmix.net"))
  646. css += " body{padding: 0px 0 0 0!important;}";
  647. if (false || (document.domain == "formulakino.ru" || document.domain.substring(document.domain.indexOf(".formulakino.ru") + 1) == "formulakino.ru"))
  648. css += [
  649. " div.backF>a>span{background-image:none !important; background:#fff !important;}",
  650. " div.vjs-poster{background:url()!important;}",
  651. " div.pagecontent{margin-top:0px!important;}",
  652. " div#wrapper{background:#fff!important;}"
  653. ].join("\n");
  654. if (false || (document.domain == "google.ru" || document.domain.substring(document.domain.indexOf(".google.ru") + 1) == "google.ru"))
  655. css += [
  656. " 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;}",
  657. " body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child:hover {opacity:1;}",
  658. " body[class=\"cP\"] tr td.Bu:last-child div.nH {width: 0px!important;}",
  659. // ! расширяем выдачу в поиске
  660. " .center_col,#center_col {width:1000px!important; margin-left:10px !important; margin-right:10px !important;} .s {max-width:100% !important;}"
  661. ].join("\n");
  662. if (false || (document.domain == "ifmo.ru" || document.domain.substring(document.domain.indexOf(".ifmo.ru") + 1) == "ifmo.ru"))
  663. css += [
  664. " header.h-header, .b-header-pad{height: 100px !important;}"
  665. ].join("\n");
  666. if (false || (document.domain == "igromania.ru" || document.domain.substring(document.domain.indexOf(".igromania.ru") + 1) == "igromania.ru"))
  667. css += [
  668. // !! " *{background-image: none !important;}",
  669. " div.out_out, element.style {background-image: url() !important;}"
  670. ].join("\n");
  671. if (false || (document.domain == "inosmi.ru" || document.domain.substring(document.domain.indexOf(".inosmi.ru") + 1) == "inosmi.ru"))
  672. css += [
  673. " body{background-image:none !important;}",
  674. " body{background:url()!important;}",
  675. // !! поаккуратнее
  676. " .header{padding-top:0px!important;}",
  677. " #addbwr{margin-top:0px!important;}",
  678. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след. строками )
  679. " .mainbox{width:95%!important;}",
  680. " .section{width:100%!important;}",
  681. " .floatleft{width:80%!important;}",
  682. " .floatleft.box3row{width:50%!important;}",
  683. " .floatleft.box3row3{width:50%!important;}",
  684. " .bodypage{width:100%!important; }",
  685. " .floatright{width:10%!important;}",
  686. " .article{width:100%!important; }",
  687. " .announce{width:80%!important; }"
  688. ].join("\n");
  689. if (false || (document.domain == "keeplinks.eu" || document.domain.substring(document.domain.indexOf(".keeplinks.eu") + 1) == "keeplinks.eu"))
  690. css += " div#header{background: none !important;}";
  691. if (false || (document.domain == "letitfilms.com" || document.domain.substring(document.domain.indexOf(".letitfilms.com") + 1) == "letitfilms.com"))
  692. css += [
  693. " body{background: url() !important; background-color: black !important;}",
  694. " div#container{width: inherit !important; margin: 0 !important;}",
  695. " div#container>div#main>*{padding: 0 !important;}",
  696. " div#container>div#main>aside{width: 20% !important;}",
  697. " div#container>div#main>div#content{width: 79% !important;}"
  698. ].join("\n");
  699. if (false || (document.domain == "livesport.ws" || document.domain.substring(document.domain.indexOf(".livesport.ws") + 1) == "livesport.ws"))
  700. css += [
  701. // !! убираем фон и баннер
  702. " body {background:none!important;color:#333!important;}",
  703. " body{background:url()!important;background-color:#000002!important;}",
  704. " body,.top-panel-wrap.fixed {background-image:url() !important;}",
  705. " body{background-image:none !important;}",
  706. " div[id=\"flash\"]{height: 0px !important;}"
  707. ].join("\n");
  708. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  709. css += [
  710. // " body{background:#c0c0c0 !important;}",
  711. " .main_logo_link {margin-top:5px!important;background-color:transparent!important}",
  712. " .logo {margin-top:0!important;background-repeat:no-repeat;background-position:0 17px;background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAAmCAMAAAD0i1fJAAAB8lBMVEVMaXH/////////AAD/////////////AAD/////////////////////////////////////////////AAD/////////////////////////////////////////////////////////////////////////Cgr/////////jY3/////////////////AAD/////////AAD/////////cHD/////////AQH/////////////AAD/////////////////////////////////UFD/////bm7/////////////AAD/////AAD/////////////////////////////////////Bwf/////////////////////ZWX/////////FRX/////////////////RET/W1v/Zmb/////UVH/////LCz/////////////////Nzf/////Wlr/AAD/////////////////Li7/Ghr/////////////////////////AQH/AQH/AAD/AwP/CQn/AwP/////BQX/DQ3/////Cwv/Y2P/Fhb/Hh7/AAD/Nzf/IiL/VFT/CQn/JSX/FBT/////Jib/W1v/UFD/PT3/PDz/bW3/X1//amr/W1v/RET/UFD/a2v/bGz/ZWX/WVn/cXH///+wSnEyAAAApXRSTlMA1b3o5bDY6uSzrgS2yNPLwrvctLjK4NvGvvnR7M8C/c2oxLVQpev7wAEOpCT27dnt4rkFPOZJ9fEaQO8IHt4X6vhy7+oS8S+R86cHOjNtqyIMZa09mxf1N7KWauk6EOzrW3af7Orsf56h7G9gFEPrJet6hIhMjAYOKCzoVaNG1pApRmPHtKET4jMqCutTg6a7IOWZer5tm1Wj6p6t9tXSSzTCNx/HQ9oUAAAKzUlEQVR4XrSUjU/bVhDAz5VnRTRzisUcCPlqqQSJiGyFeSJR4oa6jEQVFCpYGFuooV27riulAmipUSVtYsvY1Hb97tbum/9zd7fIOMRBmpT8BNy7e/fuvZ8sAbfPErs70Enmeeg0tFIoTuU/OttMYWyLI8A5jlvQPdYSiQNkFTrJAM5MHCy01HMLSjWCF3pJDM9OWgmKAA/xVCJhQPfIDxMHt6CTZCM0cwmaKS4kUKqFTHHZpv4K6nJB7aZuhOi4LpIoQxMPI8MRP6rFZYfiOMAad3RTd35iIhKZ6LBuXwaHDjfrrkQm+KojZDIV1M3ggnRxOzKhdFM3Q1cdzEAnCeLQTLPug0yVb0LGbUN0MQJGcdmgsoW6vN9V3Qo+o9ph3SEcWo006WardE+1mojdyhcnm4jP9QwFg0NDqIsdmWq4m7rjFSTRWd09Gprx6j44qDDqChzDWpV6tG7qWuNI5DPoJJ/S0Mq2p3K6QtdYgRwcR75iYZPUTV1dtyw9c6xuam5yMn3yfwztsXRLr2yCSyGpY0WPbsHxupaOyNA9alEdaa8b35kZkehfi3lqY/oieEgvXi5v3+z1kB15kCoP9Pb2KTqq6XKQav1TALBsRqkkpcGPub1stjfbh7o6tkVRdwYLvlzaLpfP53cKwMD+h/7swxHucfkfqDmObZcq7XS3BhwrWmLwJclVcNmULIsUvFi11F4Un1wq2Tb+8m5mHgByXNGXwJdlxY5GbQN1badUcgYBNmwb57jojLuySqHGe99+7M8v96CZP7j6J9QMw3EM6zL4MXlp3GjCCq0DUxjQjRbE0mLqEq8conGkRrqOgal+vo2uRI0m6vKZJMAN0TgefTMFyK/XP/fl+kto5i0V/wKo1QOiGNB9dYtJsR4g6vTDiOYaEJsGp1j3YiymTnOnSPy3rbOuSLfYu210BWpVAOZxqhgIoS7NaMznawk3o4WzzbpfMHeP/r37pPnz7r/D4ru/UVetI7af7u1QnRHroWBfDANjrtPzVZX1uOaiGrVUjyflv1HW5aXTTlem3TDqBmjxAerW2yKKHFSF3vHyy/+4gPz+ipevnlwg9sHLKyo9wcWiaaqq6fjopq6ajLq0PhePL+9cVTlVggCwavByMz876mW9ALn10dHZ92hmvcybOwXSValirMBYKychPWgiEuriFarZj7oUld3G9KkzKhLYxnR2arcHe6lvlR9JwP1ryBtMiB+vEY/Aw/3fqPSadBVFMRXxa2hhylSI8Dw0eChx7qxAfI/26EJ/rlKjegNcciZfI/kh5NIx6hdQl688A/CcojYNDFw8QYfrzxvpWZ6lnACXT+4gb6DBozvEfTjktVtZ1LRwWKv76PYoWljTlClwyUvUK42cLMQ0JDALbbiJQzXFqxvWwojmB+qGKMqoyx2nUJeiVAMGCr00zyRdZoNSreTR/Qp5DA2+f0rpt3DICyrw914UBEkSzFbddZM2pLKnFD8tUW2wWEhS1M61/bo0VPPq4kFCaPm0OC6Xfp/qMYCaJGBhBGCV5suubh91hl3dNX5zJX6o+xPi6sJjSl+k3PyHK5g/5c89LcuCICutursCbWh58LAWFrAmb8WzFJR5aMMCDZW8ujgMkVvAUiyX7scoJFFXoMoA6tLGoKsbFDDXXN3RGLWNe3SvIN+56TdXiJ+hQeoZpc+AdQcJbQWOssEb8hh4icWouAGbEsXsbDtdapOfe3RlPigLPsi59BncjYVQV6auXtSlmHR19ygVVl3dJOX6oe6/fZiBS9tYHMff6vVKY7smZ3skSKVp7JHa0WMRLNPKoDAmc9c4u461MrleARF1yHQ6d+vUzcwbY8DB/uD9vi9p8tI2/cLIe9/f7/uSz17yCr74g/SE+brB/Go4+3ZJs9pXF7dQyOcLd7bHHxmFfCts6vDy++z5HT6YtyrddrLT6Tj9jR+9CyGLooibx13m9z6ujOntSn1JRjVNXxZvsxhr4Jp5OcRN5ml618fdyqH8t4BbnUlUBdzvNE+svRvO1hKJ6g1zcTOZQiFztzGGW6JCprARNrswMzZxZ8ZEzbNiW/4fAbeAu8wvsola0hBXCbeAYIpwYaR93Djs+YaPq6L8r4ALIOD6+5kgwzusypdVmnxyJ4/T6VwuPd9koxpQIV3YCZsNNKd1fPJpBH2loUJl2cNFNiPgPswhmH8bgasgLRNuDkEH9yGpPq6Uw7MEuEWUf4nGZVcJ0pw7flqj8c25O1lXVVoYjzaifSqouR9hcw+mWsGpJefUMaW9I2CDZ0XcNHKFKFwLYZNw0xh0GDvAtfjXENfGepkDH1dG+b8puP8DsfbCR197M3zNZLlYLKpnyIbU5v5G2NwoQvucoGfT8cKVz2dyvCD3vTaebQi4KpzcSgRulqqyRu9MEYoz1sTV9HF1TNMBron571Nw2RMwcud8Bi/28Ds+skxTlk17k43olHxTToZNCb3yqTfb3Hq1Qvp4fLy6uCGbJO3IxUW2KOLKCKoRuM8MZBXClRFsES4MzcctyWSrTR83hrbfpuF+TZBmbmn0GRvtn9J13dRoZeuIjWhHg4oPRO+RqpmaZu6wcS23TbQfM+iMmjT5QMDlNylG4SY1kkW4JoK2d3MlwIVdDHAVlP+chnt+Cd7vNLhP1/vXwi7GSObY0bxqKjFNMQ9FrynHYkrMumATdCgrSsw7TM+oSzGbAq6mUFL+GIEbj1E2RbgaBWM64ZKhWD7uQKNHkXd83GyMVvt1Gi42lR9WT4F9U/b9RQ1/ObHMRaQFPUop8O16YB3FLW49YxP0wbQsS75g0An6YicCLl/LjMKVLJJBuAoGwMU16+P2Edd83PUUynem4jLsau2aXeHyKbDrUjaLta3uaviFPtDIz8bOfN6ltsWdJpukMytLC7nvfoMvqS8HuDypReHaWZJDuBaCJca2sVgqwKV4NhbgOpjfnY77BifUl2/8V0j0eylPsU5376Dh6cdm3eZutn/Md/PZS91ta9Ft6rtLIe0+PLRQ65fdJQ2e3Fs/otIscHlSicRFNU64WQwGhIur4+O2eXrbx43T1MhPx72uEujlFXA/i/5m33AcB/8cwxiiG8YOW1Qc19T7eyd9m1og/n/elPSw4ine6m388xRf0Ei2dF16z3FpGcd6HYGrIywRLs/tEy7u1QlwDbItARdtBcL9+ol0PhGXzZHJtXYb8utdo5PsdJJhKausmRqaKSPpDjupHiIHqbF+Xtzyjuk4TbyABdwjh0bJbCQuOluEy9v6hAsj/tjH5ekAV8LyGcKdq9VqM7eTca9rLm3tioW1eWLEJ2i1fKiMespzxnEnBowe8/Q+qGc5bgfDVBRuCVWbscc80SZcXCUft8tXD3BbmKcJ90tiZuby3WRcNufiVl+wUb06sS0nLoXV6bGLk1QyMAyp8ZBxNTvSmJy48KP1mpq9EMd1F1yNwN1vSVJLJ1x0tQj3EIYd4PL0oY+rU1lSBdxqYmYc97P7Nn9hE7T7avu0WxK03++XThfYveZAt7lK7Q+AdXH1SqUkqlLpbj9ggpZ63QH3bY5L/TSM2t02qiXCLWEA3Ark4/K6HuzugKYDhXCfEGfk7t7eTwS/QuMqL8wKWiAtl/EhPlrf2tq692BX+GFGp6ClzYVZoRruKWMSDKHJrfQEbtvQKIfq/h28tmV8n09JZXaOyzUbFaooB/oJNupKs/CUb4kAAAAASUVORK5CYII=)}",
  713. " body,.logo>.up {background:none!important;background-color:#1c1e1f!important}",
  714. " div>div>a>div[style\*=\"height\"] {display:none!important;}",
  715. // " .prof,.user_menu_link,.wh {color:white!important;}",
  716. " .prof,.user_menu_link,.wh,.logo>.up {color:white!important}",
  717. " .prof,.logo {height:80px!important}",
  718. " .logo>a {text-decoration:underline!important}",
  719. " body{background:none!important;}",
  720. " body{background-image:none !important;}",
  721. " body{background:gray!important;}",
  722. " div[class=\"mid\"]{background:LightGrey!important;}",
  723. // !! ==== и меняем на читаемый цвет
  724. " div[class=\"user_avatar\"]{color:black !important;}",
  725. " span[class=\"wh\"]{color:black !important;}",
  726. " a[href*=\"\/my.php\"]{color:black !important;}",
  727. " a[href*=\"\/messages.php\"]{color:black !important;}",
  728. " a[href*=\"bogi.ru\/logout.php\"]{color:black !important;}",
  729. // !! расширяем полезную площадь
  730. " body>div#MainDiv>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
  731. " div[style^=\"width:497px;\"]{width:58% !important;}",
  732. " body>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
  733. " div[style^=\"width:498px;\"]{width:58% !important;}",
  734. " div[style*=\"background:#FFFFFF;display:block;padding:10px;float:left;overflow-x:hidden;width:350px;\"]{width:100% !important;}"
  735. ].join("\n");
  736. if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
  737. css += [
  738. " body,.forecast-rb-bg,.b-bg{background-image: none!important;}",
  739. " .SearchForm,.form,.txt1,.txt2,.txt3,.people1,.people2,.people3,.GRcorrect, .GRSpellingCorrect, .GRspelling {background: url('')!important;}"
  740. ].join("\n");
  741. if (false || (document.domain == "ncrypt.in" || document.domain.substring(document.domain.indexOf(".ncrypt.in") + 1) == "ncrypt.in"))
  742. css += [
  743. " body{background: none !important;}",
  744. " div#wrapper{margin: 0 0 0 0 !important;}"
  745. ].join("\n");
  746. 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"))
  747. css += [
  748. // !! "div {background-image:none !important;}",
  749. // !! "div {background:url()!important;}",
  750. // !! "div[class^=\"prl_slide_\"] {background:url()!important;}"
  751. "div[class=\"anonym_login\"]{width: 100% !important;}"
  752. ].join("\n");
  753. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  754. css += [
  755. " #main{background:none!important;background:#FFF!important;}",
  756. " div[id=\"main\"]>div[id=\"adw\"]{height:0px!important;}",
  757. " div[id=\"main\"]>div[class=\"box1\"]{height:0px!important;}",
  758. " div[id=\"main\"]>div:nth-of-type(1){height:0px!important;}",
  759. " #mainplace>table>tbody>tr:first-child,.needblock {display:none!important;}",
  760. " #wrapper {width:100%!important;}",
  761. " #main {padding-top:0!important;}"
  762. ].join("\n");
  763. if (false || (document.domain == "playground.ru" || document.domain.substring(document.domain.indexOf(".playground.ru") + 1) == "playground.ru"))
  764. css += "#foundationWrapper {background:#373737!important}";
  765. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  766. css += [
  767. " div.paral>a>div{background:url()!important;}",
  768. " div.paral>a>div{height:64px!important;}",
  769. " table#header_t {margin-top: 0px !important;}",
  770. " \\!! расширяем полезную площадь",
  771. " .b-story__content, .b-story__content_type_text {margin-left:5px !important; width: 800px !important; max-width: 800px !important;}"
  772. ].join("\n");
  773. if (false || (document.domain == "piter.tv" || document.domain.substring(document.domain.indexOf(".piter.tv") + 1) == "piter.tv"))
  774. css += [
  775. " body{background-image:none !important;}"
  776. ].join("\n");
  777. if (false || (document.domain == "politikus.ru" || document.domain.substring(document.domain.indexOf(".politikus.ru") + 1) == "politikus.ru"))
  778. css += [
  779. " body{background-image:none !important;}",
  780. " body{background:url()!important;}",
  781. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след.четырьмя строками )
  782. // " #main_content_holder{width:100%!important; }",
  783. // " #left{width:80%!important; }",
  784. // " .holder, div.block, .content, #dle-content{width:100% !important; }",
  785. // " .fullstory{width:95% !important; }"
  786. // !! доработанный вариант от Buba5473
  787. " div#header{width: inherit !important; margin: 0 !important;}",
  788. " div#header>div.holder{width: inherit !important; margin: 0 !important;}",
  789. " div#main_content_holder{width: inherit !important; margin: 0 !important;}",
  790. " div#main_content_holder>div#maintpl>div.holder{width: inherit !important; margin: 0 !important;}",
  791. " div#main_footer_holder{width: inherit !important; margin: 0 !important;}",
  792. " div#main_footer_holder>div.holder{width: inherit !important; margin: 0 !important;}",
  793. " div#main_content{margin: 0 !important;}",
  794. " div#right{margin: 0 !important; float: none !important; width: inherit !important;}",
  795. " div#left{width: 80% !important;}"
  796. ].join("\n");
  797. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  798. css += [
  799. "div.paral>a>div{background:url()!important;}",
  800. " div.paral>a>div{height:64px!important;}",
  801. " table#header_t {margin-top: 0px !important;}"
  802. ].join("\n");
  803. if (false || (document.domain == "pleer.com" || document.domain.substring(document.domain.indexOf(".pleer.com") + 1) == "pleer.com"))
  804. css += [
  805. " div#main.clearfix>div#container>div#content{margin: 0 !important;}",
  806. " 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;}",
  807. " 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;}"
  808. ].join("\n");
  809. 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"))
  810. css += [
  811. " .brand_bg{background-image:none !important;}",
  812. " .base-page_wrapper {width:auto!important; padding:0!important}",
  813. " .content{padding-top:0px !important;}"
  814. ].join("\n");
  815. 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"))
  816. css += [
  817. // !! из старого, режет почту ".b-left-column .b-left-column__wrapper{margin:0 !important;}",
  818. " div[class=\"appWindow\"]{right:0px!important;}",
  819. // !! --- чистим фон
  820. " body, html {background-image:url(\' \')!important; background: #f7f7f7 !important; }",
  821. " div.b-header, element.style, .topcover{background-image:url(\' \')!important; background: #bdbdbd !important; }",
  822. " header.header{background-image:url(\' \')!important; background: #bdbdbd !important; }",
  823. " .region-back, .main-page__background-wrap {background: none !important; background-image:url(\' \')!important; background:url(\' \')!important;}",
  824. " .sl, .sl_holder, .width.p16.tnav, .promo_def{background-image:url(\' \')!important; background: #bdbdbd !important; }",
  825. // !?##.b-informers__link{color:#030303 !important; }
  826. // !! --- расширяем полезную площадь страницы
  827. " .footer__wrap, .grid, .article, .nav__wrap, .j-metrics__views-out, .j-article__bounding, .j-statistics__cluster, .popup__wrap {width: 95% !important;}",
  828. " .grid, .article__inner.wide {margin-left: 50px !important;margin-right: 50px !important;}",
  829. " 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;}",
  830. " .l-columns, .l-column-15, .l-column-16-5, .b-topic-body {width: 100% !important;}",
  831. " .l-container, .b-topic-show__main, .mixednews__inner, .sizefix {width: 95% !important;}",
  832. " .article__inner.narrow {margin-right: 3% !important;}",
  833. " .action-panel, .content {margin-right: 3% !important; margin-left: 3% !important;}",
  834. " section.standalone-news section.main{padding: 0 !important;}",
  835. " .l-right-column-wrapper, .description-serial__container, .column, .card-full {padding-right: 0 !important;}",
  836. " table.r--main, .article-item, .b-root-layout__inner, .news-item-layout, .page-base, .card-full {max-width: 100% !important; width: 100% !important;}",
  837. " .appWindowWithBanner, .appSearchBar{right: 0px !important;}",
  838. " .appWindow {width: 100% !important;}",
  839. " .grid_18{width: 70% !important;}",
  840. " .container, .seasons-links, .l-content{margin-right: 20px !important; margin-left: 20px !important; width: 100% !important;}",
  841. " .tvguide-wrapper, .article-layout-wrapper {width: 95% !important;}",
  842. " .left-side, .left-column, .left-column.js-main-column, .main-content {width: 100% !important;}",
  843. " .seasons-links__slider-container._with-all-link{width: 85% !important;}",
  844. " .b-topic-show__content iframe, .b-topic-show__text img, .b-topic-show__image img {width: auto !important;}",
  845. " .preview {width: 70% !important; background: #fdfdfd !important;}",
  846. " .preview img, .preview>img {width: auto !important; hight: auto !important;}"
  847. ].join("\n");
  848. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  849. css += " .article__content {margin-right: 0px !important;}";
  850. if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
  851. css += [
  852. "#octo-set{background-image:none!important;padding-top:0!important;}",
  853. " #main-wrapper{width:auto!important;}",
  854. " body{background-image: none!important;} ",
  855. " body{background:none!important;}",
  856. " #main-wrapper{top:10px!important;}",
  857. // !! cкрыть заголовок
  858. " #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;}"
  859. ].join("\n");
  860. 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"))
  861. css += [
  862. "*{background:none!important;}",
  863. " *{background:url('')!important;}",
  864. " *{background:silver!important; color:black!important;}",
  865. " 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; }"
  866. ].join("\n");
  867. if (false || (document.domain == "rusnext.ru" || document.domain.substring(document.domain.indexOf(".rusnext.ru") + 1) == "rusnext.ru"))
  868. css += [
  869. // !! расширяем
  870. " .top-div{min-height: 30px !important;}",
  871. " .art-sheet, .art-nav-inner, div.region.region-navigation, ul.art-hmenu {width: 100% !important;}",
  872. " .art-nav {width: 96% !important; }",
  873. " .region-content, span.field-content{width: 95% !important;}",
  874. " .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;}",
  875. " 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;}",
  876. " .views-slideshow-pager-fields {margin: 0 auto !important;}",
  877. " #widget_pager_bottom_front_top-block img {margin-right: 0px !important; margin-left: 7px !important;}"
  878. ].join("\n");
  879. if (false || (document.domain == "ruspravda.info" || document.domain.substring(document.domain.indexOf(".ruspravda.info") + 1) == "ruspravda.info"))
  880. css += [
  881. "body{background:white!important;}",
  882. " table#header_t {margin-top: 0px !important;}"
  883. ].join("\n");
  884. if (false || (document.domain == "rustorka.com" || document.domain.substring(document.domain.indexOf(".rustorka.com") + 1) == "rustorka.com"))
  885. css += " .topmenu{margin-top:25px !important;}";
  886. 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"))
  887. css += [
  888. // !! оформление от zuefhrf
  889. " div#brTop {background-image: url(\" \") !important;}",
  890. " div#ws div#sidebar{top: 0px !important;}",
  891. " div#ws div#sidebar{right: 8px !important;}",
  892. " div#ws div#sidebar div.sideblock{margin-top: 0px !important;}",
  893. " div#ws div#content{right: 6px !important;}",
  894. " h3{text-align: left !important;}"
  895. ].join("\n");
  896. 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"))
  897. css += [
  898. " .branding #page_container {background-image: url(\" \") !important;}",
  899. " .nav {background: url(\" \") !important;}",
  900. " body.branding{-webkit-transform: scaleX(1) !important;}"
  901. ].join("\n");
  902. if (false || (document.domain == "safety-gate.me" || document.domain.substring(document.domain.indexOf(".safety-gate.me") + 1) == "safety-gate.me"))
  903. css += [
  904. // ! !! --- широко
  905. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  906. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
  907. " article,.header,.header-main{width:100%!important;}",
  908. " .xbBoxed,.pageContent{max-width:100%!important;}",
  909. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  910. ].join("\n");
  911. if (false || (document.domain == "samlab.ws" || document.domain.substring(document.domain.indexOf(".samlab.ws") + 1) == "samlab.ws"))
  912. css += [
  913. "div.box.main {width: auto; !important;}",
  914. " div#right {width: 2px; !important;}"
  915. ].join("\n");
  916. if (false || (document.domain == "samlib.ru" || document.domain.substring(document.domain.indexOf(".samlib.ru") + 1) == "samlib.ru"))
  917. css += [
  918. "body {font-family: sans-serif !important;line-height: 140% !important;color: #B2B2B2 !important;background: #3A3E46 !important;}",
  919. " font {color: #B2B2B2 !important;}",
  920. " table, td, td font {color: #BEBEBE !important;background-color: #555C66 !important;}",
  921. " a:link {color: #9DD7FF !important;}",
  922. " a:visited {color: #EAB6FF !important;}",
  923. " a:hover {color: #F0B2B2 !important;}",
  924. " dl {margin-top: 1em !important;}"
  925. ].join("\n");
  926. if (false || (document.domain == "securitylab.ru" || document.domain.substring(document.domain.indexOf(".securitylab.ru") + 1) == "securitylab.ru"))
  927. css += [
  928. " #content #left{margin-left: 0px!important;max-width: 1000px!important;}",
  929. // !! логотип
  930. " div#header{height:00px!important;background-color:white!important;} div#MAIN_MENU{top:0px!important;}"
  931. ].join("\n");
  932. if (false || (document.domain == "sportbox.ru" || document.domain.substring(document.domain.indexOf(".sportbox.ru") + 1) == "sportbox.ru"))
  933. css += [
  934. " body{background:none!important;padding-top: 0px!important;}",
  935. " .sb_c_topmed_olymp, .gold, .silver, .bronze {background:none!important;}"
  936. ].join("\n");
  937. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  938. css += [
  939. " body.img-bg,#branding-layout {background:gray!important;}",
  940. " body.img-bg,#branding-layout {padding-top:0!important;}",
  941. " .kaspersky, .overall {background:none!important;}",
  942. " .kaspersky, .pageLayout {top: 0px!important;}"
  943. ].join("\n");
  944. if (false || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me"))
  945. css += [
  946. " body{background:url()!important;}",
  947. " body{background-image: none !important;}",
  948. " div#brTop{background-image:url(\'\') !important;}",
  949. " element.style{background:url()!important;}",
  950. " element.style, #skin_crown{background-image:url()!important;}",
  951. " body{background:#D4D4D4 !important;}",
  952. " body{padding:0 !important;}",
  953. " table#home_c{width: inherit !important;}",
  954. " [id^=\"top_\"]{width: inherit !important;}",
  955. " body{padding-top:0px !important;}",
  956. // !! расширяем
  957. " #table_reduser, #head, #foot_links{width:98% !important;}",
  958. " #top_tools {padding-left:0!important}"
  959. ].join("\n");
  960. if (false || (document.domain == "torrent-tv.ru" || document.domain.substring(document.domain.indexOf(".torrent-tv.ru") + 1) == "torrent-tv.ru"))
  961. css += [
  962. " body {background-image:none!important;padding-top: 0px!important;}",
  963. " div#main-wrapper {top:auto!important;}",
  964. " div.news-text {width:auto!important;}",
  965. " div[class^=\"usual-header\"] {width:126%!important;}",
  966. " div[class=\"usual\"] {width:132%!important;}",
  967. " div[class^=\"usual-content\"] {width:99%!important;}"
  968. // !!
  969. // !! " body>div:nth-of-type(1) {background:url()!important;}",
  970. // !! " body {background:gray!important;}",
  971. ].join("\n");
  972. if (false || (document.domain == "turbobit.net" || document.domain.substring(document.domain.indexOf(".turbobit.net") + 1) == "turbobit.net"))
  973. css += " html {background:none!important;}";
  974. if (false || (document.domain == "velolive.com" || document.domain.substring(document.domain.indexOf(".velolive.com") + 1) == "velolive.com"))
  975. css += " body {background:url() !important;}";
  976. if (false || (document.domain == "vesti.ru" || document.domain.substring(document.domain.indexOf(".vesti.ru") + 1) == "vesti.ru"))
  977. css += [
  978. " .bottom_bg {background: none !important;}",
  979. " body, .head, .all_wrap {background: url(\" \") !important;}"
  980. ].join("\n");
  981. if (false || (document.domain == "vipfiles.nu" || document.domain.substring(document.domain.indexOf(".vipfiles.nu") + 1) == "vipfiles.nu"))
  982. css += [
  983. " div.loginformbox{background: none !important;}",
  984. " div.tophhhhheader{background: none !important; padding: 0 !important; height: 75px !important;}",
  985. " div.tophhhhheader>div.item1{height: 10px !important;}",
  986. " div.tophhhhheader>div.item2{float: left !important; width: 500px !important;}",
  987. " div.wrapper{margin: 0 !important; width: inherit !important;}",
  988. " div.wrapwide.topheadwide{background: none !important;}"
  989. ].join("\n");
  990. if (false || (document.domain == "dns-shop.ru" || document.domain.substring(document.domain.indexOf(".dns-shop.ru") + 1) == "dns-shop.ru"))
  991. css += " div.wrapper{width: auto !important;}";
  992. if (false || (document.domain == "yaplakal.com" || document.domain.substring(document.domain.indexOf(".yaplakal.com") + 1) == "yaplakal.com"))
  993. css += [
  994. " body{background:none !important;}",
  995. " #footer{background:url()!important;}",
  996. " #footer{background-image:none !important;}",
  997. " #footer,#top-line {background:none!important;padding:0!important;}",
  998. " #header,#footer {background-color:skyblue!important;}",
  999. " #content{max-width:none !important;}"
  1000. ].join("\n");
  1001. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  1002. css += [
  1003. " div[class=\"body-branding\"]{background:grey!important; padding-top: 0px!important; padding: 5px!important;}",
  1004. " div[class=\"body-gaps\"]{max-width:100%!important;}"
  1005. ].join("\n");
  1006. if (false || (document.domain == "zalil.su" || document.domain.substring(document.domain.indexOf(".zalil.su") + 1) == "zalil.su"))
  1007. css += [
  1008. " body{background:none !important;}",
  1009. " body{background-color:gray !important;}",
  1010. " body{background-image:none !important;}"
  1011. ].join("\n");
  1012. if (false || (document.domain == "taker.im" || document.domain.substring(document.domain.indexOf(".taker.im") + 1) == "taker.im"))
  1013. css += [
  1014. // !! скрываем рекламные ссылки (СПАМ) в тексте
  1015. " a[href^=\"/phpBB2/goto/http://www.ebay.com/sch/\"][rel=\"nofollow\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  1016. ].join("\n");
  1017. if (typeof GM_addStyle != "undefined") {
  1018. GM_addStyle(css);
  1019. } else if (typeof PRO_addStyle != "undefined") {
  1020. PRO_addStyle(css);
  1021. } else if (typeof addStyle != "undefined") {
  1022. addStyle(css);
  1023. } else {
  1024. var node = document.createElement("style");
  1025. node.type = "text/css";
  1026. node.appendChild(document.createTextNode(css));
  1027. var heads = document.getElementsByTagName("head");
  1028. if (heads.length > 0) {
  1029. heads[0].appendChild(node);
  1030. } else {
  1031. // no head yet, stick it whereever
  1032. document.documentElement.appendChild(node);
  1033. }
  1034. }
  1035. }());
  1036.  
  1037. // позаимствовано у lainverse (https://greasyfork.org/ru/scripts/809-no-yandex-ads)
  1038. // Удаляет рекламу из поиска Яндекс
  1039. (function(){
  1040. 'use strict';
  1041. // var lct = location.href;
  1042. // if(lct.match(/^https?://(news\.yandex\.|(www\.)?yandex\.[^/]+/(yand)?search[/?])/)) {
  1043. // Generic ads removal and fixes
  1044. (function(s){
  1045. if (s) s.style.marginTop='0';
  1046. })(document.querySelector('.serp-header'));
  1047. (function(s){
  1048. while(s = document.querySelector('.serp-adv__head+.serp-item'))
  1049. s.parentNode.removeChild(s);
  1050. })();
  1051. (function(s){
  1052. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  1053. })(document.querySelectorAll(['#adbanner',
  1054. '.serp-adv',
  1055. '.b-spec-adv',
  1056. 'div[class*="serp-adv__"]',
  1057. '.footer_distro_yes'].join(',')));
  1058.  
  1059. // Search ads
  1060. function removeAds() {
  1061. var s = document.querySelectorAll(['.serp-block',
  1062. '.serp-item',
  1063. '.search-item'].join(','));
  1064. for (var l = 0; l < s.length; l++) {
  1065. var i = s[l].querySelector(['.label',
  1066. '.serp-item__label',
  1067. '.document__provider-name'].join(','));
  1068. if (!i) continue;
  1069. if (i.textContent.indexOf('Реклама') > -1 || i.textContent.indexOf('Яндекс.Директ') > -1){
  1070. s[l].parentNode.removeChild(s[l]);
  1071. console.log('Ads removed.');
  1072. }
  1073. }
  1074. }
  1075.  
  1076. // News ads
  1077. function removeNewsAds() {
  1078. var s = document.querySelectorAll(['.story[id]',
  1079. '.document[id]',
  1080. '.story__group[id]'].join(','));
  1081. for (var l = 0; l < s.length; l++)
  1082. if (window.getComputedStyle(s[l]).position === 'absolute') {
  1083. s[l].parentNode.removeChild(s[l]);
  1084. console.log('Ads removed.');
  1085. }
  1086. }
  1087. // News fixes
  1088. function removePageAdsClass() {
  1089. if (document.body.classList.contains("b-page_ads_yes")){
  1090. document.body.classList.remove("b-page_ads_yes");
  1091. console.log('Page ads class removed.');
  1092. }
  1093. }
  1094.  
  1095.  
  1096. // Attaches observer to the page elements which Yandex updates via AJAX to display new search or news results
  1097. function pageUpdateObserver(func, obj, params) {
  1098. if (obj)
  1099. new MutationObserver(func).observe(obj,(params?params:{childList:true}));
  1100. }
  1101.  
  1102. if (window.location.hostname.search(/^news\./i) === 0) {
  1103. pageUpdateObserver(removeNewsAds, document.querySelector('BODY'));
  1104. pageUpdateObserver(removePageAdsClass, document.body, {attributes:true, attributesFilter:['class']});
  1105. removeNewsAds();
  1106. removePageAdsClass();
  1107. } else {
  1108. pageUpdateObserver(removeAds, document.querySelector('.main__content'));
  1109. removeAds();
  1110. }
  1111. // }
  1112. })();
  1113. // Удаляет рекламу из вконтакта
  1114. (function(){
  1115. var lct = location.href;
  1116. if(lct.match(/^https?:\/\/(.*\.)?(vkontakte\.ru|vk\.com)\/.*/)) {
  1117. // Generic ads removal
  1118. (function(s){
  1119. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  1120. })(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'));
  1121. }
  1122. }());
  1123. }());