RU Max4_ABP_Fix CSS

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

当前为 2016-06-26 提交的版本,查看 最新版本

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