RU Max4_ABP_Fix CSS

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

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

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