RU Max4_ABP_Fix CSS

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

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

  1. // ==UserScript==
  2. // @name RU Max4_ABP_Fix CSS
  3. // @namespace https://greasyfork.org
  4. // @description Дополнение, исправляющее работу Adblock Plus для отдельных сайтов. Возвращаем функционал Ad-Охотника в Maxthon4. Спасибо lainverse за идею.
  5. // @author lainverse & ALeXkRU
  6. // @license CC BY-SA
  7. // @homepage https://greasyfork.org/ru/scripts/8225-ru-max4-abp-fix-css
  8. // @run-at document-end
  9. // @include *
  10. // @version 0.20160217070025
  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 == "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 == "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 == "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 == "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 == "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 == "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"))
  38. css += [
  39. " #main {background-image:none!important;}",
  40. " *{background-image:url(\"\")!important;}",
  41. // !! " #header + #ruBlbZq {background-image:url()!important;}",
  42. // !! " #header + * {background-image:url()!important;}",
  43. " #header + #ruBlbZq {background-image: url(\"\") !important;}",
  44. " #main {padding: 0 !important;}",
  45. " .brand-page {display: none!important;}",
  46. " .brand-page {height:0!important;}",
  47. " body,#main,#rnd-replace-main {background: #E6E7E9!important}",
  48. " div#main>div.holder.no-hidden{padding:0 !important;}",
  49. " div#main>div.holder.no-hidden{width: inherit !important;}",
  50. " html>body>div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div {background-image: url(\"\")!important;}",
  51. " article#content{width: 920px !important;}",
  52. // ! " #header~div:not(#contacts):not(#body) {background-image:none!important;background-color:#E6E7E9!important}",
  53. // ! " link~div[class$=\" \"] {display:none!important}",
  54. " div#main>div.holder.no-hidden{padding: 0 !important;}",
  55. " div#main>div.holder.no-hidden{width: inherit !important;}",
  56. " iv#main>div.holder.no-hidden>a{display: none!important;}",
  57. " div#main>div.holder.no-hidden>div.brand-page-counters{display: none!important;}",
  58. " div#ipbwrapper>div.borderwrap-header{display: none!important;}",
  59. " div.borderwrap-header>table{display: none!important;}",
  60. " div#dw-wrapper{display: none!important;}",
  61. " a.brand-page.main{display: none!important;}",
  62. " main{background-image: none !important;}",
  63. " div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div>div:nth-of-type(4){display: none!important;}",
  64. " div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div>div:nth-of-type(3){display: none!important;}"
  65. ].join("\n");
  66. if (false || (document.domain == "adultmult.tv" || document.domain.substring(document.domain.indexOf(".adultmult.tv") + 1) == "adultmult.tv"))
  67. css += ".adsbygoogle,#aswift_0_expand {display:none!important;}";
  68. if (false || (document.domain == "afisha.ru" || document.domain.substring(document.domain.indexOf(".afisha.ru") + 1) == "afisha.ru"))
  69. css += [
  70. ".page_block_content {width:100%!important;}",
  71. " .page_block_adv {background:none!important;}"
  72. ].join("\n");
  73. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  74. css += " #new_logo_helper01 {top:0!important;}";
  75. if (false || (document.domain == "aif.ru" || document.domain.substring(document.domain.indexOf(".aif.ru") + 1) == "aif.ru"))
  76. css += "#container {margin-top:0!important}";
  77. if (false || (document.domain == "all-episodes.com" || document.domain.substring(document.domain.indexOf(".all-episodes.com") + 1) == "all-episodes.com"))
  78. css += " .wrapper {top:0!important;}";
  79. if (false || (document.domain == "allhockey.ru" || document.domain.substring(document.domain.indexOf(".allhockey.ru") + 1) == "allhockey.ru"))
  80. css += ".adr-top { height:0!important;min-height:0!important}";
  81. if (false || (document.domain == "aliexpress.com" || document.domain.substring(document.domain.indexOf(".aliexpress.com") + 1) == "aliexpress.com"))
  82. css += [
  83. " div.categories-main{ display: inline-block !important; width:auto !important; } dl.cl-item{display: inline-block !important;}",
  84. " div.index-page>div.user-helper-footer{position: relative !important; top: 120px !important; padding: 0 !important;}",
  85. " div.index-page>div.site-footer{position: relative !important; top: 120px !important; margin: 0 !important; padding: 0 !important;}",
  86. " div.index-page>div.footer-copywrite{position: relative !important; top: 120px !important;}",
  87. " div.index-page{height: inherit !important;}"
  88. ].join("\n");
  89. if (false || (document.domain == "animevost.org" || document.domain.substring(document.domain.indexOf(".animevost.org") + 1) == "animevost.org"))
  90. css += [
  91. "div[class^=\"headbg\"] {background-image:none!important;height:auto!important;}",
  92. " div[class^=\"headbg\"] > .menu {top:0px!important;}",
  93. " div[class^=\"headbg\"] > .menu .sar {bottom:auto!important;top:50px!important;z-index:100!important;}"
  94. ].join("\n");
  95. if (false || (document.domain == "anistar.ru" || document.domain.substring(document.domain.indexOf(".anistar.ru") + 1) == "anistar.ru"))
  96. css += [
  97. "body > .clear + div:not(.main),.news-fixed {display:none!important;}",
  98. " .wrapper.width1200 {margin-top:0}",
  99. " .drowmenu {z-index:1001}"
  100. ].join("\n");
  101. if (false || (document.domain == "anti-malware.ru" || document.domain.substring(document.domain.indexOf(".anti-malware.ru") + 1) == "anti-malware.ru"))
  102. css += "#header-bg-enf {margin-top:0!important;}";
  103. if (false || (document.domain == "bestpersons.ru" || document.domain.substring(document.domain.indexOf(".bestpersons.ru") + 1) == "bestpersons.ru"))
  104. css += [
  105. "/* Fx compat fix */",
  106. " #userTabs {float:none!important;}"
  107. ].join("\n");
  108. if (false || (document.domain == "binmovie.org" || document.domain.substring(document.domain.indexOf(".binmovie.org") + 1) == "binmovie.org"))
  109. css += " #content {top:0!important;left:0!important;width:100%!important;margin-left:0!important;}";
  110. if (false || (document.domain == "bvedomosti.ru" || document.domain.substring(document.domain.indexOf(".bvedomosti.ru") + 1) == "bvedomosti.ru"))
  111. css += [
  112. ".art-Header {display:none!important;}",
  113. " #art-main {background-image:none!important;}",
  114. " .bg-top-menu {top:0!important;}"
  115. ].join("\n");
  116. if (false || (document.domain == "carambatv.ru" || document.domain.substring(document.domain.indexOf(".carambatv.ru") + 1) == "carambatv.ru"))
  117. css += " .content {background:none!important;padding:0!important;}";
  118. if (false || (document.domain == "cars.ru" || document.domain.substring(document.domain.indexOf(".cars.ru") + 1) == "cars.ru"))
  119. css += [
  120. "#main {margin-top:0!important;}",
  121. " A[href*=\"/adclick.php?bannerid=\"] {display:none!important;}"
  122. ].join("\n");
  123. if (false || (document.domain == "cinema-hd.ru" || document.domain.substring(document.domain.indexOf(".cinema-hd.ru") + 1) == "cinema-hd.ru"))
  124. css += ".wrap {padding-top:0!important}";
  125. 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"))
  126. 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}";
  127. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru"))
  128. css += " body {background:black!important;}";
  129. if (false || (document.domain == "drive.ru" || document.domain.substring(document.domain.indexOf(".drive.ru") + 1) == "drive.ru"))
  130. css += "body>div {background:none!important;padding-top:0!important;}";
  131. if (false || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua"))
  132. css += [
  133. " body {cursor:auto!important;}",
  134. " body>div[align=\"center\"] {width:auto!important;margin:0!important;}"
  135. ].join("\n");
  136. if (false || (document.domain == "firepic.org" || document.domain.substring(document.domain.indexOf(".firepic.org") + 1) == "firepic.org"))
  137. css += [
  138. "body {padding:0!important;background-image:none!important;}",
  139. " .container,.row {max-width:none!important;}",
  140. " .container {width:100%!important;}",
  141. " .row {padding:30px!important;margin:0px!important;}",
  142. " .span12 {clear:both}"
  143. ].join("\n");
  144. if (false || (document.domain == "fishki.net" || document.domain.substring(document.domain.indexOf(".fishki.net") + 1) == "fishki.net"))
  145. css += "#container {cursor:auto!important;}";
  146. if (false || (document.domain == "free-torrents.org" || document.domain.substring(document.domain.indexOf(".free-torrents.org") + 1) == "free-torrents.org"))
  147. css += [
  148. "#sidebar2 {padding-top:0!important;}",
  149. " #main-wrapper {width:100%!important;top:0!important;}"
  150. ].join("\n");
  151. if (false || (document.domain == "gamebomb.ru" || document.domain.substring(document.domain.indexOf(".gamebomb.ru") + 1) == "gamebomb.ru"))
  152. css += [
  153. "#ssdfsd,.dfgdjkfgh{background-image:none!important;}",
  154. " #content{padding-top:0!important;margin-top:0!important;}"
  155. ].join("\n");
  156. if (false || (document.domain == "gamer-info.com" || document.domain.substring(document.domain.indexOf(".gamer-info.com") + 1) == "gamer-info.com"))
  157. css += "#all-content-container {padding:0!important;}";
  158. if (false || (document.domain == "gidonline.club" || document.domain.substring(document.domain.indexOf(".gidonline.club") + 1) == "gidonline.club"))
  159. css += "#headerline {margin-top:0!important;}";
  160. if (false || (document.domain == "gidonlinekino.com" || document.domain.substring(document.domain.indexOf(".gidonlinekino.com") + 1) == "gidonlinekino.com"))
  161. css += " #headerline {margin-top:0!important;}";
  162. if (false || (document.domain == "goclips.tv" || document.domain.substring(document.domain.indexOf(".goclips.tv") + 1) == "goclips.tv"))
  163. css += " .video_content {height:auto!important;}";
  164. if (false || (document.domain == "goha.ru" || document.domain.substring(document.domain.indexOf(".goha.ru") + 1) == "goha.ru"))
  165. css += [
  166. "#full-brand-footer>div[style*=\"fixed\"], #head-tuppy>a {display:none!important;}",
  167. " #full-brand {background-image:none!important;}",
  168. " #head-tuppy {height: 7px!important;}"
  169. ].join("\n");
  170. if (false || (document.domain == "gotps3.ru" || document.domain.substring(document.domain.indexOf(".gotps3.ru") + 1) == "gotps3.ru"))
  171. css += "#Page {margin-top:0!important;}";
  172. if (false || (document.domain == "gstv.ru" || document.domain.substring(document.domain.indexOf(".gstv.ru") + 1) == "gstv.ru"))
  173. css += ".page-content {margin-top:0!important;}";
  174. if (false || (document.domain == "hdfilms.tv" || document.domain.substring(document.domain.indexOf(".hdfilms.tv") + 1) == "hdfilms.tv"))
  175. css += " #subheader{padding-top:1px!important;}";
  176. if (false || (document.domain == "iphones.ru" || document.domain.substring(document.domain.indexOf(".iphones.ru") + 1) == "iphones.ru"))
  177. css += "#contentShifter {height:127px!important}";
  178. if (false || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv"))
  179. css += " #main {width: auto!important;}";
  180. if (false || (document.domain == "kino-serial.net" || document.domain.substring(document.domain.indexOf(".kino-serial.net") + 1) == "kino-serial.net"))
  181. css += "#header+div[style*=\"height\"] {height:90px!important}";
  182. if (false || (document.domain == "kinoafisha.spb.ru" || document.domain.substring(document.domain.indexOf(".kinoafisha.spb.ru") + 1) == "kinoafisha.spb.ru"))
  183. css += "#branding_wrapper {padding-right:0!important}";
  184. if (false || (document.domain == "kinobel.by" || document.domain.substring(document.domain.indexOf(".kinobel.by") + 1) == "kinobel.by"))
  185. css += ".bg-site {padding-top:0!important;}";
  186. if (false || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru"))
  187. css += [
  188. " body{background:none!important;}",
  189. " body{background:#C0C0C0!important;}",
  190. " html[style] {background-image: url()!important;}",
  191. " #top .png_block, #GoUpClickZone{background:url() !important;}",
  192. " #top {height:100px!important;}",
  193. " .master {top:1px!important;}",
  194. " .menu {top:1px!important;}",
  195. // !! выравниваем секцию поиск:
  196. " #top_form {top: 2px!important;}",
  197. " #top .png_block {top: 2px!important;}",
  198. // !! расширяем полезную площадь
  199. " #content_block, .contentBlock1, .shadow, #top, #top .png_block, .block_left_padtop{width:100% !important;}",
  200. " div[id\*=\"div_review_\"]{width:98% !important;}",
  201. " .brand_words, p[id\^=\"ext_text_\"], ._reachbanner_ {width:100% !important;}",
  202. " .reviewItem, .userReview, p[id\^=\"ext_text_\"][data-find], span._reachbanner_ {width:100% !important;}",
  203. " div#content_block.contentBlock1>table {width:95% !important;}",
  204. " div#content_block.contentBlock1>table>tbody[data-find]>tr[data-find] {width:95% !important;}",
  205. " #photoBlock {padding-left:20px !important;}",
  206. " div#nav_express {padding-left:40px !important;}"
  207. ].join("\n");
  208. if (false || (document.domain == "kinotochka.net" || document.domain.substring(document.domain.indexOf(".kinotochka.net") + 1) == "kinotochka.net"))
  209. css += ".center-box2 {margin-top:0!important}";
  210. if (false || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net"))
  211. css += " body.brending {padding-top:180px!important;}";
  212. if (false || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru"))
  213. css += " #dynamic-content{margin-top:0!important;}";
  214. if (false || (document.domain == "mail.rambler.ru" || document.domain.substring(document.domain.indexOf(".mail.rambler.ru") + 1) == "mail.rambler.ru"))
  215. css += ".appSearchBar,.appWindowWithBanner {right:0!important}";
  216. 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"))
  217. css += " .b-branding__wrap {padding:0!important;}";
  218. if (false || (document.domain == "noob-club.ru" || document.domain.substring(document.domain.indexOf(".noob-club.ru") + 1) == "noob-club.ru"))
  219. css += "#header-new {margin-bottom:0!important;}";
  220. if (false || (document.domain == "online.anidub.com" || document.domain.substring(document.domain.indexOf(".online.anidub.com") + 1) == "online.anidub.com"))
  221. css += [
  222. ".background {background:none!important}",
  223. " .background > DIV[id^=\"b\"][class] {display:none!important}"
  224. ].join("\n");
  225. if (false || (document.domain == "politobzor.net" || document.domain.substring(document.domain.indexOf(".politobzor.net") + 1) == "politobzor.net"))
  226. css += " .banner {height:90px!important;}";
  227. if (false || (document.domain == "popmech.ru" || document.domain.substring(document.domain.indexOf(".popmech.ru") + 1) == "popmech.ru"))
  228. css += " .header__brand {margin-top:0!important;}";
  229. if (false || (document.domain == "povarenok.ru" || document.domain.substring(document.domain.indexOf(".povarenok.ru") + 1) == "povarenok.ru"))
  230. css += [
  231. ".car_content {margin:0!important;width:100%!important;}",
  232. " .car_recept {width:97%!important;}",
  233. " .cont_head, .cont_mid, .car_footer {background:none!important;}",
  234. " .car_header, .petushok, .cont_foot {display:none!important;}"
  235. ].join("\n");
  236. if (false || (document.domain == "promodj.com" || document.domain.substring(document.domain.indexOf(".promodj.com") + 1) == "promodj.com"))
  237. css += " #topbrandingspot {padding-top:0!important;}";
  238. if (false || (document.domain == "prophotos.ru" || document.domain.substring(document.domain.indexOf(".prophotos.ru") + 1) == "prophotos.ru"))
  239. css += [
  240. "body:not(#id) {",
  241. " padding-top: 130px!important",
  242. " }"
  243. ].join("\n");
  244. if (false || (document.domain == "riotpixels.com" || document.domain.substring(document.domain.indexOf(".riotpixels.com") + 1) == "riotpixels.com"))
  245. css += [
  246. "body {background-image:none!important;}",
  247. " .all-wrapper, .bottom-bar {top:0!important;}",
  248. " .bottom-bar, .action-menu {position:fixed!important;}"
  249. ].join("\n");
  250. if (false || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru"))
  251. css += " #block-sc2tv_streams-0 {margin-top:0!important;}";
  252. if (false || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru"))
  253. css += " body {background-color:#707070!important;}";
  254. if (false || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com"))
  255. css += " #wrapper>#all {margin-top:0!important;}";
  256. if (false || (document.domain == "smotri-filmi.net" || document.domain.substring(document.domain.indexOf(".smotri-filmi.net") + 1) == "smotri-filmi.net"))
  257. css += " .broda {margin-top:0!important}";
  258. if (false || (document.domain == "soccer.ru" || document.domain.substring(document.domain.indexOf(".soccer.ru") + 1) == "soccer.ru"))
  259. css += [
  260. "#beforecontent {display:none!important}",
  261. " #left {margin-top:15px!important}"
  262. ].join("\n");
  263. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  264. css += [
  265. "body.img-bg,#branding-layout {background:gray!important;padding-top:0!important}",
  266. " .pageLayout {top:0!important}"
  267. ].join("\n");
  268. if (false || (document.domain == "tort.fm" || document.domain.substring(document.domain.indexOf(".tort.fm") + 1) == "tort.fm"))
  269. css += "#topper_up {height:88px!important}";
  270. if (false || (document.domain == "tnt-online.ru" || document.domain.substring(document.domain.indexOf(".tnt-online.ru") + 1) == "tnt-online.ru"))
  271. css += [
  272. "/*self-ads for bitblock*/",
  273. " #contentShifter {display:none!important;}",
  274. " #all {top:15px!important;}"
  275. ].join("\n");
  276. if (false || (document.domain == "tree.tv" || document.domain.substring(document.domain.indexOf(".tree.tv") + 1) == "tree.tv"))
  277. css += ".wrapper {margin-top:0!important}";
  278. if (false || (document.domain == "unionpeer.org" || document.domain.substring(document.domain.indexOf(".unionpeer.org") + 1) == "unionpeer.org"))
  279. css += "#br_block,.bg_link {display:none!important}";
  280. if (false || (document.domain == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info"))
  281. css += "body {margin:0!important;}";
  282. if (false || (document.domain == "warfiles.ru" || document.domain.substring(document.domain.indexOf(".warfiles.ru") + 1) == "warfiles.ru"))
  283. css += "#header + .banner {height:100px!important;}";
  284. if (false || (document.domain == "vz.ru" || document.domain.substring(document.domain.indexOf(".vz.ru") + 1) == "vz.ru"))
  285. css += [
  286. " div.main-container{max-width: inherit !important;}",
  287. " div.main-menu>div.menu.sys_thumbs{overflow: inherit !important;}",
  288. " div.main-menu>div.menu.sys_thumbs>ul>li.thumb{margin-right: 0 !important;}",
  289. " div.menu{max-width: inherit !important;}"
  290. ].join("\n");
  291. if (false || (document.domain == "webfile.ru" || document.domain.substring(document.domain.indexOf(".webfile.ru") + 1) == "webfile.ru"))
  292. css += ".p_wrap {margin-top:0!important;}";
  293. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  294. css += " .body-branding {background:none!important;padding-top:0!important;}";
  295. if (false || (document.domain == "zoneofgames.ru" || document.domain.substring(document.domain.indexOf(".zoneofgames.ru") + 1) == "zoneofgames.ru"))
  296. css += " .branding,div.logo {background:none!important;height:auto!important;}";
  297. if (false || (document.domain == "zoomby.ru" || document.domain.substring(document.domain.indexOf(".zoomby.ru") + 1) == "zoomby.ru"))
  298. css += [
  299. "#global_wrapper_cont {padding:0!important;}",
  300. " .wrapper {margin-top:60px!important;}"
  301. ].join("\n");
  302. if (false || (document.domain == "pogoda.mail.ru" || document.domain.substring(document.domain.indexOf(".pogoda.mail.ru") + 1) == "pogoda.mail.ru"))
  303. css += ".forecast-rb-bg {background-image:none!important}";
  304. if (false || (document.domain == "hi-tech.mail.ru" || document.domain.substring(document.domain.indexOf(".hi-tech.mail.ru") + 1) == "hi-tech.mail.ru"))
  305. css += "#portal-menu, .header-banner {margin:0!important}";
  306. if (false || (document.domain == "e.mail.ru" || document.domain.substring(document.domain.indexOf(".e.mail.ru") + 1) == "e.mail.ru"))
  307. 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}";
  308. if (false || (new RegExp("^https?://anistar.ru/news(/(\\?.*)?)?$")).test(document.location.href))
  309. css += ".news:nth-child(1) {display:none!important;}";
  310. if (false || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com"))
  311. css += [
  312. " body {background:white!important;}",
  313. " body {background-color:white!important}",
  314. " body{background-image: url()!important;}",
  315. " body{background-image: none !important;}",
  316. " div{background-image: url()!important;}",
  317. " .branding {padding-top: 5px!important;}",
  318. " body {padding-top: 5px!important;}",
  319. " .limiter{padding-top: 5px!important;}",
  320. " .main_tm_search_tool,.searchline {background: white!important;}",
  321. // !! для широкоформатных мониторов
  322. " .header_container, .bottom_container, #content, .content, .wrapper, .limiter {width: 100%!important;}",
  323. " div.limiter > div.wrapper > div.c_w > table > tbody > tr > td[align=\"center\"] > table[width=\"960\"] {width: 100%!important;}"
  324. ].join("\n");
  325. if (false || (document.domain == "nnm-club.me" || document.domain.substring(document.domain.indexOf(".nnm-club.me") + 1) == "nnm-club.me"))
  326. // ! console.log("es1");
  327. css += [
  328. "body{background:none !important;}",
  329. " body {padding-top:0px !important;}",
  330. " body{background-image:none !important;}",
  331. " body{padding:0 !important;}",
  332. " .skin-block{background-image:url(\" \") !important;}",
  333. " element.style{background-image:url(\"\") !important;}",
  334. " #brTop{background-image:url(\"\") !important;}",
  335. // !! --- широко
  336. // !! ".wrap{min-width:1030px;max-width:100% !important;}",
  337. " body>table[width=\"85%\"]{width:100% !important;}",
  338. " body>div.wrap{max-width:100% !important;}",
  339. " body>div.wrap{min-width:1030px !important;}"
  340. ].join("\n");
  341. 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"))
  342. css += [
  343. " #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;}",
  344. " .soft-promo, #soft-promo{display:none !important;}",
  345. // !!? " #graph{float:none !important;}", //проверить
  346. " div#post-container,div#pre-container,.soft-promo{background:url(\"\")!important;}",
  347. " td.content.editor{background:url(\"\")!important;} ",
  348. // !! оставим меню: снежинки вырезать, на бету сходить
  349. " #header, #header .fcontent{height:26px !important;}",
  350. " li#tourism_button{display:none !important;}"
  351. ].join("\n");
  352. if (false || (document.domain == "nnm.me" || document.domain.substring(document.domain.indexOf(".nnm.me") + 1) == "nnm.me"))
  353. css += [
  354. " html:not(#id),body:not(#id) {background-image:none!important}",
  355. " body{background: none !important;}",
  356. " body, #theme_8, #theme_2, #theme_3, #theme_4, #theme_5, #theme_6, #theme_7, #theme_1{background: url(\'\') !important;}",
  357. // !! " body {background-image:none !important;}",
  358. " body, div#page{background:gray !important;background-color:gray !important;}",
  359. " body, div#page, element.style, #brTop{background-image:url(\'\') !important;}",
  360. " body, div#page, .pirate-branding, .pb_button_play{background:none !important;}",
  361. " div#page, div#wrap{margin-top:0px !important;top: 0px !important;}",
  362. " div#optionspanel{margin-top:0px !important; margin-left:0px !important;}",
  363. " div#page>div[style*=\"width: 990px;\"][style*=\"height: 206px; position: relative;\"]{height: 0px !important;}",
  364. " .pb_top_img, .pirate-branding, a.pb_link, .pb_logo_brand, .pb_left_banner, .pb_right_banner, #b-logo{height: 0px !important;}",
  365. " .pirate-branding, .pb_button_play_big{top:0px !important;}",
  366. " body{padding-top: 0px !important;}",
  367. // !! " body:not(#id) {padding-top:0px !important}",
  368. " #mmmBanner{height: 0px !important;}",
  369. " .head_assn {height: 0px !important; width: 0px !important;}",
  370. " .head_assn .assn_logo {width: 0px !important; height: 0px !important; top: 0px !important; left: 0px !important; background: url(\" \") !important; }",
  371. " .head_assn .assn_slogan {width: 0px !important; height: 0px !important; top: 0px !important; left:0px !important; background: url(\" \") !important; }",
  372. " html{height: 0px !important;}",
  373. " body{click=(\'\')!important;}",
  374. // !! заполненяем всю ширину экрана
  375. " #wrap, htmlarea, text{width: 99% !important;}",
  376. " #scrollPanel{width: auto !important;}",
  377. " #cntnt{position: absolute !important; left: 0px !important; margin-top: 0px !important; margin-left: 0px !important;}",
  378. " #wrapper {width: auto !important;}",
  379. " #content{width: auto !important;}",
  380. " .categories{margin: 0 100px 10px !important; float: left !important;}",
  381. " body {text-align:center!important;}",
  382. " #page {display:inline-block !important; top:0px !important; margin-top:0 !important;}",
  383. " #wrap {text-align:initial !important;}"
  384. ].join("\n");
  385. 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"))
  386. css += [
  387. // ! site yandex
  388. // !!? ".adsrv {width:0px!important;min-width:0!important;max-width:0!important;",
  389. " .i-bem[style*=\'opacity:1!important\'] {width:0px!important;min-width:0!important;max-width:0!important;",
  390. " height:0!important;min-height:0!important;max-height:0!important;",
  391. " overflow:hidden!important;}",
  392. " .b-top-wizard{width:1000px!important;} .b-body-items.b-serp-list{width:1000px!important;}",
  393. // ! !! чистим maps.yandex
  394. " .ymaps-map{background:none !important;}",
  395. // " .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;}",
  396. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background-image:url() !important;}",
  397. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background:url(\'\') !important;}",
  398. // ! !! убрать все фоновые рисунки в картах
  399. // ! " ymaps{background-image:url() !important;}",
  400. " tv.yandex.ru##td[width=\"24%\"]{width:12%!important;}",
  401. " a{onmousedown=''!important;}",
  402. " a{onclick=''!important;}"
  403. ].join("\n");
  404. // !! 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"))
  405. if (false || (document.domain == "soft-club.me" || document.domain.substring(document.domain.indexOf(".soft-club.me") + 1) == "soft-club.me"))
  406. css += [
  407. // ! !! --- широко
  408. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  409. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
  410. " article,.header,.header-main{width:100%!important;}",
  411. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  412. ].join("\n");
  413. if (false || (document.domain == "4seasons-ltc.com" || document.domain.substring(document.domain.indexOf(".4seasons-ltc.com") + 1) == "4seasons-ltc.com"))
  414. css += [
  415. "body{background-image:none !important;}",
  416. " body{font-family: Tahoma !important;}"
  417. ].join("\n");
  418. if (false || (document.domain == "80-e.ru" || document.domain.substring(document.domain.indexOf(".80-e.ru") + 1) == "80-e.ru"))
  419. css += [
  420. " div#ipbwrapper{margin: 0 !important;width: inherit !important;max-width: inherit !important;}"
  421. ].join("\n");
  422. if (false || (document.domain == "china-review.com.ua" || document.domain.substring(document.domain.indexOf(".china-review.com.ua") + 1) == "china-review.com.ua"))
  423. css += [
  424. "body{background:url()!important;}",
  425. " body{background-image:none !important;}",
  426. " body{background:none!important;}",
  427. " body{margin-top:0px!important;}"
  428. ].join("\n");
  429. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  430. css += [
  431. "body{background:none!important;} .layer_top {background:none!important;} .layer_bottom {background:none!important;} .cast_bg{background:none!important;}",
  432. " .contentbg {background-image:none!important;} #4iframe {background-image:none!important;} ",
  433. " #framescr{background-image:none!important;}"
  434. ].join("\n");
  435. if (false || (document.domain == "amovies.tv" || document.domain.substring(document.domain.indexOf(".amovies.tv") + 1) == "amovies.tv"))
  436. css += [
  437. // !! расширяем
  438. "article{width: 980px !important;}",
  439. " #vk_select {float:none !important;margin-left: 445px!important;}",
  440. " #vk_top,#vk_select {background:url()!important;}"
  441. ].join("\n");
  442. if (false || (document.domain == "apteka.ru" || document.domain.substring(document.domain.indexOf(".apteka.ru") + 1) == "apteka.ru"))
  443. css += [
  444. " div.wrapper_root>div.wrapper>section.middle{margin-bottom: 0 !important;}",
  445. " div.wrapper_root>div.wrapper>section.middle>div.container.clr{min-height: 180px !important;}",
  446. " div.wrapper_root>div.wrapper>section.middle>div.container.clr>div.content.bottom-content>section.items.items-tile.items-viewed{margin: 0!important;}",
  447. " div.wrapper_root>div.wrapper>section.middle>div.tabs.top-tabs.clr{margin-bottom: 0 !important;}"
  448. ].join("\n");
  449. if (false || (document.domain == "avito.ru" || document.domain.substring(document.domain.indexOf(".avito.ru") + 1) == "avito.ru"))
  450. css += " .bonprix-1{background: none !important;} ";
  451. if (false || (document.domain == "bash.im" || document.domain.substring(document.domain.indexOf(".bash.im") + 1) == "bash.im"))
  452. css += " span.csd{background:none !important;}";
  453. if (false || (document.domain == "best-cashback.ru" || document.domain.substring(document.domain.indexOf(".best-cashback.ru") + 1) == "best-cashback.ru"))
  454. css += [
  455. " [id=\"menu-osnovnoe-menyu\"]>[id^=\"menu-item-\"]>a.menu-item-link{color: black !important;}",
  456. " div#theme-page{top: 80px !important;}",
  457. " [class^=\"mk-header-\"]{background-color: lightgrey !important;}",
  458. " section#mk-footer{padding: 0 !important; top: 80px !important;}",
  459. " div#sub-footer{background-color: lightgrey !important;}"
  460. ].join("\n");
  461. if (false || (document.domain == "besplatnye-kupony.ru" || document.domain.substring(document.domain.indexOf(".besplatnye-kupony.ru") + 1) == "besplatnye-kupony.ru"))
  462. css += [
  463. " body{background: none !important; background-color: lightgrey !important;}",
  464. " div{width: inherit !important; margin: 0 !important;}",
  465. " div#site-container{border: none !important;}"
  466. ].join("\n");
  467. if (false || (document.domain == "bestrepack.net" || document.domain.substring(document.domain.indexOf(".bestrepack.net") + 1) == "bestrepack.net"))
  468. css += " div#body_container{padding: 0 !important;}";
  469. if (false || (document.domain == "bigpicture.ru" || document.domain.substring(document.domain.indexOf(".bigpicture.ru") + 1) == "bigpicture.ru"))
  470. css += [
  471. " div.content{padding: 0 !important;}",
  472. " div.podheader{width: 240px !important; float: right !important;}",
  473. " div.podheader-right{float: right !important;}"
  474. ].join("\n");
  475. 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"))
  476. css += [
  477. " body{background-image:none !important;}",
  478. " body{background-image:url(\" \")!important;}",
  479. // !! --- расширим ---
  480. " .content-outer, .content-fauxcolumn-outer, .region-inner {max-width: none !important;}",
  481. " div#header-inner>div.descriptionwrapper{margin-bottom: 5px !important;}",
  482. " #outer-wrapper {width: 95% !important;}",
  483. " #main-wrapper {width: 95% !important;}"
  484. ].join("\n");
  485. if (false || (document.domain == "bookvoed.ru" || document.domain.substring(document.domain.indexOf(".bookvoed.ru") + 1) == "bookvoed.ru"))
  486. css += " .Fh{margin-top: 79px!important;}";
  487. if (false || (document.domain == "calend.ru" || document.domain.substring(document.domain.indexOf(".calend.ru") + 1) == "calend.ru"))
  488. css += " .pad, .main-l{width:95% !important;}";
  489. if (false || (document.domain == "clubupravdom.ru" || document.domain.substring(document.domain.indexOf(".clubupravdom.ru") + 1) == "clubupravdom.ru"))
  490. css += " *{background-image: none !important;}";
  491. if (false || (document.domain == "computerra.ru" || document.domain.substring(document.domain.indexOf(".computerra.ru") + 1) == "computerra.ru"))
  492. css += [
  493. " div.page.page-podl{padding-top: 0px!important;}",
  494. " div#under{width:auto!important;}",
  495. " a.link{font-weight:bold!important; font-family:Verdana!important;font-size: 12px!important;}",
  496. " div.column{max-width:80%!important;}"
  497. ].join("\n");
  498. if (false || (document.domain == "cont.ws" || document.domain.substring(document.domain.indexOf(".cont.ws") + 1) == "cont.ws"))
  499. css += [
  500. " body>div.content{width: 100% !important;}",
  501. " body>div.content>div{margin: 0 !important;}",
  502. " body>div.content{margin-left: 5px !important;}",
  503. " body>div.content{margin-right: 5px !important;}",
  504. " div.sidebar{width: 14% !important;}",
  505. " [class^=\"post\"]{width: 85% !important;}",
  506. " [class^=\"post\"]{max-width: 1880px !important; margin: 0 !important; padding: 0 !important;}",
  507. " div.post>[class^=\"article\"]{padding: 0 !important;}",
  508. " div#wp.author-bar2.wallpaper.plus{background-image: url() !important; padding: 0 !important;}",
  509. " div.author-bar2-inside{padding: 0 !important;}",
  510. " a.m_author{display: inline-block !important;}",
  511. " .plus .author-bar2-inside{color: #666 !important;}",
  512. " div.dark{background: url() !important;}",
  513. " .wallpaper .author-bar2-inside, .wallpaper .author-bar2-inside a, .wallpaper .author-bar2-inside textarea {color: inherit !important;}"
  514. ].join("\n");
  515. if (false || (document.domain == "crowdin.com" || document.domain.substring(document.domain.indexOf(".crowdin.com") + 1) == "crowdin.com"))
  516. css += " #user-cover-picture,#user-cover-picture-blurred{background:url()!important;}";
  517. 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"))
  518. css += [
  519. "body{background:none !important;}",
  520. " td{background-image:none !important;}"
  521. ].join("\n");
  522. if (false || (document.domain == "ebay-forum.ru" || document.domain.substring(document.domain.indexOf(".ebay-forum.ru") + 1) == "ebay-forum.ru"))
  523. 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;}";
  524. 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"))
  525. css += [
  526. "body{background:none !important;}",
  527. " body{background-image:none !important;}"
  528. ].join("\n");
  529. if (false || (document.domain == "ddlmkvhd.com" || document.domain.substring(document.domain.indexOf(".ddlmkvhd.com") + 1) == "ddlmkvhd.com"))
  530. css += [
  531. " body{background: none !important;}",
  532. " div.page-body-t{position: relative !important;}"
  533. ].join("\n");
  534. if (false || (document.domain == "ddlvillage.org" || document.domain.substring(document.domain.indexOf(".ddlvillage.org") + 1) == "ddlvillage.org"))
  535. css += [
  536. " div{background: none !important;}"
  537. ].join("\n");
  538. if (false || (document.domain == "f1news.ru" || document.domain.substring(document.domain.indexOf(".f1news.ru") + 1) == "f1news.ru"))
  539. css += [
  540. " div[id=\"bannerText\"]{border:0px!important;margin-left:10px!important;}",
  541. " body{background:url() top center no-repeat #000000 !important;}",
  542. // !! расширяем текстовое поле
  543. " div#textBlock{width:900px !important;}"
  544. ].join("\n");
  545. if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
  546. css += [
  547. " #contentArea {width: 750px !important;}",
  548. " .uiUfi {width: 650px !important;}",
  549. // !! " body {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  550. // !! " #contentCol {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  551. " div#profile_stream_composer {background-color:#C1D5F6;}",
  552. " #blueBar {background-color: transparent !important;}",
  553. " #headNav {background-color: #transparent !important;}",
  554. " .jewelButton {background-color: transparent !important;}",
  555. " #fbNotificationsFlyout {left: 50px !important;}",
  556. " .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;}",
  557. // !! " #pageNav a {color: #00ffff !important;display: inline-block;font-weight: bold;height: 22px;padding: 8px 10px 0px;text-decoration: none;}",
  558. " .UIImageBlock {color: #000000 !important;}",
  559. " .fcg {color: darkgreen !important;}",
  560. " .mts.uiAttachmentDesc.translationEligibleUserAttachmentMessage {color: black !important;}"
  561. ].join("\n");
  562. if (false || (document.domain == "fastpic.ru" || document.domain.substring(document.domain.indexOf(".fastpic.ru") + 1) == "fastpic.ru"))
  563. css += [
  564. "html,body,#mainContainer,#footerContainer,#content,#footer {margin:0!important;width:100%!important;border-radius:0!important}",
  565. " #mainContainer>table {width:850px!important;margin:auto!important}",
  566. " #picContainer {float:none!important;margin:auto!important}",
  567. " html,body {cursor:auto!important}",
  568. " html,body {height:100%!important;display:flex!important;flex-direction:column!important}",
  569. " #mainContainer {flex-grow:1!important}",
  570. " #mainContainer,#footerContainer {overflow:visible!important}",
  571. " #content,#footer {background-color:transparent!important}",
  572. " #content {display:flex!important;flex-grow:1!important;min-height:inherit!important}",
  573. //??
  574. " #logo-area{padding-top: 0px!important;}",
  575. " *{background:none !important;}",
  576. " *{background-image:none !important;}",
  577. " #footer-container {background-image:none!important;height:auto!important;}",
  578. " body > a {display:none!important;}",
  579. " div#show-code-content.rounded-corners{position: inherit!important;}",
  580. " div#foot-area.center.rounded-corners{position: inherit!important;}",
  581. " div#footer.center.rounded-corners{position: inherit!important;}",
  582. " .center {padding:0!important}",
  583. " div#right-bottom.rounded-corners{position: relative!important;margin-top:0px!important;height:0px!important;padding-top:5px!important;}",
  584. // !! всё - чёрным
  585. " *{color: black!important;}",
  586. " body{background: none!important;}"
  587. // " html {background-color:#171616!important;}"
  588. ].join("\n");
  589. if (false || (document.domain == "filmix.net" || document.domain.substring(document.domain.indexOf(".filmix.net") + 1) == "filmix.net"))
  590. css += " body{padding: 0px 0 0 0!important;}";
  591. if (false || (document.domain == "formulakino.ru" || document.domain.substring(document.domain.indexOf(".formulakino.ru") + 1) == "formulakino.ru"))
  592. css += [
  593. " div.backF>a>span{background-image:none !important; background:#fff !important;}",
  594. " div.vjs-poster{background:url()!important;}",
  595. " div.pagecontent{margin-top:0px!important;}",
  596. " div#wrapper{background:#fff!important;}"
  597. ].join("\n");
  598. if (false || (document.domain == "google.ru" || document.domain.substring(document.domain.indexOf(".google.ru") + 1) == "google.ru"))
  599. css += [
  600. " 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;}",
  601. " body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child:hover {opacity:1;}",
  602. " body[class=\"cP\"] tr td.Bu:last-child div.nH {width: 0px!important;}",
  603. // ! расширяем выдачу в поиске
  604. " .center_col,#center_col {width:1000px!important; margin-left:10px !important; margin-right:10px !important;} .s {max-width:100% !important;}"
  605. ].join("\n");
  606. if (false || (document.domain == "ifmo.ru" || document.domain.substring(document.domain.indexOf(".ifmo.ru") + 1) == "ifmo.ru"))
  607. css += [
  608. " header.h-header, .b-header-pad{height: 100px !important;}"
  609. ].join("\n");
  610. if (false || (document.domain == "igromania.ru" || document.domain.substring(document.domain.indexOf(".igromania.ru") + 1) == "igromania.ru"))
  611. css += [
  612. // !! " *{background-image: none !important;}",
  613. " div.out_out, element.style {background-image: url() !important;}"
  614. ].join("\n");
  615. if (false || (document.domain == "inosmi.ru" || document.domain.substring(document.domain.indexOf(".inosmi.ru") + 1) == "inosmi.ru"))
  616. css += [
  617. " body{background-image:none !important;}",
  618. " body{background:url()!important;}",
  619. // !! поаккуратнее
  620. " .header{padding-top:0px!important;}",
  621. " #addbwr{margin-top:0px!important;}",
  622. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след. строками )
  623. " .mainbox{width:95%!important;}",
  624. " .section{width:100%!important;}",
  625. " .floatleft{width:80%!important;}",
  626. " .floatleft.box3row{width:50%!important;}",
  627. " .floatleft.box3row3{width:50%!important;}",
  628. " .bodypage{width:100%!important; }",
  629. " .floatright{width:10%!important;}",
  630. " .article{width:100%!important; }",
  631. " .announce{width:80%!important; }"
  632. ].join("\n");
  633. if (false || (document.domain == "keeplinks.eu" || document.domain.substring(document.domain.indexOf(".keeplinks.eu") + 1) == "keeplinks.eu"))
  634. css += " div#header{background: none !important;}";
  635. if (false || (document.domain == "letitfilms.com" || document.domain.substring(document.domain.indexOf(".letitfilms.com") + 1) == "letitfilms.com"))
  636. css += [
  637. " body{background: url() !important; background-color: black !important;}",
  638. " div#container{width: inherit !important; margin: 0 !important;}",
  639. " div#container>div#main>*{padding: 0 !important;}",
  640. " div#container>div#main>aside{width: 20% !important;}",
  641. " div#container>div#main>div#content{width: 79% !important;}"
  642. ].join("\n");
  643. if (false || (document.domain == "livesport.ws" || document.domain.substring(document.domain.indexOf(".livesport.ws") + 1) == "livesport.ws"))
  644. css += [
  645. // !! убираем фон и баннер
  646. " body {background:none!important;color:#333!important;}",
  647. " body{background:url()!important;background-color:#000002!important;}",
  648. " body,.top-panel-wrap.fixed {background-image:url() !important;}",
  649. " body{background-image:none !important;}",
  650. " div[id=\"flash\"]{height: 0px !important;}"
  651. ].join("\n");
  652. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  653. css += [
  654. // " body{background:#c0c0c0 !important;}",
  655. " .main_logo_link {margin-top:5px!important;background-color:transparent!important}",
  656. " .logo {margin-top:0!important;background-repeat:no-repeat;background-position:0 17px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAO4AAAA4BAMAAAAIp9kjAAAAGFBMVEW+wb3Fx8TO0M3V19Tf4t7n6ebw8+/9//xa+J7PAAAACXBIWXMAAAsTAAALEwEAmpwYAAAE2klEQVRYw+2YzVfbOBDAx7JNrtqQlKsJpFzVsi7X8NZerklskyt0t84VKMT/fmf0HZI0zsetzHs4tqyZnzwzGkkA/GFyX9fJtj4ndS28x8t/a5LvcNU0I4jr+mGNTlVRn3lj5ad9JR/wzVZuh+wbYTNt6EVxT5rmaY1OsyKetT24gcHuzE087tPO3E/NvlzT6wbvxztz53tx7zwuPfNduVGzF5d8++q9gV25SGneviwl+3ruNQkhMpITl1gdOeRduRicBYcWXBsU95GJl1bvuOm8Wdzq+4ESzgbozyneUCNm87Pt3aVGxR04Od/EVdOcQi3ecT/LYEyWpmnS0TcjbclNZS++fjB/8FXulU0slVZLXJ00i0Rn+xquUvo915Wm+VJUZTPTGeZz77Tes3q9gQtbudai44YmsXRa+VzLWgDEG7mLFtyHFS743NEyl5L9Fr7JuNNrWf3rJMrQD/9nWaKGtsi03G7mvjiuGeZMD2em0srn3iiFGXVAk49r5hFrNtQNBZDXb65EeFw9fex3e9yZMn9iTe7HxVC+rXJPVGKFpnB5XN0ppDdXVLv34wYO5nED9aGdRhcAx2V6nFLvyl+od+PCWi447tMyNzRxoc5n2vh/R+Oq5W9mZpnjRiYPsUmGQ8r399yFq4c7cdWX2vVhA9etd/w9d8P83cYliy/MVrMNXLe+j47EpU99jUxakcOF5f503PDebU+Ow53p9X9kavJ4TT67ZHg+FvdM73cSY/nBzjAzf828p/uXY3F1yX+zul51SVRlsVOXGe7D4Vy2tEjShJnaZfBR/Tx7Sai4z4dz9TI78RbGBS08FABc8nsy9EzN0Zk0iqYXYkfuXG+ivO43bjn1N8Ryhi1qNWc7dv6OTWRGh3KlGbsrPHPnF3fy8bjCROZgrnTtqw333HI/OVTH23voAR3MDea67irpu/PanV+SlTxaDx3Mlebd6gqnudzQ0IioSBX6yCulUF2GtToCs7r+4RQ/U6M6/6p273pPrbQd8g/O+CjW7/DZYOvp4UM+5EM+ZJPI03xwcQ5BcoHFhF1zrCp4mA+u8SkYDGSnvyBQC8zFF/z7SloJMA5d3uXBOSph8zk1yItU3SZ5VY2gX5Y8LDPcGeT5BOKqSmQTRFUlO2XQlwtqr6w4K3MBaVXyaAxDPkzYFOIMFQqIBV6GAoZZsZ2bQTSCjPdFOIUcwklQon5PNeGrVHfKJTflvVHAwzGkIIGZ+gloWIobVCIosF8rbjDFS0jDj/BTUL8vsAkbYqG5rJTcAhhuYCLioukCO0kudFPDDVOBXWLRissqdDZxE3RxJf3MJLdvuPGl4aJX0alpVXBITycg/dSr0B2oidw+Nsi7Vlza8ikuKcQinCjukGvu35HjMhxDikDoYywRMoU0wdfFAB+Lf1B53CafpZ8LxU1Bmo8Fm2IT3ueguPlEcTNMACC27BlVGMZud6pyRPq5HJFyWy4OuIv+Yvg5Bb+A+OvlBJvShBWDVE6JXCjuUAxFmKB700EqgJVyLcdRcBPfijxWJqdJO24PI4oeuwUKHAawxI2uvKkq6bScK26I0yesTHyDqeb2q8x8L13QGm9bPRL0M/3rLxgYlS4nG++C1SXPmn8RhhPTfA4rvVrLmnRY5S5JXxyjYLZLQ1+GW6P4C6qQYCWm4MpmAAAAAElFTkSuQmCC)}",
  657. " body,.logo>.up {background:none!important;background-color:#c0c0c0!important}",
  658. " div>div>a>div[style\*=\"height\"] {display:none!important;}",
  659. // " .prof,.user_menu_link,.wh {color:white!important;}",
  660. " .prof,.user_menu_link,.wh,.logo>.up {color:white!important}",
  661. " .prof,.logo {height:80px!important}",
  662. " .logo>a {text-decoration:underline!important}",
  663. " body{background:none!important;}",
  664. " body{background-image:none !important;}",
  665. " body{background:gray!important;}",
  666. " div[class=\"mid\"]{background:LightGrey!important;}",
  667. // !! ==== и меняем на читаемый цвет
  668. " div[class=\"user_avatar\"]{color:black !important;}",
  669. " span[class=\"wh\"]{color:black !important;}",
  670. " a[href*=\"\/my.php\"]{color:black !important;}",
  671. " a[href*=\"\/messages.php\"]{color:black !important;}",
  672. " a[href*=\"bogi.ru\/logout.php\"]{color:black !important;}",
  673. // !! расширяем полезную площадь
  674. " body>div#MainDiv>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
  675. " div[style^=\"width:497px;\"]{width:58% !important;}",
  676. " body>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
  677. " div[style^=\"width:498px;\"]{width:58% !important;}",
  678. " div[style*=\"background:#FFFFFF;display:block;padding:10px;float:left;overflow-x:hidden;width:350px;\"]{width:100% !important;}"
  679. ].join("\n");
  680. if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
  681. css += [
  682. " body,.forecast-rb-bg,.b-bg{background-image: none!important;}",
  683. " .SearchForm,.form,.txt1,.txt2,.txt3,.people1,.people2,.people3,.GRcorrect, .GRSpellingCorrect, .GRspelling {background: url('')!important;}"
  684. ].join("\n");
  685. if (false || (document.domain == "ncrypt.in" || document.domain.substring(document.domain.indexOf(".ncrypt.in") + 1) == "ncrypt.in"))
  686. css += [
  687. " body{background: none !important;}",
  688. " div#wrapper{margin: 0 0 0 0 !important;}"
  689. ].join("\n");
  690. 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"))
  691. css += [
  692. // !! "div {background-image:none !important;}",
  693. // !! "div {background:url()!important;}",
  694. // !! "div[class^=\"prl_slide_\"] {background:url()!important;}"
  695. "div[class=\"anonym_login\"]{width: 100% !important;}"
  696. ].join("\n");
  697. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  698. css += [
  699. " #main{background:none!important;background:#FFF!important;}",
  700. " div[id=\"main\"]>div[id=\"adw\"]{height:0px!important;}",
  701. " div[id=\"main\"]>div[class=\"box1\"]{height:0px!important;}",
  702. " div[id=\"main\"]>div:nth-of-type(1){height:0px!important;}",
  703. " #mainplace>table>tbody>tr:first-child,.needblock {display:none!important;}",
  704. " #wrapper {width:100%!important;}",
  705. " #main {padding-top:0!important;}"
  706. ].join("\n");
  707. if (false || (document.domain == "playground.ru" || document.domain.substring(document.domain.indexOf(".playground.ru") + 1) == "playground.ru"))
  708. css += "#foundationWrapper {background:#373737!important}";
  709. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  710. css += [
  711. " div.paral>a>div{background:url()!important;}",
  712. " div.paral>a>div{height:64px!important;}",
  713. " table#header_t {margin-top: 0px !important;}",
  714. " \\!! расширяем полезную площадь",
  715. " .b-story__content, .b-story__content_type_text {margin-left:5px !important; width: 800px !important; max-width: 800px !important;}"
  716. ].join("\n");
  717. if (false || (document.domain == "piter.tv" || document.domain.substring(document.domain.indexOf(".piter.tv") + 1) == "piter.tv"))
  718. css += [
  719. " body{background-image:none !important;}"
  720. ].join("\n");
  721. if (false || (document.domain == "politikus.ru" || document.domain.substring(document.domain.indexOf(".politikus.ru") + 1) == "politikus.ru"))
  722. css += [
  723. " body{background-image:none !important;}",
  724. " body{background:url()!important;}",
  725. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след.четырьмя строками )
  726. // " #main_content_holder{width:100%!important; }",
  727. // " #left{width:80%!important; }",
  728. // " .holder, div.block, .content, #dle-content{width:100% !important; }",
  729. // " .fullstory{width:95% !important; }"
  730. // !! доработанный вариант от Buba5473
  731. " div#header{width: inherit !important; margin: 0 !important;}",
  732. " div#header>div.holder{width: inherit !important; margin: 0 !important;}",
  733. " div#main_content_holder{width: inherit !important; margin: 0 !important;}",
  734. " div#main_content_holder>div#maintpl>div.holder{width: inherit !important; margin: 0 !important;}",
  735. " div#main_footer_holder{width: inherit !important; margin: 0 !important;}",
  736. " div#main_footer_holder>div.holder{width: inherit !important; margin: 0 !important;}",
  737. " div#main_content{margin: 0 !important;}",
  738. " div#right{margin: 0 !important; float: none !important; width: inherit !important;}",
  739. " div#left{width: 80% !important;}"
  740. ].join("\n");
  741. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  742. css += [
  743. "div.paral>a>div{background:url()!important;}",
  744. " div.paral>a>div{height:64px!important;}",
  745. " table#header_t {margin-top: 0px !important;}"
  746. ].join("\n");
  747. if (false || (document.domain == "pleer.com" || document.domain.substring(document.domain.indexOf(".pleer.com") + 1) == "pleer.com"))
  748. css += [
  749. " div#main.clearfix>div#container>div#content{margin: 0 !important;}",
  750. " 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;}",
  751. " 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;}"
  752. ].join("\n");
  753. 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"))
  754. css += [
  755. " .brand_bg{background-image:none !important;}",
  756. " .base-page_wrapper {width:auto!important; padding:0!important}",
  757. " .content{padding-top:0px !important;}"
  758. ].join("\n");
  759. if (false || (document.domain == "rambler.ru" || document.domain.substring(document.domain.indexOf(".rambler.ru") + 1) == "rambler.ru"))
  760. css += [
  761. ".b-left-column .b-left-column__wrapper{margin:0 !important;}",
  762. " div[class=\"appWindow\"]{right:0px!important;}"
  763. ].join("\n");
  764. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  765. css += " .article__content {margin-right: 0px !important;}";
  766. if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
  767. css += [
  768. "#octo-set{background-image:none!important;padding-top:0!important;}",
  769. " #main-wrapper{width:auto!important;}",
  770. " body{background-image: none!important;} ",
  771. " body{background:none!important;}",
  772. " #main-wrapper{top:10px!important;}",
  773. // !! cкрыть заголовок
  774. " #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;}"
  775. ].join("\n");
  776. 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"))
  777. css += [
  778. "*{background:none!important;}",
  779. " *{background:url('')!important;}",
  780. " *{background:silver!important; color:black!important;}",
  781. " 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; }"
  782. ].join("\n");
  783. if (false || (document.domain == "ruspravda.info" || document.domain.substring(document.domain.indexOf(".ruspravda.info") + 1) == "ruspravda.info"))
  784. css += [
  785. "body{background:white!important;}",
  786. " table#header_t {margin-top: 0px !important;}"
  787. ].join("\n");
  788. if (false || (document.domain == "rustorka.com" || document.domain.substring(document.domain.indexOf(".rustorka.com") + 1) == "rustorka.com"))
  789. css += " .topmenu{margin-top:25px !important;}";
  790. 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"))
  791. css += [
  792. // !! оформление от zuefhrf
  793. " div#brTop {background-image: url(\" \") !important;}",
  794. " div#ws div#sidebar{top: 0px !important;}",
  795. " div#ws div#sidebar{right: 8px !important;}",
  796. " div#ws div#sidebar div.sideblock{margin-top: 0px !important;}",
  797. " div#ws div#content{right: 6px !important;}",
  798. " h3{text-align: left !important;}"
  799. ].join("\n");
  800. if (false || (document.domain == "safety-gate.me" || document.domain.substring(document.domain.indexOf(".safety-gate.me") + 1) == "safety-gate.me"))
  801. css += [
  802. // ! !! --- широко
  803. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  804. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
  805. " article,.header,.header-main{width:100%!important;}",
  806. " .xbBoxed,.pageContent{max-width:100%!important;}",
  807. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  808. ].join("\n");
  809. if (false || (document.domain == "samlab.ws" || document.domain.substring(document.domain.indexOf(".samlab.ws") + 1) == "samlab.ws"))
  810. css += [
  811. "div.box.main {width: auto; !important;}",
  812. " div#right {width: 2px; !important;}"
  813. ].join("\n");
  814. if (false || (document.domain == "samlib.ru" || document.domain.substring(document.domain.indexOf(".samlib.ru") + 1) == "samlib.ru"))
  815. css += [
  816. "body {font-family: sans-serif !important;line-height: 140% !important;color: #B2B2B2 !important;background: #3A3E46 !important;}",
  817. " font {color: #B2B2B2 !important;}",
  818. " table, td, td font {color: #BEBEBE !important;background-color: #555C66 !important;}",
  819. " a:link {color: #9DD7FF !important;}",
  820. " a:visited {color: #EAB6FF !important;}",
  821. " a:hover {color: #F0B2B2 !important;}",
  822. " dl {margin-top: 1em !important;}"
  823. ].join("\n");
  824. if (false || (document.domain == "securitylab.ru" || document.domain.substring(document.domain.indexOf(".securitylab.ru") + 1) == "securitylab.ru"))
  825. css += [
  826. " #content #left{margin-left: 0px!important;max-width: 1000px!important;}",
  827. // !! логотип
  828. " div#header{height:00px!important;background-color:white!important;} div#MAIN_MENU{top:0px!important;}"
  829. ].join("\n");
  830. if (false || (document.domain == "sportbox.ru" || document.domain.substring(document.domain.indexOf(".sportbox.ru") + 1) == "sportbox.ru"))
  831. css += [
  832. " body{background:none!important;padding-top: 0px!important;}",
  833. " .sb_c_topmed_olymp, .gold, .silver, .bronze {background:none!important;}"
  834. ].join("\n");
  835. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  836. css += [
  837. " body.img-bg,#branding-layout {background:gray!important;}",
  838. " body.img-bg,#branding-layout {padding-top:0!important;}",
  839. " .kaspersky, .overall {background:none!important;}",
  840. " .kaspersky, .pageLayout {top: 0px!important;}"
  841. ].join("\n");
  842. if (false || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me"))
  843. css += [
  844. " body{background:url()!important;}",
  845. " body{background-image: none !important;}",
  846. " div#brTop{background-image:url(\'\') !important;}",
  847. " element.style{background:url()!important;}",
  848. " element.style, #skin_crown{background-image:url()!important;}",
  849. " body{background:#D4D4D4 !important;}",
  850. " body{padding:0 !important;}",
  851. " table#home_c{width: inherit !important;}",
  852. " [id^=\"top_\"]{width: inherit !important;}",
  853. " body{padding-top:0px !important;}",
  854. // !! расширяем
  855. " #table_reduser, #head, #foot_links{width:98% !important;}",
  856. " #top_tools {padding-left:0!important}"
  857. ].join("\n");
  858. if (false || (document.domain == "torrent-tv.ru" || document.domain.substring(document.domain.indexOf(".torrent-tv.ru") + 1) == "torrent-tv.ru"))
  859. css += [
  860. " body {background-image:none!important;padding-top: 0px!important;}",
  861. " div#main-wrapper {top:auto!important;}",
  862. " div.news-text {width:auto!important;}",
  863. " div[class^=\"usual-header\"] {width:126%!important;}",
  864. " div[class=\"usual\"] {width:132%!important;}",
  865. " div[class^=\"usual-content\"] {width:99%!important;}"
  866. // !!
  867. // !! " body>div:nth-of-type(1) {background:url()!important;}",
  868. // !! " body {background:gray!important;}",
  869. ].join("\n");
  870. if (false || (document.domain == "turbobit.net" || document.domain.substring(document.domain.indexOf(".turbobit.net") + 1) == "turbobit.net"))
  871. css += " html {background:none!important;}";
  872. if (false || (document.domain == "velolive.com" || document.domain.substring(document.domain.indexOf(".velolive.com") + 1) == "velolive.com"))
  873. css += " body {background:url() !important;}";
  874. if (false || (document.domain == "vesti.ru" || document.domain.substring(document.domain.indexOf(".vesti.ru") + 1) == "vesti.ru"))
  875. css += [
  876. " .bottom_bg {background: none !important;}",
  877. " body, .head, .all_wrap {background: url(\" \") !important;}"
  878. ].join("\n");
  879. if (false || (document.domain == "vipfiles.nu" || document.domain.substring(document.domain.indexOf(".vipfiles.nu") + 1) == "vipfiles.nu"))
  880. css += [
  881. " div.loginformbox{background: none !important;}",
  882. " div.tophhhhheader{background: none !important; padding: 0 !important; height: 75px !important;}",
  883. " div.tophhhhheader>div.item1{height: 10px !important;}",
  884. " div.tophhhhheader>div.item2{float: left !important; width: 500px !important;}",
  885. " div.wrapper{margin: 0 !important; width: inherit !important;}",
  886. " div.wrapwide.topheadwide{background: none !important;}"
  887. ].join("\n");
  888. if (false || (document.domain == "dns-shop.ru" || document.domain.substring(document.domain.indexOf(".dns-shop.ru") + 1) == "dns-shop.ru"))
  889. css += " div.wrapper{width: auto !important;}";
  890. if (false || (document.domain == "yaplakal.com" || document.domain.substring(document.domain.indexOf(".yaplakal.com") + 1) == "yaplakal.com"))
  891. css += [
  892. " body{background:none !important;}",
  893. " #footer{background:url()!important;}",
  894. " #footer{background-image:none !important;}",
  895. " #footer,#top-line {background:none!important;padding:0!important;}",
  896. " #header,#footer {background-color:skyblue!important;}",
  897. " #content{max-width:none !important;}"
  898. ].join("\n");
  899. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  900. css += [
  901. " div[class=\"body-branding\"]{background:grey!important; padding-top: 0px!important; padding: 5px!important;}",
  902. " div[class=\"body-gaps\"]{max-width:100%!important;}"
  903. ].join("\n");
  904. if (false || (document.domain == "zalil.su" || document.domain.substring(document.domain.indexOf(".zalil.su") + 1) == "zalil.su"))
  905. css += [
  906. " body{background:none !important;}",
  907. " body{background-color:gray !important;}",
  908. " body{background-image:none !important;}"
  909. ].join("\n");
  910. if (false || (document.domain == "taker.im" || document.domain.substring(document.domain.indexOf(".taker.im") + 1) == "taker.im"))
  911. css += [
  912. // !! скрываем рекламные ссылки (СПАМ) в тексте
  913. " a[href^=\"/phpBB2/goto/http://www.ebay.com/sch/\"][rel=\"nofollow\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  914. ].join("\n");
  915. if (typeof GM_addStyle != "undefined") {
  916. GM_addStyle(css);
  917. } else if (typeof PRO_addStyle != "undefined") {
  918. PRO_addStyle(css);
  919. } else if (typeof addStyle != "undefined") {
  920. addStyle(css);
  921. } else {
  922. var node = document.createElement("style");
  923. node.type = "text/css";
  924. node.appendChild(document.createTextNode(css));
  925. var heads = document.getElementsByTagName("head");
  926. if (heads.length > 0) {
  927. heads[0].appendChild(node);
  928. } else {
  929. // no head yet, stick it whereever
  930. document.documentElement.appendChild(node);
  931. }
  932. }
  933. }());
  934.  
  935. // позаимствовано у lainverse (https://greasyfork.org/ru/scripts/809-no-yandex-ads)
  936. // Удаляет рекламу из поиска Яндекс
  937. (function(){
  938. 'use strict';
  939. // var lct = location.href;
  940. // if(lct.match(/^https?://(news\.yandex\.|(www\.)?yandex\.[^/]+/(yand)?search[/?])/)) {
  941. // Generic ads removal and fixes
  942. (function(s){
  943. if (s) s.style.marginTop='0';
  944. })(document.querySelector('.serp-header'));
  945. (function(s){
  946. while(s = document.querySelector('.serp-adv__head+.serp-item'))
  947. s.parentNode.removeChild(s);
  948. })();
  949. (function(s){
  950. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  951. })(document.querySelectorAll(['#adbanner',
  952. '.serp-adv',
  953. '.b-spec-adv',
  954. 'div[class*="serp-adv__"]',
  955. '.footer_distro_yes'].join(',')));
  956.  
  957. // Search ads
  958. function removeAds() {
  959. var s = document.querySelectorAll(['.serp-block',
  960. '.serp-item',
  961. '.search-item'].join(','));
  962. for (var l = 0; l < s.length; l++) {
  963. var i = s[l].querySelector(['.label',
  964. '.serp-item__label',
  965. '.document__provider-name'].join(','));
  966. if (!i) continue;
  967. if (i.textContent.indexOf('Реклама') > -1 || i.textContent.indexOf('Яндекс.Директ') > -1){
  968. s[l].parentNode.removeChild(s[l]);
  969. console.log('Ads removed.');
  970. }
  971. }
  972. }
  973.  
  974. // News ads
  975. function removeNewsAds() {
  976. var s = document.querySelectorAll(['.story[id]',
  977. '.document[id]',
  978. '.story__group[id]'].join(','));
  979. for (var l = 0; l < s.length; l++)
  980. if (window.getComputedStyle(s[l]).position === 'absolute') {
  981. s[l].parentNode.removeChild(s[l]);
  982. console.log('Ads removed.');
  983. }
  984. }
  985. // News fixes
  986. function removePageAdsClass() {
  987. if (document.body.classList.contains("b-page_ads_yes")){
  988. document.body.classList.remove("b-page_ads_yes");
  989. console.log('Page ads class removed.');
  990. }
  991. }
  992.  
  993.  
  994. // Attaches observer to the page elements which Yandex updates via AJAX to display new search or news results
  995. function pageUpdateObserver(func, obj, params) {
  996. if (obj)
  997. new MutationObserver(func).observe(obj,(params?params:{childList:true}));
  998. }
  999.  
  1000. if (window.location.hostname.search(/^news\./i) === 0) {
  1001. pageUpdateObserver(removeNewsAds, document.querySelector('BODY'));
  1002. pageUpdateObserver(removePageAdsClass, document.body, {attributes:true, attributesFilter:['class']});
  1003. removeNewsAds();
  1004. removePageAdsClass();
  1005. } else {
  1006. pageUpdateObserver(removeAds, document.querySelector('.main__content'));
  1007. removeAds();
  1008. }
  1009. // }
  1010. })();
  1011. // Удаляет рекламу из вконтакта
  1012. (function(){
  1013. var lct = location.href;
  1014. if(lct.match(/^https?:\/\/(.*\.)?(vkontakte\.ru|vk\.com)\/.*/)) {
  1015. // Generic ads removal
  1016. (function(s){
  1017. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  1018. })(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'));
  1019. }
  1020. }());
  1021. }());