RU Max4_ABP_Fix CSS

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

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

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