RU Max4_ABP_Fix CSS

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

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

  1. // ==UserScript==
  2. // @name RU Max4_ABP_Fix CSS
  3. // @namespace https://greasyfork.org
  4. // @description Дополнение, исправляющее работу Adblock Plus для отдельных сайтов. Возвращаем функционал Ad-Охотника в Maxthon4. Спасибо lainverse за идею.
  5. // @author lainverse & ALeXkRU
  6. // @license CC BY-SA
  7. // @homepage https://greasyfork.org/ru/scripts/8225-ru-max4-abp-fix-css
  8. // @run-at document-end
  9. // @include *
  10. // @version 0.20160210140024
  11. // @grant GM_addStyle
  12. // ==/UserScript==
  13. (function(){
  14. (function(){var css = "";
  15. // ! console.log("es");
  16. 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"))
  17. css += [
  18. // правка структуры Ru-Board
  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.me" || document.domain.substring(document.domain.indexOf(".nnm.me") + 1) == "nnm.me") || (document.domain == "nnm-club.me" || document.domain.substring(document.domain.indexOf(".nnm-club.me") + 1) == "nnm-club.me") || (document.domain == "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.me" || document.domain.substring(document.domain.indexOf(".nnm.me") + 1) == "nnm.me") || (document.domain == "nnm-club.me" || document.domain.substring(document.domain.indexOf(".nnm-club.me") + 1) == "nnm-club.me") || (document.domain == "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. "body{background: none !important;}",
  355. " body, #theme_8, #theme_2, #theme_3, #theme_4, #theme_5, #theme_6, #theme_7, #theme_1{background: url(\'\') !important;}",
  356. " body {background-image:none !important;}",
  357. " body, div#page{background:gray !important;background-color:gray !important;}",
  358. " body, div#page, element.style, #brTop{background-image:url('') !important;}",
  359. " body, div#page, .pirate-branding, .pb_button_play{background:none !important;}",
  360. " div#page, div#wrap{margin-top:0px !important;top: 0px !important;}",
  361. " div#optionspanel{margin-top:0px !important; margin-left:0px !important;}",
  362. " div#page>div[style*=\"width: 990px;\"][style*=\"height: 206px; position: relative;\"]{height: 0px !important;}",
  363. " .pb_top_img, .pirate-branding, a.pb_link, .pb_logo_brand, .pb_left_banner, .pb_right_banner, #b-logo{height: 0px !important;}",
  364. " .pirate-branding, .pb_button_play_big{top:0px !important;}",
  365. " body{padding-top: 0px !important;}",
  366. " #mmmBanner{height: 0px !important;}",
  367. " .head_assn {height: 0px !important; width: 0px !important;}",
  368. " .head_assn .assn_logo {width: 0px !important; height: 0px !important; top: 0px !important; left: 0px !important; background: url(\" \") !important; }",
  369. " .head_assn .assn_slogan {width: 0px !important; height: 0px !important; top: 0px !important; left:0px !important; background: url(\" \") !important; }",
  370. " html{height: 0px !important;}",
  371. " body{click=()!important;}",
  372. // !! заполненяем всю ширину экрана.
  373. " #wrap, #scrollPanel{width: 1320px !important;}",
  374. " #cntnt{margin-top: 0px !important; position: absolute !important; left: 0% !important; margin-left: 0px !important;}",
  375. " #wrapper {width: 1300px !important;}",
  376. " #content{width: 900px !important;}",
  377. " body {text-align:center!important;}",
  378. " #page {display:inline-block !important; margin-top:0 !important;}",
  379. " #wrap {text-align:initial !important;}"
  380. ].join("\n");
  381. 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"))
  382. css += [
  383. // ! site yandex
  384. // !!? ".adsrv {width:0px!important;min-width:0!important;max-width:0!important;",
  385. " .i-bem[style*=\'opacity:1!important\'] {width:0px!important;min-width:0!important;max-width:0!important;",
  386. " height:0!important;min-height:0!important;max-height:0!important;",
  387. " overflow:hidden!important;}",
  388. " .b-top-wizard{width:1000px!important;} .b-body-items.b-serp-list{width:1000px!important;}",
  389. // ! !! чистим maps.yandex
  390. " .ymaps-map{background:none !important;}",
  391. // " .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;}",
  392. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background-image:url() !important;}",
  393. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background:url(\'\') !important;}",
  394. // ! !! убрать все фоновые рисунки в картах
  395. // ! " ymaps{background-image:url() !important;}",
  396. " tv.yandex.ru##td[width=\"24%\"]{width:12%!important;}",
  397. " a{onmousedown=''!important;}",
  398. " a{onclick=''!important;}"
  399. ].join("\n");
  400. // !! 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"))
  401. if (false || (document.domain == "soft-club.me" || document.domain.substring(document.domain.indexOf(".soft-club.me") + 1) == "soft-club.me"))
  402. css += [
  403. // ! !! --- широко
  404. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  405. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
  406. " article,.header,.header-main{width:100%!important;}",
  407. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  408. ].join("\n");
  409. if (false || (document.domain == "4seasons-ltc.com" || document.domain.substring(document.domain.indexOf(".4seasons-ltc.com") + 1) == "4seasons-ltc.com"))
  410. css += [
  411. "body{background-image:none !important;}",
  412. " body{font-family: Tahoma !important;}"
  413. ].join("\n");
  414. if (false || (document.domain == "80-e.ru" || document.domain.substring(document.domain.indexOf(".80-e.ru") + 1) == "80-e.ru"))
  415. css += [
  416. " div#ipbwrapper{margin: 0 !important;width: inherit !important;max-width: inherit !important;}"
  417. ].join("\n");
  418. if (false || (document.domain == "china-review.com.ua" || document.domain.substring(document.domain.indexOf(".china-review.com.ua") + 1) == "china-review.com.ua"))
  419. css += [
  420. "body{background:url()!important;}",
  421. " body{background-image:none !important;}",
  422. " body{background:none!important;}",
  423. " body{margin-top:0px!important;}"
  424. ].join("\n");
  425. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  426. css += [
  427. "body{background:none!important;} .layer_top {background:none!important;} .layer_bottom {background:none!important;} .cast_bg{background:none!important;}",
  428. " .contentbg {background-image:none!important;} #4iframe {background-image:none!important;} ",
  429. " #framescr{background-image:none!important;}"
  430. ].join("\n");
  431. if (false || (document.domain == "amovies.tv" || document.domain.substring(document.domain.indexOf(".amovies.tv") + 1) == "amovies.tv"))
  432. css += [
  433. // !! расширяем
  434. "article{width: 980px !important;}",
  435. " #vk_select {float:none !important;margin-left: 445px!important;}",
  436. " #vk_top,#vk_select {background:url()!important;}"
  437. ].join("\n");
  438. if (false || (document.domain == "apteka.ru" || document.domain.substring(document.domain.indexOf(".apteka.ru") + 1) == "apteka.ru"))
  439. css += [
  440. " div.wrapper_root>div.wrapper>section.middle{margin-bottom: 0 !important;}",
  441. " div.wrapper_root>div.wrapper>section.middle>div.container.clr{min-height: 180px !important;}",
  442. " div.wrapper_root>div.wrapper>section.middle>div.container.clr>div.content.bottom-content>section.items.items-tile.items-viewed{margin: 0!important;}",
  443. " div.wrapper_root>div.wrapper>section.middle>div.tabs.top-tabs.clr{margin-bottom: 0 !important;}"
  444. ].join("\n");
  445. if (false || (document.domain == "avito.ru" || document.domain.substring(document.domain.indexOf(".avito.ru") + 1) == "avito.ru"))
  446. css += " .bonprix-1{background: none !important;} ";
  447. if (false || (document.domain == "bash.im" || document.domain.substring(document.domain.indexOf(".bash.im") + 1) == "bash.im"))
  448. css += " span.csd{background:none !important;}";
  449. if (false || (document.domain == "best-cashback.ru" || document.domain.substring(document.domain.indexOf(".best-cashback.ru") + 1) == "best-cashback.ru"))
  450. css += [
  451. " [id=\"menu-osnovnoe-menyu\"]>[id^=\"menu-item-\"]>a.menu-item-link{color: black !important;}",
  452. " div#theme-page{top: 80px !important;}",
  453. " [class^=\"mk-header-\"]{background-color: lightgrey !important;}",
  454. " section#mk-footer{padding: 0 !important; top: 80px !important;}",
  455. " div#sub-footer{background-color: lightgrey !important;}"
  456. ].join("\n");
  457. if (false || (document.domain == "besplatnye-kupony.ru" || document.domain.substring(document.domain.indexOf(".besplatnye-kupony.ru") + 1) == "besplatnye-kupony.ru"))
  458. css += [
  459. " body{background: none !important; background-color: lightgrey !important;}",
  460. " div{width: inherit !important; margin: 0 !important;}",
  461. " div#site-container{border: none !important;}"
  462. ].join("\n");
  463. if (false || (document.domain == "bestrepack.net" || document.domain.substring(document.domain.indexOf(".bestrepack.net") + 1) == "bestrepack.net"))
  464. css += " div#body_container{padding: 0 !important;}";
  465. if (false || (document.domain == "bigpicture.ru" || document.domain.substring(document.domain.indexOf(".bigpicture.ru") + 1) == "bigpicture.ru"))
  466. css += [
  467. " div.content{padding: 0 !important;}",
  468. " div.podheader{width: 240px !important; float: right !important;}",
  469. " div.podheader-right{float: right !important;}"
  470. ].join("\n");
  471. 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"))
  472. css += [
  473. " body{background-image:none !important;}",
  474. " body{background-image:url(\" \")!important;}",
  475. // !! --- расширим ---
  476. " .content-outer, .content-fauxcolumn-outer, .region-inner {max-width: none !important;}",
  477. " div#header-inner>div.descriptionwrapper{margin-bottom: 5px !important;}",
  478. " #outer-wrapper {width: 95% !important;}",
  479. " #main-wrapper {width: 95% !important;}"
  480. ].join("\n");
  481. if (false || (document.domain == "bookvoed.ru" || document.domain.substring(document.domain.indexOf(".bookvoed.ru") + 1) == "bookvoed.ru"))
  482. css += " .Fh{margin-top: 79px!important;}";
  483. if (false || (document.domain == "calend.ru" || document.domain.substring(document.domain.indexOf(".calend.ru") + 1) == "calend.ru"))
  484. css += " .pad, .main-l{width:95% !important;}";
  485. if (false || (document.domain == "clubupravdom.ru" || document.domain.substring(document.domain.indexOf(".clubupravdom.ru") + 1) == "clubupravdom.ru"))
  486. css += " *{background-image: none !important;}";
  487. if (false || (document.domain == "computerra.ru" || document.domain.substring(document.domain.indexOf(".computerra.ru") + 1) == "computerra.ru"))
  488. css += [
  489. " div.page.page-podl{padding-top: 0px!important;}",
  490. " div#under{width:auto!important;}",
  491. " a.link{font-weight:bold!important; font-family:Verdana!important;font-size: 12px!important;}",
  492. " div.column{max-width:80%!important;}"
  493. ].join("\n");
  494. if (false || (document.domain == "cont.ws" || document.domain.substring(document.domain.indexOf(".cont.ws") + 1) == "cont.ws"))
  495. css += [
  496. " body>div.content{width: 100% !important;}",
  497. " body>div.content>div{margin: 0 !important;}",
  498. " body>div.content{margin-left: 5px !important;}",
  499. " body>div.content{margin-right: 5px !important;}",
  500. " div.sidebar{width: 14% !important;}",
  501. " [class^=\"post\"]{width: 85% !important;}",
  502. " [class^=\"post\"]{max-width: 1880px !important; margin: 0 !important; padding: 0 !important;}",
  503. " div.post>[class^=\"article\"]{padding: 0 !important;}",
  504. " div#wp.author-bar2.wallpaper.plus{background-image: url() !important; padding: 0 !important;}",
  505. " div.author-bar2-inside{padding: 0 !important;}",
  506. " a.m_author{display: inline-block !important;}",
  507. " .plus .author-bar2-inside{color: #666 !important;}",
  508. " div.dark{background: url() !important;}",
  509. " .wallpaper .author-bar2-inside, .wallpaper .author-bar2-inside a, .wallpaper .author-bar2-inside textarea {color: inherit !important;}"
  510. ].join("\n");
  511. if (false || (document.domain == "crowdin.com" || document.domain.substring(document.domain.indexOf(".crowdin.com") + 1) == "crowdin.com"))
  512. css += " #user-cover-picture,#user-cover-picture-blurred{background:url()!important;}";
  513. 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"))
  514. css += [
  515. "body{background:none !important;}",
  516. " td{background-image:none !important;}"
  517. ].join("\n");
  518. if (false || (document.domain == "ebay-forum.ru" || document.domain.substring(document.domain.indexOf(".ebay-forum.ru") + 1) == "ebay-forum.ru"))
  519. 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;}";
  520. 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"))
  521. css += [
  522. "body{background:none !important;}",
  523. " body{background-image:none !important;}"
  524. ].join("\n");
  525. if (false || (document.domain == "ddlmkvhd.com" || document.domain.substring(document.domain.indexOf(".ddlmkvhd.com") + 1) == "ddlmkvhd.com"))
  526. css += [
  527. " body{background: none !important;}",
  528. " div.page-body-t{position: relative !important;}"
  529. ].join("\n");
  530. if (false || (document.domain == "ddlvillage.org" || document.domain.substring(document.domain.indexOf(".ddlvillage.org") + 1) == "ddlvillage.org"))
  531. css += [
  532. " div{background: none !important;}"
  533. ].join("\n");
  534. if (false || (document.domain == "f1news.ru" || document.domain.substring(document.domain.indexOf(".f1news.ru") + 1) == "f1news.ru"))
  535. css += [
  536. " div[id=\"bannerText\"]{border:0px!important;margin-left:10px!important;}",
  537. " body{background:url() top center no-repeat #000000 !important;}",
  538. // !! расширяем текстовое поле
  539. " div#textBlock{width:900px !important;}"
  540. ].join("\n");
  541. if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
  542. css += [
  543. " #contentArea {width: 750px !important;}",
  544. " .uiUfi {width: 650px !important;}",
  545. // !! " body {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  546. // !! " #contentCol {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  547. " div#profile_stream_composer {background-color:#C1D5F6;}",
  548. " #blueBar {background-color: transparent !important;}",
  549. " #headNav {background-color: #transparent !important;}",
  550. " .jewelButton {background-color: transparent !important;}",
  551. " #fbNotificationsFlyout {left: 50px !important;}",
  552. " .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;}",
  553. // !! " #pageNav a {color: #00ffff !important;display: inline-block;font-weight: bold;height: 22px;padding: 8px 10px 0px;text-decoration: none;}",
  554. " .UIImageBlock {color: #000000 !important;}",
  555. " .fcg {color: darkgreen !important;}",
  556. " .mts.uiAttachmentDesc.translationEligibleUserAttachmentMessage {color: black !important;}"
  557. ].join("\n");
  558. if (false || (document.domain == "fastpic.ru" || document.domain.substring(document.domain.indexOf(".fastpic.ru") + 1) == "fastpic.ru"))
  559. css += [
  560. "html,body,#mainContainer,#footerContainer,#content,#footer {margin:0!important;width:100%!important;border-radius:0!important}",
  561. " #mainContainer>table {width:850px!important;margin:auto!important}",
  562. " #picContainer {float:none!important;margin:auto!important}",
  563. " html,body {cursor:auto!important}",
  564. " html,body {height:100%!important;display:flex!important;flex-direction:column!important}",
  565. " #mainContainer {flex-grow:1!important}",
  566. " #mainContainer,#footerContainer {overflow:visible!important}",
  567. " #content,#footer {background-color:transparent!important}",
  568. " #content {display:flex!important;flex-grow:1!important;min-height:inherit!important}",
  569. //??
  570. " #logo-area{padding-top: 0px!important;}",
  571. " *{background:none !important;}",
  572. " *{background-image:none !important;}",
  573. " #footer-container {background-image:none!important;height:auto!important;}",
  574. " body > a {display:none!important;}",
  575. " div#show-code-content.rounded-corners{position: inherit!important;}",
  576. " div#foot-area.center.rounded-corners{position: inherit!important;}",
  577. " div#footer.center.rounded-corners{position: inherit!important;}",
  578. " .center {padding:0!important}",
  579. " div#right-bottom.rounded-corners{position: relative!important;margin-top:0px!important;height:0px!important;padding-top:5px!important;}",
  580. // !! всё - чёрным
  581. " *{color: black!important;}",
  582. " body{background: none!important;}"
  583. // " html {background-color:#171616!important;}"
  584. ].join("\n");
  585. if (false || (document.domain == "filmix.net" || document.domain.substring(document.domain.indexOf(".filmix.net") + 1) == "filmix.net"))
  586. css += " body{padding: 0px 0 0 0!important;}";
  587. if (false || (document.domain == "formulakino.ru" || document.domain.substring(document.domain.indexOf(".formulakino.ru") + 1) == "formulakino.ru"))
  588. css += [
  589. " div.backF>a>span{background-image:none !important; background:#fff !important;}",
  590. " div.vjs-poster{background:url()!important;}",
  591. " div.pagecontent{margin-top:0px!important;}",
  592. " div#wrapper{background:#fff!important;}"
  593. ].join("\n");
  594. if (false || (document.domain == "google.ru" || document.domain.substring(document.domain.indexOf(".google.ru") + 1) == "google.ru"))
  595. css += [
  596. " 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;}",
  597. " body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child:hover {opacity:1;}",
  598. " body[class=\"cP\"] tr td.Bu:last-child div.nH {width: 0px!important;}",
  599. // ! расширяем выдачу в поиске
  600. " .center_col,#center_col {width:1000px!important; margin-left:10px !important; margin-right:10px !important;} .s {max-width:100% !important;}"
  601. ].join("\n");
  602. if (false || (document.domain == "ifmo.ru" || document.domain.substring(document.domain.indexOf(".ifmo.ru") + 1) == "ifmo.ru"))
  603. css += [
  604. " header.h-header, .b-header-pad{height: 100px !important;}"
  605. ].join("\n");
  606. if (false || (document.domain == "igromania.ru" || document.domain.substring(document.domain.indexOf(".igromania.ru") + 1) == "igromania.ru"))
  607. css += [
  608. // !! " *{background-image: none !important;}",
  609. " div.out_out, element.style {background-image: url() !important;}"
  610. ].join("\n");
  611. if (false || (document.domain == "inosmi.ru" || document.domain.substring(document.domain.indexOf(".inosmi.ru") + 1) == "inosmi.ru"))
  612. css += [
  613. " body{background-image:none !important;}",
  614. " body{background:url()!important;}",
  615. // !! поаккуратнее
  616. " .header{padding-top:0px!important;}",
  617. " #addbwr{margin-top:0px!important;}",
  618. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след. строками )
  619. " .mainbox{width:95%!important;}",
  620. " .section{width:100%!important;}",
  621. " .floatleft{width:80%!important;}",
  622. " .floatleft.box3row{width:50%!important;}",
  623. " .floatleft.box3row3{width:50%!important;}",
  624. " .bodypage{width:100%!important; }",
  625. " .floatright{width:10%!important;}",
  626. " .article{width:100%!important; }",
  627. " .announce{width:80%!important; }"
  628. ].join("\n");
  629. if (false || (document.domain == "keeplinks.eu" || document.domain.substring(document.domain.indexOf(".keeplinks.eu") + 1) == "keeplinks.eu"))
  630. css += " div#header{background: none !important;}";
  631. if (false || (document.domain == "letitfilms.com" || document.domain.substring(document.domain.indexOf(".letitfilms.com") + 1) == "letitfilms.com"))
  632. css += [
  633. " body{background: url() !important; background-color: black !important;}",
  634. " div#container{width: inherit !important; margin: 0 !important;}",
  635. " div#container>div#main>*{padding: 0 !important;}",
  636. " div#container>div#main>aside{width: 20% !important;}",
  637. " div#container>div#main>div#content{width: 79% !important;}"
  638. ].join("\n");
  639. if (false || (document.domain == "livesport.ws" || document.domain.substring(document.domain.indexOf(".livesport.ws") + 1) == "livesport.ws"))
  640. css += [
  641. // !! убираем фон и баннер
  642. " body {background:none!important;color:#333!important;}",
  643. " body{background:url()!important;background-color:#000002!important;}",
  644. " body,.top-panel-wrap.fixed {background-image:url() !important;}",
  645. " body{background-image:none !important;}",
  646. " div[id=\"flash\"]{height: 0px !important;}"
  647. ].join("\n");
  648. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  649. css += [
  650. // " body{background:#c0c0c0 !important;}",
  651. " .main_logo_link {margin-top:5px!important;background-color:transparent!important}",
  652. " .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)}",
  653. " body,.logo>.up {background:none!important;background-color:#c0c0c0!important}",
  654. " div>div>a>div[style\*=\"height\"] {display:none!important;}",
  655. // " .prof,.user_menu_link,.wh {color:white!important;}",
  656. " .prof,.user_menu_link,.wh,.logo>.up {color:white!important}",
  657. " .prof,.logo {height:80px!important}",
  658. " .logo>a {text-decoration:underline!important}",
  659. " body{background:none!important;}",
  660. " body{background-image:none !important;}",
  661. " body{background:gray!important;}",
  662. " div[class=\"mid\"]{background:LightGrey!important;}",
  663. // !! ==== и меняем на читаемый цвет
  664. " div[class=\"user_avatar\"]{color:black !important;}",
  665. " span[class=\"wh\"]{color:black !important;}",
  666. " a[href*=\"\/my.php\"]{color:black !important;}",
  667. " a[href*=\"\/messages.php\"]{color:black !important;}",
  668. " a[href*=\"bogi.ru\/logout.php\"]{color:black !important;}",
  669. // !! расширяем полезную площадь
  670. " body>div#MainDiv>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
  671. " div[style^=\"width:497px;\"]{width:58% !important;}",
  672. " body>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
  673. " div[style^=\"width:498px;\"]{width:58% !important;}",
  674. " div[style*=\"background:#FFFFFF;display:block;padding:10px;float:left;overflow-x:hidden;width:350px;\"]{width:100% !important;}"
  675. ].join("\n");
  676. if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
  677. css += [
  678. " body,.forecast-rb-bg,.b-bg{background-image: none!important;}",
  679. " .SearchForm,.form,.txt1,.txt2,.txt3,.people1,.people2,.people3,.GRcorrect, .GRSpellingCorrect, .GRspelling {background: url('')!important;}"
  680. ].join("\n");
  681. if (false || (document.domain == "ncrypt.in" || document.domain.substring(document.domain.indexOf(".ncrypt.in") + 1) == "ncrypt.in"))
  682. css += [
  683. " body{background: none !important;}",
  684. " div#wrapper{margin: 0 0 0 0 !important;}"
  685. ].join("\n");
  686. 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"))
  687. css += [
  688. // !! "div {background-image:none !important;}",
  689. // !! "div {background:url()!important;}",
  690. // !! "div[class^=\"prl_slide_\"] {background:url()!important;}"
  691. "div[class=\"anonym_login\"]{width: 100% !important;}"
  692. ].join("\n");
  693. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  694. css += [
  695. " #main{background:none!important;background:#FFF!important;}",
  696. " div[id=\"main\"]>div[id=\"adw\"]{height:0px!important;}",
  697. " div[id=\"main\"]>div[class=\"box1\"]{height:0px!important;}",
  698. " div[id=\"main\"]>div:nth-of-type(1){height:0px!important;}",
  699. " #mainplace>table>tbody>tr:first-child,.needblock {display:none!important;}",
  700. " #wrapper {width:100%!important;}",
  701. " #main {padding-top:0!important;}"
  702. ].join("\n");
  703. if (false || (document.domain == "playground.ru" || document.domain.substring(document.domain.indexOf(".playground.ru") + 1) == "playground.ru"))
  704. css += "#foundationWrapper {background:#373737!important}";
  705. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  706. css += [
  707. " div.paral>a>div{background:url()!important;}",
  708. " div.paral>a>div{height:64px!important;}",
  709. " table#header_t {margin-top: 0px !important;}",
  710. " \\!! расширяем полезную площадь",
  711. " .b-story__content, .b-story__content_type_text {margin-left:5px !important; width: 800px !important; max-width: 800px !important;}"
  712. ].join("\n");
  713. if (false || (document.domain == "piter.tv" || document.domain.substring(document.domain.indexOf(".piter.tv") + 1) == "piter.tv"))
  714. css += [
  715. " body{background-image:none !important;}"
  716. ].join("\n");
  717. if (false || (document.domain == "politikus.ru" || document.domain.substring(document.domain.indexOf(".politikus.ru") + 1) == "politikus.ru"))
  718. css += [
  719. " body{background-image:none !important;}",
  720. " body{background:url()!important;}",
  721. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след.четырьмя строками )
  722. // " #main_content_holder{width:100%!important; }",
  723. // " #left{width:80%!important; }",
  724. // " .holder, div.block, .content, #dle-content{width:100% !important; }",
  725. // " .fullstory{width:95% !important; }"
  726. // !! доработанный вариант от Buba5473
  727. " div#header{width: inherit !important; margin: 0 !important;}",
  728. " div#header>div.holder{width: inherit !important; margin: 0 !important;}",
  729. " div#main_content_holder{width: inherit !important; margin: 0 !important;}",
  730. " div#main_content_holder>div#maintpl>div.holder{width: inherit !important; margin: 0 !important;}",
  731. " div#main_footer_holder{width: inherit !important; margin: 0 !important;}",
  732. " div#main_footer_holder>div.holder{width: inherit !important; margin: 0 !important;}",
  733. " div#main_content{margin: 0 !important;}",
  734. " div#right{margin: 0 !important; float: none !important; width: inherit !important;}",
  735. " div#left{width: 80% !important;}"
  736. ].join("\n");
  737. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  738. css += [
  739. "div.paral>a>div{background:url()!important;}",
  740. " div.paral>a>div{height:64px!important;}",
  741. " table#header_t {margin-top: 0px !important;}"
  742. ].join("\n");
  743. if (false || (document.domain == "pleer.com" || document.domain.substring(document.domain.indexOf(".pleer.com") + 1) == "pleer.com"))
  744. css += [
  745. " div#main.clearfix>div#container>div#content{margin: 0 !important;}",
  746. " 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;}",
  747. " 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;}"
  748. ].join("\n");
  749. 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"))
  750. css += [
  751. " .brand_bg{background-image:none !important;}",
  752. " .base-page_wrapper {width:auto!important; padding:0!important}",
  753. " .content{padding-top:0px !important;}"
  754. ].join("\n");
  755. if (false || (document.domain == "rambler.ru" || document.domain.substring(document.domain.indexOf(".rambler.ru") + 1) == "rambler.ru"))
  756. css += [
  757. ".b-left-column .b-left-column__wrapper{margin:0 !important;}",
  758. " div[class=\"appWindow\"]{right:0px!important;}"
  759. ].join("\n");
  760. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  761. css += " .article__content {margin-right: 0px !important;}";
  762. if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
  763. css += [
  764. "#octo-set{background-image:none!important;padding-top:0!important;}",
  765. " #main-wrapper{width:auto!important;}",
  766. " body{background-image: none!important;} ",
  767. " body{background:none!important;}",
  768. " #main-wrapper{top:10px!important;}",
  769. // !! cкрыть заголовок
  770. " #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;}"
  771. ].join("\n");
  772. 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"))
  773. css += [
  774. "*{background:none!important;}",
  775. " *{background:url('')!important;}",
  776. " *{background:silver!important; color:black!important;}",
  777. " 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; }"
  778. ].join("\n");
  779. if (false || (document.domain == "ruspravda.info" || document.domain.substring(document.domain.indexOf(".ruspravda.info") + 1) == "ruspravda.info"))
  780. css += [
  781. "body{background:white!important;}",
  782. " table#header_t {margin-top: 0px !important;}"
  783. ].join("\n");
  784. if (false || (document.domain == "rustorka.com" || document.domain.substring(document.domain.indexOf(".rustorka.com") + 1) == "rustorka.com"))
  785. css += " .topmenu{margin-top:25px !important;}";
  786. 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"))
  787. css += [
  788. // !! оформление от zuefhrf
  789. " div#brTop {background-image: url(\" \") !important;}",
  790. " div#ws div#sidebar{top: 0px !important;}",
  791. " div#ws div#sidebar{right: 8px !important;}",
  792. " div#ws div#sidebar div.sideblock{margin-top: 0px !important;}",
  793. " div#ws div#content{right: 6px !important;}",
  794. " h3{text-align: left !important;}"
  795. ].join("\n");
  796. if (false || (document.domain == "safety-gate.me" || document.domain.substring(document.domain.indexOf(".safety-gate.me") + 1) == "safety-gate.me"))
  797. css += [
  798. // ! !! --- широко
  799. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  800. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
  801. " article,.header,.header-main{width:100%!important;}",
  802. " .xbBoxed,.pageContent{max-width:100%!important;}",
  803. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  804. ].join("\n");
  805. if (false || (document.domain == "samlab.ws" || document.domain.substring(document.domain.indexOf(".samlab.ws") + 1) == "samlab.ws"))
  806. css += [
  807. "div.box.main {width: auto; !important;}",
  808. " div#right {width: 2px; !important;}"
  809. ].join("\n");
  810. if (false || (document.domain == "samlib.ru" || document.domain.substring(document.domain.indexOf(".samlib.ru") + 1) == "samlib.ru"))
  811. css += [
  812. "body {font-family: sans-serif !important;line-height: 140% !important;color: #B2B2B2 !important;background: #3A3E46 !important;}",
  813. " font {color: #B2B2B2 !important;}",
  814. " table, td, td font {color: #BEBEBE !important;background-color: #555C66 !important;}",
  815. " a:link {color: #9DD7FF !important;}",
  816. " a:visited {color: #EAB6FF !important;}",
  817. " a:hover {color: #F0B2B2 !important;}",
  818. " dl {margin-top: 1em !important;}"
  819. ].join("\n");
  820. if (false || (document.domain == "securitylab.ru" || document.domain.substring(document.domain.indexOf(".securitylab.ru") + 1) == "securitylab.ru"))
  821. css += [
  822. " #content #left{margin-left: 0px!important;max-width: 1000px!important;}",
  823. // !! логотип
  824. " div#header{height:00px!important;background-color:white!important;} div#MAIN_MENU{top:0px!important;}"
  825. ].join("\n");
  826. if (false || (document.domain == "sportbox.ru" || document.domain.substring(document.domain.indexOf(".sportbox.ru") + 1) == "sportbox.ru"))
  827. css += [
  828. " body{background:none!important;padding-top: 0px!important;}",
  829. " .sb_c_topmed_olymp, .gold, .silver, .bronze {background:none!important;}"
  830. ].join("\n");
  831. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  832. css += [
  833. " body.img-bg,#branding-layout {background:gray!important;}",
  834. " body.img-bg,#branding-layout {padding-top:0!important;}",
  835. " .kaspersky, .overall {background:none!important;}",
  836. " .kaspersky, .pageLayout {top: 0px!important;}"
  837. ].join("\n");
  838. if (false || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me"))
  839. css += [
  840. " body{background:url()!important;}",
  841. " body{background-image: none !important;}",
  842. " div#brTop{background-image:url(\'\') !important;}",
  843. " element.style{background:url()!important;}",
  844. " element.style, #skin_crown{background-image:url()!important;}",
  845. " body{background:#D4D4D4 !important;}",
  846. " body{padding:0 !important;}",
  847. " table#home_c{width: inherit !important;}",
  848. " [id^=\"top_\"]{width: inherit !important;}",
  849. " body{padding-top:0px !important;}",
  850. // !! расширяем
  851. " #table_reduser, #head, #foot_links{width:98% !important;}",
  852. " #top_tools {padding-left:0!important}"
  853. ].join("\n");
  854. if (false || (document.domain == "torrent-tv.ru" || document.domain.substring(document.domain.indexOf(".torrent-tv.ru") + 1) == "torrent-tv.ru"))
  855. css += [
  856. " body {background-image:none!important;padding-top: 0px!important;}",
  857. " div#main-wrapper {top:auto!important;}",
  858. " div.news-text {width:auto!important;}",
  859. " div[class^=\"usual-header\"] {width:126%!important;}",
  860. " div[class=\"usual\"] {width:132%!important;}",
  861. " div[class^=\"usual-content\"] {width:99%!important;}"
  862. // !!
  863. // !! " body>div:nth-of-type(1) {background:url()!important;}",
  864. // !! " body {background:gray!important;}",
  865. ].join("\n");
  866. if (false || (document.domain == "turbobit.net" || document.domain.substring(document.domain.indexOf(".turbobit.net") + 1) == "turbobit.net"))
  867. css += " html {background:none!important;}";
  868. if (false || (document.domain == "velolive.com" || document.domain.substring(document.domain.indexOf(".velolive.com") + 1) == "velolive.com"))
  869. css += " body {background:url() !important;}";
  870. if (false || (document.domain == "vesti.ru" || document.domain.substring(document.domain.indexOf(".vesti.ru") + 1) == "vesti.ru"))
  871. css += [
  872. " .bottom_bg {background: none !important;}",
  873. " body, .head, .all_wrap {background: url(\" \") !important;}"
  874. ].join("\n");
  875. if (false || (document.domain == "vipfiles.nu" || document.domain.substring(document.domain.indexOf(".vipfiles.nu") + 1) == "vipfiles.nu"))
  876. css += [
  877. " div.loginformbox{background: none !important;}",
  878. " div.tophhhhheader{background: none !important; padding: 0 !important; height: 75px !important;}",
  879. " div.tophhhhheader>div.item1{height: 10px !important;}",
  880. " div.tophhhhheader>div.item2{float: left !important; width: 500px !important;}",
  881. " div.wrapper{margin: 0 !important; width: inherit !important;}",
  882. " div.wrapwide.topheadwide{background: none !important;}"
  883. ].join("\n");
  884. if (false || (document.domain == "dns-shop.ru" || document.domain.substring(document.domain.indexOf(".dns-shop.ru") + 1) == "dns-shop.ru"))
  885. css += " div.wrapper{width: auto !important;}";
  886. if (false || (document.domain == "yaplakal.com" || document.domain.substring(document.domain.indexOf(".yaplakal.com") + 1) == "yaplakal.com"))
  887. css += [
  888. " body{background:none !important;}",
  889. " #footer{background:url()!important;}",
  890. " #footer{background-image:none !important;}",
  891. " #footer,#top-line {background:none!important;padding:0!important;}",
  892. " #header,#footer {background-color:skyblue!important;}",
  893. " #content{max-width:none !important;}"
  894. ].join("\n");
  895. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  896. css += [
  897. " div[class=\"body-branding\"]{background:grey!important; padding-top: 0px!important; padding: 5px!important;}",
  898. " div[class=\"body-gaps\"]{max-width:100%!important;}"
  899. ].join("\n");
  900. if (false || (document.domain == "zalil.su" || document.domain.substring(document.domain.indexOf(".zalil.su") + 1) == "zalil.su"))
  901. css += [
  902. " body{background:none !important;}",
  903. " body{background-color:gray !important;}",
  904. " body{background-image:none !important;}"
  905. ].join("\n");
  906. if (false || (document.domain == "taker.im" || document.domain.substring(document.domain.indexOf(".taker.im") + 1) == "taker.im"))
  907. css += [
  908. // !! скрываем рекламные ссылки (СПАМ) в тексте
  909. " a[href^=\"/phpBB2/goto/http://www.ebay.com/sch/\"][rel=\"nofollow\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  910. ].join("\n");
  911. if (typeof GM_addStyle != "undefined") {
  912. GM_addStyle(css);
  913. } else if (typeof PRO_addStyle != "undefined") {
  914. PRO_addStyle(css);
  915. } else if (typeof addStyle != "undefined") {
  916. addStyle(css);
  917. } else {
  918. var node = document.createElement("style");
  919. node.type = "text/css";
  920. node.appendChild(document.createTextNode(css));
  921. var heads = document.getElementsByTagName("head");
  922. if (heads.length > 0) {
  923. heads[0].appendChild(node);
  924. } else {
  925. // no head yet, stick it whereever
  926. document.documentElement.appendChild(node);
  927. }
  928. }
  929. }());
  930.  
  931. // позаимствовано у lainverse (https://greasyfork.org/ru/scripts/809-no-yandex-ads)
  932. // Удаляет рекламу из поиска Яндекс
  933. (function(){
  934. /* jshint -W097 */
  935. /*'use strict';*/
  936. var lct = location.href;
  937. if(lct.match(/^https?:\/\/(news\.yandex\.|yandex\.[^\/]+\/(yand)?search[\/?])/)) {
  938. // Generic ads removal
  939. (function(s){
  940. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  941. })(document.querySelectorAll('.serp-adv,.b-spec-adv,#adbanner,.footer_distro_yes'));
  942. (function(s){
  943. if (s) s.style.marginTop='0';
  944. })(document.querySelector('.serp-header'));
  945.  
  946. // Search ads
  947. function removeAds() {
  948. var s = document.querySelectorAll('.serp-block,.search-item');
  949. for (var l = 0; l < s.length; l++) {
  950. var i = s[l].querySelector('.serp-item__label,.label,.document__provider-name');
  951. if (!i) continue;
  952. if (i.textContent.indexOf('Реклама') > -1 || i.textContent.indexOf('Яндекс.Директ') > -1){
  953. s[l].parentNode.removeChild(s[l]);
  954. console.log('Ads removed.');
  955. }
  956. }
  957. }
  958.  
  959. // News ads
  960. function removeNewsAds() {
  961. var s = document.querySelectorAll('.story[id],.story__group[id],.document[id]');
  962. for (var l = 0; l < s.length; l++)
  963. if (window.getComputedStyle(s[l]).position === 'absolute') {
  964. s[l].parentNode.removeChild(s[l]);
  965. console.log('Ads removed.');
  966. }
  967. }
  968. // News fixes
  969. function removePageAdsClass() {
  970. if (document.body.classList.contains("b-page_ads_yes")){
  971. document.body.classList.remove("b-page_ads_yes");
  972. console.log('Page ads class removed.')
  973. }
  974. }
  975.  
  976.  
  977. // Attaches observer to the page elements which Yandex updates via AJAX to display new search or news results
  978. function pageUpdateObserver(func, obj, params) {
  979. if (obj)
  980. new MutationObserver(func).observe(obj,(params?params:{childList:true}));
  981. }
  982.  
  983. if (window.location.hostname.search(/^news\./i) === 0) {
  984. pageUpdateObserver(removeNewsAds, document.querySelector('BODY'));
  985. pageUpdateObserver(removePageAdsClass, document.body, {attributes:true, attributesFilter:['class']});
  986. removeNewsAds();
  987. removePageAdsClass();
  988. } else {
  989. pageUpdateObserver(removeAds, document.querySelector('.main__content'));
  990. removeAds();
  991. }
  992. }
  993. }());
  994. // Удаляет рекламу из вконтакта
  995. (function(){
  996. var lct = location.href;
  997. if(lct.match(/^https?:\/\/(.*\.)?(vkontakte\.ru|vk\.com)\/.*/)) {
  998. // Generic ads removal
  999. (function(s){
  1000. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  1001. })(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'));
  1002. }
  1003. }());
  1004. }());