RU Max4_ABP_Fix CSS

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

当前为 2016-01-16 提交的版本,查看 最新版本

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