Greasy Fork 还支持 简体中文。

RU Max4_ABP_Fix CSS

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

目前為 2015-08-25 提交的版本,檢視 最新版本

  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-start
  9. // @version 0.20150825060020
  10. // @grant GM_addStyle
  11. // ==/UserScript==
  12. (function() {var css = "";
  13. css += [
  14. "@namespace url(http://www.w3.org/1999/xhtml);",
  15. "",
  16. "/* Фильтры фоновых картинок */"
  17. ].join("\n");
  18. if (false || (document.domain == "ru-board.com" || document.domain.substring(document.domain.indexOf(".ru-board.com") + 1) == "ru-board.com"))
  19. css += [
  20. // правка структуры Ru-Board
  21. "span.dats{position:relative!important;top: 10px!important;}",
  22. // !! скрываем рекламные ссылки (СПАМ) в сообщениях
  23. " a[href^=\"http://forum.ru-board.com/\"][href$=\"/\"][target=\"_blank\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  24. // !! ======= ПРАВКА СТРУКТУРЫ. вынесено в отдельный скрипт. См. Ru-Board_Extrim_Max4_ABP_Fix-CSS =======
  25. ].join("\n");
  26. 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 == "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 == "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 == "zakon.kz" || document.domain.substring(document.domain.indexOf(".zakon.kz") + 1) == "zakon.kz") || (document.domain == "muzofon.com" || document.domain.substring(document.domain.indexOf(".muzofon.com") + 1) == "muzofon.com"))
  27. css += " html, html>body {background-image:none!important}";
  28. if (false || (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 == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info"))
  29. css += " body {padding-top:0!important}";
  30. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru") || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua") || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv") || (document.domain == "prophotos.ru" || document.domain.substring(document.domain.indexOf(".prophotos.ru") + 1) == "prophotos.ru") || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru") || (document.domain == "unionpeer.org" || document.domain.substring(document.domain.indexOf(".unionpeer.org") + 1) == "unionpeer.org"))
  31. css += " html>body {padding:0!important}";
  32. if (false || (document.domain == "101.ru" || document.domain.substring(document.domain.indexOf(".101.ru") + 1) == "101.ru"))
  33. css += " #layout {background:none!important}";
  34. 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"))
  35. css += [
  36. "TD[height=\"70\"][style],#user2s[height=\"71\"],",
  37. " #userlinks[height=\"70\"] {display:none!important}"
  38. ].join("\n");
  39. if (false || (document.domain == "4pda.ru" || document.domain.substring(document.domain.indexOf(".4pda.ru") + 1) == "4pda.ru"))
  40. css += [
  41. "#main {background-image:none!important}",
  42. " .brand-page {visibility:hidden!important;height:0!important}"
  43. ].join("\n");
  44. if (false || (document.domain == "adultmult.tv" || document.domain.substring(document.domain.indexOf(".adultmult.tv") + 1) == "adultmult.tv"))
  45. css += ".adsbygoogle,#aswift_0_expand {display:none!important}";
  46. if (false || (document.domain == "afisha.ru" || document.domain.substring(document.domain.indexOf(".afisha.ru") + 1) == "afisha.ru"))
  47. css += [
  48. ".page_block_content {width:100%!important}",
  49. " .page_block_adv {background:none!important}"
  50. ].join("\n");
  51. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  52. css += " #new_logo_helper01 {top:0!important}";
  53. if (false || (document.domain == "all-episodes.com" || document.domain.substring(document.domain.indexOf(".all-episodes.com") + 1) == "all-episodes.com"))
  54. css += " .wrapper {top:0!important}";
  55. if (false || (document.domain == "aliexpress.com" || document.domain.substring(document.domain.indexOf(".aliexpress.com") + 1) == "aliexpress.com"))
  56. css += [
  57. " div.categories-main{ display: inline-block !important; width:auto !important; } dl.cl-item{display: inline-block !important;}",
  58. " div.index-page>div.user-helper-footer{position: relative !important; top: 120px !important; padding: 0 !important;}",
  59. " div.index-page>div.site-footer{position: relative !important; top: 120px !important; margin: 0 !important; padding: 0 !important;}",
  60. " div.index-page>div.footer-copywrite{position: relative !important; top: 120px !important;}",
  61. " div.index-page{height: inherit !important;}"
  62. ].join("\n");
  63. if (false || (document.domain == "animevost.org" || document.domain.substring(document.domain.indexOf(".animevost.org") + 1) == "animevost.org"))
  64. css += [
  65. "div[class^=\"headbg\"] {background-image:none!important;height:auto!important}",
  66. " div[class^=\"headbg\"] > .menu {top:0px!important}",
  67. " div[class^=\"headbg\"] > .menu .sar {bottom:auto!important;top:50px!important;z-index:100!important;}"
  68. ].join("\n");
  69. if (false || (document.domain == "anistar.ru" || document.domain.substring(document.domain.indexOf(".anistar.ru") + 1) == "anistar.ru"))
  70. css += [
  71. "body > .clear + div:not(.main),.news-fixed {display:none!important}",
  72. " .wrapper.width1200 {margin-top:0}",
  73. " .drowmenu {z-index:1001}"
  74. ].join("\n");
  75. if (false || (document.domain == "anti-malware.ru" || document.domain.substring(document.domain.indexOf(".anti-malware.ru") + 1) == "anti-malware.ru"))
  76. css += "#header-bg-enf {margin-top:0!important}";
  77. if (false || (document.domain == "bestpersons.ru" || document.domain.substring(document.domain.indexOf(".bestpersons.ru") + 1) == "bestpersons.ru"))
  78. css += [
  79. "/* Fx compat fix */",
  80. " #userTabs {float:none!important}"
  81. ].join("\n");
  82. if (false || (document.domain == "binmovie.org" || document.domain.substring(document.domain.indexOf(".binmovie.org") + 1) == "binmovie.org"))
  83. css += " #content {top:0!important;left:0!important;width:100%!important;margin-left:0!important}";
  84. if (false || (document.domain == "bvedomosti.ru" || document.domain.substring(document.domain.indexOf(".bvedomosti.ru") + 1) == "bvedomosti.ru"))
  85. css += [
  86. ".art-Header {display:none!important}",
  87. " #art-main {background-image:none!important}",
  88. " .bg-top-menu {top:0!important}"
  89. ].join("\n");
  90. if (false || (document.domain == "carambatv.ru" || document.domain.substring(document.domain.indexOf(".carambatv.ru") + 1) == "carambatv.ru"))
  91. css += " .content {background:none!important;padding:0!important}";
  92. if (false || (document.domain == "cars.ru" || document.domain.substring(document.domain.indexOf(".cars.ru") + 1) == "cars.ru"))
  93. css += [
  94. "#main {margin-top:0!important}",
  95. " A[href*=\"/adclick.php?bannerid=\"] {display:none!important}"
  96. ].join("\n");
  97. if (false || (document.domain == "chatovod.ru" || document.domain.substring(document.domain.indexOf(".chatovod.ru") + 1) == "chatovod.ru"))
  98. css += [
  99. "html > body .chat.withAEvents .chatPeople {bottom:0!important}",
  100. " #devents {position: fixed!important;top:-9999px!important}"
  101. ].join("\n");
  102. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru"))
  103. css += " body {background:black!important}";
  104. if (false || (document.domain == "drive.ru" || document.domain.substring(document.domain.indexOf(".drive.ru") + 1) == "drive.ru"))
  105. css += "body>div {background:none!important;padding-top:0!important;}";
  106. if (false || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua"))
  107. css += [
  108. " body {cursor:auto!important}",
  109. " body>div[align=\"center\"] {width:auto!important;margin:0!important}"
  110. ].join("\n");
  111. if (false || (document.domain == "firepic.org" || document.domain.substring(document.domain.indexOf(".firepic.org") + 1) == "firepic.org"))
  112. css += [
  113. "body {padding:0!important;background-image:none!important}",
  114. " .container,.row {max-width:none!important}",
  115. " .container {width:100%!important}",
  116. " .row {padding:30px!important;margin:0px!important}",
  117. " .span12 {clear:both}"
  118. ].join("\n");
  119. if (false || (document.domain == "fishki.net" || document.domain.substring(document.domain.indexOf(".fishki.net") + 1) == "fishki.net"))
  120. css += "#container {cursor:auto!important}";
  121. if (false || (document.domain == "free-torrents.org" || document.domain.substring(document.domain.indexOf(".free-torrents.org") + 1) == "free-torrents.org"))
  122. css += [
  123. "#sidebar2 {padding-top:0!important}",
  124. " #main-wrapper {width:100%!important;top:0!important}"
  125. ].join("\n");
  126. if (false || (document.domain == "gamebomb.ru" || document.domain.substring(document.domain.indexOf(".gamebomb.ru") + 1) == "gamebomb.ru"))
  127. css += [
  128. "#ssdfsd,.dfgdjkfgh{background-image:none!important}",
  129. " #content{padding-top:0!important;margin-top:0!important}"
  130. ].join("\n");
  131. if (false || (document.domain == "gamer-info.com" || document.domain.substring(document.domain.indexOf(".gamer-info.com") + 1) == "gamer-info.com"))
  132. css += "#all-content-container {padding:0!important}";
  133. if (false || (document.domain == "gidonline.club" || document.domain.substring(document.domain.indexOf(".gidonline.club") + 1) == "gidonline.club"))
  134. css += "#headerline {margin-top:0!important}";
  135. if (false || (document.domain == "gidonlinekino.com" || document.domain.substring(document.domain.indexOf(".gidonlinekino.com") + 1) == "gidonlinekino.com"))
  136. css += " #headerline {margin-top:0!important}";
  137. if (false || (document.domain == "goclips.tv" || document.domain.substring(document.domain.indexOf(".goclips.tv") + 1) == "goclips.tv"))
  138. css += " .video_content {height:auto!important}";
  139. if (false || (document.domain == "goha.ru" || document.domain.substring(document.domain.indexOf(".goha.ru") + 1) == "goha.ru"))
  140. css += [
  141. "#full-brand-footer>div[style*=\"fixed\"], #head-tuppy>a {display:none!important}",
  142. " #full-brand {background-image:none!important}",
  143. " #head-tuppy {height: 7px!important}"
  144. ].join("\n");
  145. if (false || (document.domain == "gotps3.ru" || document.domain.substring(document.domain.indexOf(".gotps3.ru") + 1) == "gotps3.ru"))
  146. css += "#Page {margin-top:0!important}";
  147. if (false || (document.domain == "gstv.ru" || document.domain.substring(document.domain.indexOf(".gstv.ru") + 1) == "gstv.ru"))
  148. css += ".page-content {margin-top:0!important}";
  149. if (false || (document.domain == "hdfilms.tv" || document.domain.substring(document.domain.indexOf(".hdfilms.tv") + 1) == "hdfilms.tv"))
  150. css += " #subheader{padding-top:1px!important}";
  151. if (false || (document.domain == "hi-tech.mail.ru" || document.domain.substring(document.domain.indexOf(".hi-tech.mail.ru") + 1) == "hi-tech.mail.ru"))
  152. css += "#portal-menu, .header-banner {margin:0!important}";
  153. if (false || (document.domain == "iphones.ru" || document.domain.substring(document.domain.indexOf(".iphones.ru") + 1) == "iphones.ru"))
  154. css += [
  155. "#wrap {filter:none!important}",
  156. " body > div[style^=\"background-color:\"] {display:none!important}"
  157. ].join("\n");
  158. if (false || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv"))
  159. css += " #main {width: auto!important}";
  160. if (false || (document.domain == "kinobel.by" || document.domain.substring(document.domain.indexOf(".kinobel.by") + 1) == "kinobel.by"))
  161. css += ".bg-site {padding-top:0!important}";
  162. if (false || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru"))
  163. css += [
  164. " body{background:none!important}",
  165. " body{background:#C0C0C0!important}",
  166. " html[style] {background-image: url()!important;}",
  167. " #top .png_block, #GoUpClickZone{background:url() !important;}",
  168. " #top {height:100px!important}",
  169. " .master {top:1px!important}",
  170. " .menu {top:1px!important}",
  171. // !! выравниваем секцию поиск:
  172. " #top_form {top: 2px!important;}",
  173. " #top .png_block {top: 2px!important;}"
  174. ].join("\n");
  175. if (false || (document.domain == "kinotochka.net" || document.domain.substring(document.domain.indexOf(".kinotochka.net") + 1) == "kinotochka.net"))
  176. css += " .LogoSearchForm {margin-top:80px!important}";
  177. if (false || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net"))
  178. css += " body.brending {padding-top:180px!important}";
  179. if (false || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru"))
  180. css += " #dynamic-content{margin-top:0!important}";
  181. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  182. css += [
  183. "body{background:#c0c0c0!important}",
  184. " div>div>a>div[style*=\"height\"] {display:none!important}",
  185. " .prof,.user_menu_link,.wh {color:white!important}",
  186. " .prof,.logo {height:80px!important}"
  187. ].join("\n");
  188. 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"))
  189. css += " .b-branding__wrap {padding:0!important}";
  190. if (false || (document.domain == "my-cinema.net" || document.domain.substring(document.domain.indexOf(".my-cinema.net") + 1) == "my-cinema.net"))
  191. css += " #main-wrapper {top:0!important}";
  192. if (false || (document.domain == "noob-club.ru" || document.domain.substring(document.domain.indexOf(".noob-club.ru") + 1) == "noob-club.ru"))
  193. css += "#header-new {margin-bottom:0!important}";
  194. if (false || (document.domain == "online.anidub.com" || document.domain.substring(document.domain.indexOf(".online.anidub.com") + 1) == "online.anidub.com"))
  195. css += " .background {background:none!important}";
  196. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  197. css += [
  198. "#mainplace>table>tbody>tr:first-child,.needblock {display:none!important}",
  199. " #wrapper {width:100%!important}",
  200. " #main {padding-top:0!important}"
  201. ].join("\n");
  202. if (false || (document.domain == "pogoda.mail.ru" || document.domain.substring(document.domain.indexOf(".pogoda.mail.ru") + 1) == "pogoda.mail.ru"))
  203. css += " .forecast-rb-bg {background-image:none!important}";
  204. if (false || (document.domain == "politobzor.net" || document.domain.substring(document.domain.indexOf(".politobzor.net") + 1) == "politobzor.net"))
  205. css += " .banner {height:90px!important}";
  206. if (false || (document.domain == "popmech.ru" || document.domain.substring(document.domain.indexOf(".popmech.ru") + 1) == "popmech.ru"))
  207. css += " .header__brand {margin-top:0!important}";
  208. if (false || (document.domain == "povarenok.ru" || document.domain.substring(document.domain.indexOf(".povarenok.ru") + 1) == "povarenok.ru"))
  209. css += [
  210. ".car_content {margin:0!important;width:100%!important}",
  211. " .car_recept {width:97%!important}",
  212. " .cont_head, .cont_mid, .car_footer {background:none!important}",
  213. " .car_header, .petushok, .cont_foot {display:none!important}"
  214. ].join("\n");
  215. if (false || (document.domain == "promodj.com" || document.domain.substring(document.domain.indexOf(".promodj.com") + 1) == "promodj.com"))
  216. css += " #topbrandingspot {padding-top:0!important}";
  217. if (false || (document.domain == "riotpixels.com" || document.domain.substring(document.domain.indexOf(".riotpixels.com") + 1) == "riotpixels.com"))
  218. css += [
  219. "body {background-image:none!important}",
  220. " .all-wrapper, .bottom-bar {top:0!important}",
  221. " .bottom-bar, .action-menu {position:fixed!important}"
  222. ].join("\n");
  223. if (false || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru"))
  224. css += " #block-sc2tv_streams-0 {margin-top:0!important}";
  225. if (false || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru"))
  226. css += " body {background-color:#707070!important}";
  227. if (false || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com"))
  228. css += " #wrapper>#all {margin-top:0!important}";
  229. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  230. css += " body.img-bg,#branding-layout {background:gray!important;padding-top:0!important}";
  231. if (false || (document.domain == "tnt-online.ru" || document.domain.substring(document.domain.indexOf(".tnt-online.ru") + 1) == "tnt-online.ru"))
  232. css += [
  233. "/*self-ads for bitblock*/",
  234. " #contentShifter {display:none!important}",
  235. " #all {top:13px!important}"
  236. ].join("\n");
  237. if (false || (document.domain == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info"))
  238. css += "body {margin:0!important}";
  239. if (false || (document.domain == "vz.ru" || document.domain.substring(document.domain.indexOf(".vz.ru") + 1) == "vz.ru"))
  240. css += [
  241. " div.main-container{max-width: inherit !important;}",
  242. " div.main-menu>div.menu.sys_thumbs{overflow: inherit !important;}",
  243. " div.main-menu>div.menu.sys_thumbs>ul>li.thumb{margin-right: 0 !important;}",
  244. " div.menu{max-width: inherit !important;}"
  245. ].join("\n");
  246. if (false || (document.domain == "webfile.ru" || document.domain.substring(document.domain.indexOf(".webfile.ru") + 1) == "webfile.ru"))
  247. css += ".p_wrap {margin-top:0!important}";
  248. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  249. css += " .body-branding {background:none!important;padding-top:0!important}";
  250. if (false || (document.domain == "zoneofgames.ru" || document.domain.substring(document.domain.indexOf(".zoneofgames.ru") + 1) == "zoneofgames.ru"))
  251. css += " .branding,div.logo {background:none!important;height:auto!important}";
  252. if (false || (document.domain == "zoomby.ru" || document.domain.substring(document.domain.indexOf(".zoomby.ru") + 1) == "zoomby.ru"))
  253. css += [
  254. "#global_wrapper_cont {padding:0!important}",
  255. " .wrapper {margin-top:60px!important}"
  256. ].join("\n");
  257. if (false || (new RegExp("^https?://anistar.ru/news(/(\\?.*)?)?$")).test(document.location.href))
  258. css += ".news:nth-child(1) {display:none!important}";
  259. if (false || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com"))
  260. css += [
  261. "body {background:white!important;}",
  262. " body{background-image: url()!important;}",
  263. " body{background-image: none !important;}",
  264. " div{background-image: url()!important;}",
  265. " .branding {padding-top: 5px!important;}",
  266. " body {padding-top: 5px!important;}",
  267. " .limiter{padding-top: 5px!important;}",
  268. " .main_tm_search_tool,.searchline {background: white!important;}",
  269. // !! для широкоформатных мониторов
  270. " .header_container, .bottom_container, #content, .content, .wrapper, .limiter {width: 100%!important;}",
  271. " div.limiter > div.wrapper > div.c_w > table > tbody > tr > td[align=\"center\"] > table[width=\"960\"] {width: 100%!important;}"
  272. ].join("\n");
  273. if (false || (document.domain == "nnm-club.me" || document.domain.substring(document.domain.indexOf(".nnm-club.me") + 1) == "nnm-club.me"))
  274. css += [
  275. "body{background:none !important;}",
  276. " body{background-image:none !important;}",
  277. // ! --- широко
  278. // ! ".wrap{min-width:1030px;max-width:100% !important;}",
  279. " body>table[width=\"85%\"]{width:100%!important;}",
  280. " body{padding:0 !important;}",
  281. " body {padding-top:0!important}",
  282. " body>div.wrap{min-width:1030px;max-width:100% !important;}"
  283. ].join("\n");
  284. 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"))
  285. css += [
  286. " #canvas,.cleft{width: 988px!important;}#weather-maps,#map-view,#weather-old,#weather-busy{width: 986px!important;}#weather-cities,#weather-weekly,#weather-daily,#weather-hourly,#geomagnetic{width:738px!important;}#weather-news{width:362px!important;}.wtab{width:228px!important;}.wtabs .wttr{left:224px!important;}.wbfull tbody th{width:85px!important;}.wdata thead th,.wdata tbody th{text-align: center!important;}.workday,tbody tr .weekend{width: 40px!important;}.wbshort .wbday{left:450px!important;}.wbshort .wbnight{left:70px!important;}.rframe{background-color: rgba(255,255,255,0.4)!important;}.wsection, .wbshort, .wbfull, .rfc{background:transparent!important;}.wbshort:hover{background-color:rgb(255,255,225)!important;}body{background:url(http://www.wallplanet.ru/_ph/15/685414393.jpg)!important;background-attachment: fixed!important;}#weather-maps .fcontent{height:280px!important;}#weather-maps li{width:108px!important;} .wsection table{width: 690px!important;}",
  287. " div#post-container{background:url(\"\")!important;}",
  288. " div#pre-container{background:url(\"\")!important;}"
  289. ].join("\n");
  290. if (false || (document.domain == "nnm.me" || document.domain.substring(document.domain.indexOf(".nnm.me") + 1) == "nnm.me"))
  291. css += [
  292. "body{background: none !important;}",
  293. " body, #theme_8, #theme_2, #theme_3, #theme_4, #theme_5, #theme_6, #theme_7, #theme_1{background: url('') !important;}",
  294. " body {background-image:none !important;}",
  295. " body, div#page{background:gray !important;background-color:gray !important;}",
  296. " body, div#page, element.style{background-image:url('') !important;}",
  297. " body, div#page, .pirate-branding, .pb_button_play{background:none !important;}",
  298. " div#page{margin-top:0px !important;top: 0px !important;}",
  299. " div#optionspanel{margin-top:0px !important; margin-left:0px !important;}",
  300. " div#page>div[style*=\"width: 990px;\"][style*=\"height: 206px; position: relative;\"]{height: 0px !important;}",
  301. " .pb_top_img, .pirate-branding, a.pb_link, .pb_logo_brand, .pb_left_banner, .pb_right_banner, #b-logo{height: 0px !important;}",
  302. " .pirate-branding, .pb_button_play_big{top:0px !important;}",
  303. " body{padding-top: 0px !important;}",
  304. " #mmmBanner{height: 0px !important;}",
  305. " .head_assn {height: 0px !important; width: 0px !important;}",
  306. " .head_assn .assn_logo {width: 0px !important; height: 0px !important; top: 0px !important; left: 0px !important; background: url(\" \") !important; }",
  307. " .head_assn .assn_slogan {width: 0px !important; height: 0px !important; top: 0px !important; left:0px !important; background: url(\" \") !important; }",
  308. " html{height: 0px !important;}",
  309. " body{click=()!important;}",
  310. // !! заполненяем всю ширину экрана. Раскомментировать строки (убрать воскл.знаки в начале строк)
  311. " #wrap, #scrollPanel{width: 1320px !important;}",
  312. " #cntnt{margin-top: 0px !important; position: absolute; left: 0% !important; margin-left: 0px !important;}",
  313. " #wrapper {width: 1300px !important;}",
  314. " #content{width: 900px !important;}",
  315. " body {text-align:center!important}",
  316. " #page {display:inline-block !important; margin-top:0 !important}",
  317. " #wrap {text-align:initial !important}"
  318. ].join("\n");
  319. 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"))
  320. css += [
  321. // ! site yandex
  322. ".adsrv {width:0px!important;min-width:0!important;max-width:0!important;",
  323. " height:0!important;min-height:0!important;max-height:0!important;",
  324. " overflow:hidden!important;}",
  325. " .b-top-wizard{width:1000px!important;} .b-body-items.b-serp-list{width:1000px!important;}",
  326. // ! !! чистим maps.yandex
  327. " .ymaps-map{background:none !important;}",
  328. // " .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;}",
  329. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background-image:url() !important;}",
  330. " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background:url(\'\') !important;}",
  331. // ! !! убрать все фоновые рисунки в картах
  332. // ! " ymaps{background-image:url() !important;}",
  333. " tv.yandex.ru##td[width=\"24%\"]{width:12%!important;}",
  334. " a{onmousedown=''!important;}",
  335. " a{onclick=''!important;}"
  336. ].join("\n");
  337. 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"))
  338. css += [
  339. // ! !! --- широко
  340. " .main,.main-wrap,.header,.header-main{width:100%!important;}",
  341. " div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important}",
  342. " article,.header,.header-main{width:100%!important;}",
  343. " div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
  344. ].join("\n");
  345. if (false || (document.domain == "4seasons-ltc.com" || document.domain.substring(document.domain.indexOf(".4seasons-ltc.com") + 1) == "4seasons-ltc.com"))
  346. css += [
  347. "body{background-image:none !important;}",
  348. " body{font-family: Tahoma !important;}"
  349. ].join("\n");
  350. if (false || (document.domain == "china-review.com.ua" || document.domain.substring(document.domain.indexOf(".china-review.com.ua") + 1) == "china-review.com.ua"))
  351. css += [
  352. "body{background:url()!important;}",
  353. " body{background-image:none !important;}",
  354. " body{background:none!important;}",
  355. " body{margin-top:0px!important;}"
  356. ].join("\n");
  357. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  358. css += [
  359. "body{background:none!important;} .layer_top {background:none!important;} .layer_bottom {background:none!important;} .cast_bg{background:none!important;}",
  360. " .contentbg {background-image:none!important;} #4iframe {background-image:none!important;} ",
  361. " #framescr{background-image:none!important;}"
  362. ].join("\n");
  363. if (false || (document.domain == "amovies.tv" || document.domain.substring(document.domain.indexOf(".amovies.tv") + 1) == "amovies.tv"))
  364. css += [
  365. // !! расширяем
  366. "article{width: 980px !important;}",
  367. " #vk_select {float:none !important;margin-left: 445px!important;}",
  368. " #vk_top,#vk_select {background:url()!important;}"
  369. ].join("\n");
  370. if (false || (document.domain == "apteka.ru" || document.domain.substring(document.domain.indexOf(".apteka.ru") + 1) == "apteka.ru"))
  371. css += [
  372. " div.wrapper_root>div.wrapper>section.middle{margin-bottom: 0 !important;}",
  373. " div.wrapper_root>div.wrapper>section.middle>div.container.clr{min-height: 180px !important;}",
  374. " div.wrapper_root>div.wrapper>section.middle>div.container.clr>div.content.bottom-content>section.items.items-tile.items-viewed{margin: 0!important;}",
  375. " div.wrapper_root>div.wrapper>section.middle>div.tabs.top-tabs.clr{margin-bottom: 0 !important;}"
  376. ].join("\n");
  377. if (false || (document.domain == "avito.ru" || document.domain.substring(document.domain.indexOf(".avito.ru") + 1) == "avito.ru"))
  378. css += " .bonprix-1{background: none !important;} ";
  379. if (false || (document.domain == "bash.im" || document.domain.substring(document.domain.indexOf(".bash.im") + 1) == "bash.im"))
  380. css += " span.csd{background:none !important;}";
  381. if (false || (document.domain == "best-cashback.ru" || document.domain.substring(document.domain.indexOf(".best-cashback.ru") + 1) == "best-cashback.ru"))
  382. css += [
  383. " [id=\"menu-osnovnoe-menyu\"]>[id^=\"menu-item-\"]>a.menu-item-link{color: black !important;}",
  384. " div#theme-page{top: 80px !important;}",
  385. " [class^=\"mk-header-\"]{background-color: lightgrey !important;}",
  386. " section#mk-footer{padding: 0 !important; top: 80px !important;}",
  387. " div#sub-footer{background-color: lightgrey !important;}"
  388. ].join("\n");
  389. if (false || (document.domain == "bestrepack.net" || document.domain.substring(document.domain.indexOf(".bestrepack.net") + 1) == "bestrepack.net"))
  390. css += " div#body_container{padding: 0 !important;}";
  391. if (false || (document.domain == "bigpicture.ru" || document.domain.substring(document.domain.indexOf(".bigpicture.ru") + 1) == "bigpicture.ru"))
  392. css += [
  393. " div.content{padding: 0 !important;}",
  394. " div.podheader{width: 240px !important; float: right !important;}",
  395. " div.podheader-right{float: right !important;}"
  396. ].join("\n");
  397. if (false || (document.domain == "bookvoed.ru" || document.domain.substring(document.domain.indexOf(".bookvoed.ru") + 1) == "bookvoed.ru"))
  398. css += " .Fh{margin-top: 79px!important;}";
  399. if (false || (document.domain == "calend.ru" || document.domain.substring(document.domain.indexOf(".calend.ru") + 1) == "calend.ru"))
  400. css += " .pad, .main-l{width:95% !important;}";
  401. if (false || (document.domain == "clubupravdom.ru" || document.domain.substring(document.domain.indexOf(".clubupravdom.ru") + 1) == "clubupravdom.ru"))
  402. css += " *{background-image: none !important;}";
  403. if (false || (document.domain == "computerra.ru" || document.domain.substring(document.domain.indexOf(".computerra.ru") + 1) == "computerra.ru"))
  404. css += [
  405. " div.page.page-podl{padding-top: 0px!important;}",
  406. " div#under{width:auto!important}",
  407. " a.link{font-weight:bold!important; font-family:Verdana!important;font-size: 12px!important}",
  408. " div.column{max-width:80%!important}"
  409. ].join("\n");
  410. if (false || (document.domain == "crowdin.com" || document.domain.substring(document.domain.indexOf(".crowdin.com") + 1) == "crowdin.com"))
  411. css += " #user-cover-picture,#user-cover-picture-blurred{background:url()!important;}";
  412. 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"))
  413. css += [
  414. "body{background:none !important;}",
  415. " td{background-image:none !important;}"
  416. ].join("\n");
  417. if (false || (document.domain == "ebay-forum.ru" || document.domain.substring(document.domain.indexOf(".ebay-forum.ru") + 1) == "ebay-forum.ru"))
  418. 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;}";
  419. 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 == "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"))
  420. css += [
  421. "body{background:none !important;}",
  422. " body{background-image:none !important;}"
  423. ].join("\n");
  424. if (false || (document.domain == "ddlmkvhd.com" || document.domain.substring(document.domain.indexOf(".ddlmkvhd.com") + 1) == "ddlmkvhd.com"))
  425. css += [
  426. " body{background: none !important;}",
  427. " div.page-body-t{position: relative !important;}"
  428. ].join("\n");
  429. if (false || (document.domain == "ddlvillage.org" || document.domain.substring(document.domain.indexOf(".ddlvillage.org") + 1) == "ddlvillage.org"))
  430. css += [
  431. " div{background: none !important;}"
  432. ].join("\n");
  433. if (false || (document.domain == "f1news.ru" || document.domain.substring(document.domain.indexOf(".f1news.ru") + 1) == "f1news.ru"))
  434. css += [
  435. " div[id=\"bannerText\"]{border:0px!important;margin-left:10px!important;}",
  436. " body{background:url() top center no-repeat #000000 !important;}",
  437. // !! расширяем текстовое поле
  438. " div#textBlock{width:900px !important;}"
  439. ].join("\n");
  440. if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
  441. css += [
  442. " #contentArea {width: 750px !important;}",
  443. " .uiUfi {width: 650px !important;}",
  444. // !! " body {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  445. // !! " #contentCol {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  446. " div#profile_stream_composer {background-color:#C1D5F6;}",
  447. " #blueBar {background-color: transparent !important;}",
  448. " #headNav {background-color: #transparent !important;}",
  449. " .jewelButton {background-color: transparent !important;}",
  450. " #fbNotificationsFlyout {left: 50px !important;}",
  451. " .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;}",
  452. // !! " #pageNav a {color: #00ffff !important;display: inline-block;font-weight: bold;height: 22px;padding: 8px 10px 0px;text-decoration: none;}",
  453. " .UIImageBlock {color: #000000 !important}",
  454. " .fcg {color: darkgreen !important;}",
  455. " .mts.uiAttachmentDesc.translationEligibleUserAttachmentMessage {color: black !important;}"
  456. ].join("\n");
  457. if (false || (document.domain == "fastpic.ru" || document.domain.substring(document.domain.indexOf(".fastpic.ru") + 1) == "fastpic.ru"))
  458. css += [
  459. " #logo-area{padding-top: 0px!important;}",
  460. " *{background:none !important;}",
  461. " *{background-image:none !important;}",
  462. " #footer-container {background-image:none!important;height:auto!important}",
  463. " body > a {display:none!important}",
  464. " html,body,#content,#mainContainer {padding:0!important;height:100%!important}",
  465. " #content,#footer,#mainContainer,#footerContainer {width:100%!important;margin:0!important;border-radius:0!important;cursor:initial!important}",
  466. " #mainContainer > TABLE[height=\"100\"] {max-width:900px!important;margin:auto!important}",
  467. " #picContainer {margin:auto!important;float:none!important}",
  468. // " div#content{width: 890px!important;}div#content{margin-top: 0px!important;margin-right: 170px!important;} div#footer{margin-right: 170px!important;} div#picContainer{width: 890px!important;}",
  469. // !! всё - чёрным
  470. " *{color: black!important;}",
  471. " body{background: none!important;}"
  472. // " html {background-color:#171616!important}"
  473. ].join("\n");
  474. if (false || (document.domain == "filmix.net" || document.domain.substring(document.domain.indexOf(".filmix.net") + 1) == "filmix.net"))
  475. css += " body{padding: 0px 0 0 0!important}";
  476. if (false || (document.domain == "formulakino.ru" || document.domain.substring(document.domain.indexOf(".formulakino.ru") + 1) == "formulakino.ru"))
  477. css += [
  478. " div.backF>a>span{background-image:none !important; background:#fff !important;}",
  479. " div.vjs-poster{background:url()!important;}",
  480. " div.pagecontent{margin-top:0px!important;}",
  481. " div#wrapper{background:#fff!important;}"
  482. ].join("\n");
  483. if (false || (document.domain == "google.ru" || document.domain.substring(document.domain.indexOf(".google.ru") + 1) == "google.ru"))
  484. css += [
  485. " 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;}",
  486. " body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child:hover {opacity:1;}",
  487. " body[class=\"cP\"] tr td.Bu:last-child div.nH {width: 0px!important;}",
  488. // ! расширяем выдачу в поиске
  489. " .center_col,#center_col {width:1000px!important; margin-left:10px !important; margin-right:10px !important;} .s {max-width:100% !important;}"
  490. ].join("\n");
  491. if (false || (document.domain == "igromania.ru" || document.domain.substring(document.domain.indexOf(".igromania.ru") + 1) == "igromania.ru"))
  492. css += [
  493. // !! " *{background-image: none !important;}",
  494. " div.out_out, element.style {background-image: url() !important;}"
  495. ].join("\n");
  496. if (false || (document.domain == "inosmi.ru" || document.domain.substring(document.domain.indexOf(".inosmi.ru") + 1) == "inosmi.ru"))
  497. css += [
  498. " body{background-image:none !important;}",
  499. " body{background:url()!important;}",
  500. // !! поаккуратнее
  501. " .header{padding-top:0px!important;}",
  502. " #addbwr{margin-top:0px!important;}",
  503. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след. строками )
  504. " .mainbox{width:95%!important;}",
  505. " .section{width:100%!important;}",
  506. " .floatleft{width:80%!important;}",
  507. " .floatleft.box3row{width:50%!important;}",
  508. " .floatleft.box3row3{width:50%!important;}",
  509. " .bodypage{width:100%!important; }",
  510. " .floatright{width:10%!important;}",
  511. " .article{width:100%!important; }",
  512. " .announce{width:80%!important; }"
  513. ].join("\n");
  514. if (false || (document.domain == "keeplinks.eu" || document.domain.substring(document.domain.indexOf(".keeplinks.eu") + 1) == "keeplinks.eu"))
  515. css += " div#header{background: none !important;}";
  516. if (false || (document.domain == "livesport.ws" || document.domain.substring(document.domain.indexOf(".livesport.ws") + 1) == "livesport.ws"))
  517. css += [
  518. // !! убираем фон и баннер
  519. " body {background:none!important;color:#333!important;}",
  520. " body{background:url()!important;background-color:#000002!important;}",
  521. " body,.top-panel-wrap.fixed {background-image:url() !important;}",
  522. " body{background-image:none !important;}",
  523. " div[id=\"flash\"]{height: 0px !important;}"
  524. ].join("\n");
  525. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  526. css += [
  527. " body{background:gray!important}",
  528. " div[class=\"mid\"]{background:LightGrey!important}",
  529. // !! ==== и меняем на читаемый цвет
  530. " div{class=\"user_avatar\";color:black!important}",
  531. " span{class=\"wh\";color:black!important}",
  532. " a[href=\"\/my.php\"]{color:black!important}",
  533. " a[href=\"\/messages.php\"]{color:black!important}",
  534. " a[href=\"http:\/\/login.bogi.ru\/logout.php\?target=http:\/\/lostfilm.tv/\"]{color:black!important}"
  535. ].join("\n");
  536. if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
  537. css += [
  538. " body,.forecast-rb-bg,.b-bg{background-image: none!important;}",
  539. " .SearchForm,.form,.txt1,.txt2,.txt3,.people1,.people2,.people3,.GRcorrect, .GRSpellingCorrect, .GRspelling {background: url('')!important;}"
  540. ].join("\n");
  541. if (false || (document.domain == "ncrypt.in" || document.domain.substring(document.domain.indexOf(".ncrypt.in") + 1) == "ncrypt.in"))
  542. css += [
  543. " body{background: none !important;}",
  544. " div#wrapper{margin: 0 0 0 0 !important;}"
  545. ].join("\n");
  546. 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"))
  547. css += [
  548. // !! "div {background-image:none !important;}",
  549. // !! "div {background:url()!important;}",
  550. // !! "div[class^=\"prl_slide_\"] {background:url()!important;}"
  551. "div[class=\"anonym_login\"]{width: 100% !important;}"
  552. ].join("\n");
  553. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  554. css += [
  555. " #main{background:none!important;background:#FFF!important;}",
  556. " div[id=\"main\"]>div[id=\"adw\"]{height:0px!important;}",
  557. " div[id=\"main\"]>div[class=\"box1\"]{height:0px!important;}",
  558. " div[id=\"main\"]>div:nth-of-type(1){height:0px!important;}"
  559. ].join("\n");
  560. if (false || (document.domain == "piter.tv" || document.domain.substring(document.domain.indexOf(".piter.tv") + 1) == "piter.tv"))
  561. css += [
  562. " body{background-image:none !important;}"
  563. ].join("\n");
  564. if (false || (document.domain == "politikus.ru" || document.domain.substring(document.domain.indexOf(".politikus.ru") + 1) == "politikus.ru"))
  565. css += [
  566. " body{background-image:none !important;}",
  567. " body{background:url()!important;}",
  568. // !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след.четырьмя строками )
  569. " #main_content_holder{width:100%!important; }",
  570. " #left{width:80%!important; }",
  571. " .holder, div.block, .content, #dle-content{width:100% !important; }",
  572. " .fullstory{width:95% !important; }"
  573. ].join("\n");
  574. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  575. css += [
  576. "div.paral>a>div{background:url()!important;}",
  577. " div.paral>a>div{height:64px!important;}",
  578. " table#header_t {margin-top: 0px !important;}"
  579. ].join("\n");
  580. if (false || (document.domain == "pleer.com" || document.domain.substring(document.domain.indexOf(".pleer.com") + 1) == "pleer.com"))
  581. css += [
  582. " div#main.clearfix>div#container>div#content{margin: 0 !important;}",
  583. " 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;}",
  584. " 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;}"
  585. ].join("\n");
  586. 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"))
  587. css += [
  588. " .brand_bg{background-image:none !important;}",
  589. " .content{padding-top:0px !important;}"
  590. ].join("\n");
  591. if (false || (document.domain == "rambler.ru" || document.domain.substring(document.domain.indexOf(".rambler.ru") + 1) == "rambler.ru"))
  592. css += [
  593. ".b-left-column .b-left-column__wrapper{margin:0 !important}",
  594. " div[class=\"appWindow\"]{right:0px!important;}"
  595. ].join("\n");
  596. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  597. css += " .article__content {margin-right: 0px !important;}";
  598. if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
  599. css += [
  600. "#octo-set{background-image:none!important;padding-top:0!important}",
  601. " #main-wrapper{width:auto!important}",
  602. " body{background-image: none!important;} ",
  603. " body{background:none!important;}",
  604. " #main-wrapper{top:10px!important;}",
  605. // !! cкрыть заголовок
  606. " #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;}"
  607. ].join("\n");
  608. 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"))
  609. css += [
  610. "*{background:none!important}",
  611. " *{background:url('')!important}",
  612. " *{background:silver!important; color:black!important;}",
  613. " 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; }"
  614. ].join("\n");
  615. if (false || (document.domain == "ruspravda.info" || document.domain.substring(document.domain.indexOf(".ruspravda.info") + 1) == "ruspravda.info"))
  616. css += [
  617. "body{background:white!important;}",
  618. " table#header_t {margin-top: 0px !important;}"
  619. ].join("\n");
  620. if (false || (document.domain == "rustorka.com" || document.domain.substring(document.domain.indexOf(".rustorka.com") + 1) == "rustorka.com"))
  621. css += " .topmenu{margin-top:25px !important;}";
  622. if (false || (document.domain == "rutor.org" || document.domain.substring(document.domain.indexOf(".rutor.org") + 1) == "rutor.org"))
  623. css += [
  624. // !! оформление от zuefhrf
  625. "div#ws div#sidebar{top: 0px !important;}",
  626. " div#ws div#sidebar{right: 8px !important;}",
  627. " div#ws div#sidebar div.sideblock{margin-top: 0px !important;}",
  628. " div#ws div#content{right: 6px !important;}",
  629. " h3{text-align: left !important;}"
  630. ].join("\n");
  631. if (false || (document.domain == "samlab.ws" || document.domain.substring(document.domain.indexOf(".samlab.ws") + 1) == "samlab.ws"))
  632. css += [
  633. "div.box.main {width: auto; !important;}",
  634. " div#right {width: 2px; !important;}"
  635. ].join("\n");
  636. if (false || (document.domain == "samlib.ru" || document.domain.substring(document.domain.indexOf(".samlib.ru") + 1) == "samlib.ru"))
  637. css += [
  638. "body {font-family: sans-serif !important;line-height: 140% !important;color: #B2B2B2 !important;background: #3A3E46 !important;}",
  639. " font {color: #B2B2B2 !important;}",
  640. " table, td, td font {color: #BEBEBE !important;background-color: #555C66 !important;}",
  641. " a:link {color: #9DD7FF !important;}",
  642. " a:visited {color: #EAB6FF !important;}",
  643. " a:hover {color: #F0B2B2 !important;}",
  644. " dl {margin-top: 1em !important;}"
  645. ].join("\n");
  646. if (false || (document.domain == "securitylab.ru" || document.domain.substring(document.domain.indexOf(".securitylab.ru") + 1) == "securitylab.ru"))
  647. css += [
  648. " #content #left{margin-left: 0px!important;max-width: 1000px!important;}",
  649. // !! логотип
  650. " div#header{height:00px!important;background-color:white!important;} div#MAIN_MENU{top:0px!important;}"
  651. ].join("\n");
  652. if (false || (document.domain == "sportbox.ru" || document.domain.substring(document.domain.indexOf(".sportbox.ru") + 1) == "sportbox.ru"))
  653. css += [
  654. " body{background:none!important;padding-top: 0px!important;}",
  655. " .sb_c_topmed_olymp, .gold, .silver, .bronze {background:none!important;}"
  656. ].join("\n");
  657. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  658. css += [
  659. " .kaspersky, .overall {background:none!important;}",
  660. " .kaspersky, .pageLayout {top: 0px!important;}"
  661. ].join("\n");
  662. if (false || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me"))
  663. css += [
  664. " body{background-image: none !important;}",
  665. " body {padding:0px 0 0 0!important}",
  666. " element.style{background:url()!important;}",
  667. " element.style, #skin_crown{background-image:url()!important;}",
  668. " body{background:url()!important;}",
  669. " table#home_c{width: inherit !important;}",
  670. " [id^=\"top_\"]{width: inherit !important;}"
  671. ].join("\n");
  672. if (false || (document.domain == "torrent-tv.ru" || document.domain.substring(document.domain.indexOf(".torrent-tv.ru") + 1) == "torrent-tv.ru"))
  673. css += [
  674. " body {background-image:none!important;padding-top: 0px!important;}",
  675. " div#main-wrapper {top:auto!important}",
  676. " div.news-text {width:auto!important}",
  677. " div[class^=\"usual-header\"] {width:126%!important}",
  678. " div[class=\"usual\"] {width:132%!important}",
  679. " div[class^=\"usual-content\"] {width:99%!important}"
  680. // !!
  681. // !! " body>div:nth-of-type(1) {background:url()!important;}",
  682. // !! " body {background:gray!important}",
  683. ].join("\n");
  684. if (false || (document.domain == "turbobit.net" || document.domain.substring(document.domain.indexOf(".turbobit.net") + 1) == "turbobit.net"))
  685. css += " html {background:none!important}";
  686. if (false || (document.domain == "vesti.ru" || document.domain.substring(document.domain.indexOf(".vesti.ru") + 1) == "vesti.ru"))
  687. css += [
  688. " .bottom_bg {background: none !important;}",
  689. " body, .head, .all_wrap {background: url(\" \") !important;}"
  690. ].join("\n");
  691. if (false || (document.domain == "dns-shop.ru" || document.domain.substring(document.domain.indexOf(".dns-shop.ru") + 1) == "dns-shop.ru"))
  692. css += " div.wrapper{width: auto !important;}";
  693. if (false || (document.domain == "yaplakal.com" || document.domain.substring(document.domain.indexOf(".yaplakal.com") + 1) == "yaplakal.com"))
  694. css += [
  695. " body{background:none !important;}",
  696. " #footer{background:url()!important;}",
  697. " #footer{background-image:none !important;}",
  698. " #top-line {background:none !important;padding:0 !important;}",
  699. " #header,#footer {background-color:skyblue!important}",
  700. " #content{max-width:none !important;}"
  701. ].join("\n");
  702. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  703. css += [
  704. " div[class=\"body-branding\"]{background:grey!important; padding-top: 0px!important; padding: 5px!important}",
  705. " div[class=\"body-gaps\"]{max-width:100%!important}"
  706. ].join("\n");
  707. if (false || (document.domain == "zalil.ru" || document.domain.substring(document.domain.indexOf(".zalil.ru") + 1) == "zalil.ru"))
  708. css += [
  709. " body{background:none !important;}",
  710. " body{background-color:gray !important;}",
  711. " body{background-image:none !important;}"
  712. ].join("\n");
  713. if (false || (document.domain == "taker.im" || document.domain.substring(document.domain.indexOf(".taker.im") + 1) == "taker.im"))
  714. css += [
  715. // !! скрываем рекламные ссылки (СПАМ) в тексте
  716. " a[href^=\"/phpBB2/goto/http://www.ebay.com/sch/\"][rel=\"nofollow\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  717. ].join("\n");
  718. if (typeof GM_addStyle != "undefined") {
  719. GM_addStyle(css);
  720. } else if (typeof PRO_addStyle != "undefined") {
  721. PRO_addStyle(css);
  722. } else if (typeof addStyle != "undefined") {
  723. addStyle(css);
  724. } else {
  725. var node = document.createElement("style");
  726. node.type = "text/css";
  727. node.appendChild(document.createTextNode(css));
  728. var heads = document.getElementsByTagName("head");
  729. if (heads.length > 0) {
  730. heads[0].appendChild(node);
  731. } else {
  732. // no head yet, stick it whereever
  733. document.documentElement.appendChild(node);
  734. }
  735. }
  736. })();
  737.  
  738. // позаимствовано у lainverse (https://greasyfork.org/ru/scripts/809-no-yandex-ads)
  739. // Удаляет рекламу из поиска Яндекс
  740. (function(){
  741. var lct = location.href;
  742. if(lct.match(/^https?:\/\/(news\.)?yandex\.[^/]+\/(yand)?search[/?]/)) {
  743. (function(s){
  744. for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
  745. })(document.querySelectorAll('.serp-adv,.b-spec-adv'));
  746.  
  747. function removeAds() {
  748. var s = document.querySelectorAll('.serp-block,.search-item');
  749. for (var l = 0; l < s.length; l++) {
  750. var i = s[l].querySelector('.serp-item__label,.document__provider-name');
  751. if (!i) continue;
  752. if (i.textContent.indexOf('Реклама') > -1 || i.textContent.indexOf('Яндекс.Директ') > -1)
  753. s[l].parentNode.removeChild(s[l]);
  754. }
  755. }
  756. (function(s){
  757. if (s) (new MutationObserver(removeAds)).observe(s,{childList:true});
  758. })(document.querySelector('.main__content'));
  759.  
  760. removeAds();
  761. }
  762. })();