RU Max4_ABP_Fix CSS

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

当前为 2015-03-22 提交的版本,查看 最新版本

  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.20150322210006
  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"))
  27. css += " 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"))
  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 == "afisha.ru" || document.domain.substring(document.domain.indexOf(".afisha.ru") + 1) == "afisha.ru"))
  45. css += [
  46. ".page_block_content {width:100%!important}",
  47. " .page_block_adv {background:none!important}"
  48. ].join("\n");
  49. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  50. css += " #new_logo_helper01 {top:0!important}";
  51. if (false || (document.domain == "animevost.org" || document.domain.substring(document.domain.indexOf(".animevost.org") + 1) == "animevost.org"))
  52. css += [
  53. ".headbg {background-image:none!important;height:auto!important}",
  54. " .headbg > .menu {top:0px!important}",
  55. " .headbg > .menu .sar {bottom: unset!important;top: 50px!important;z-index: 100!important;}"
  56. ].join("\n");
  57. if (false || (document.domain == "anistar.ru" || document.domain.substring(document.domain.indexOf(".anistar.ru") + 1) == "anistar.ru"))
  58. css += [
  59. "#link_s_2_4 {height:60px!important}",
  60. " #link_s_2_4 a {top:-1000px!important;position:fixed!important;width:200px!important}"
  61. ].join("\n");
  62. if (false || (document.domain == "binmovie.org" || document.domain.substring(document.domain.indexOf(".binmovie.org") + 1) == "binmovie.org"))
  63. css += " #content {top:0!important;left:0!important;width:100%!important;margin-left:0!important}";
  64. if (false || (document.domain == "bvedomosti.ru" || document.domain.substring(document.domain.indexOf(".bvedomosti.ru") + 1) == "bvedomosti.ru"))
  65. css += [
  66. ".art-Header {display:none!important}",
  67. " #art-main {background-image:none!important}",
  68. " .bg-top-menu {top:0!important}"
  69. ].join("\n");
  70. if (false || (document.domain == "carambatv.ru" || document.domain.substring(document.domain.indexOf(".carambatv.ru") + 1) == "carambatv.ru"))
  71. css += " .content {background:none!important;padding:0!important}";
  72. if (false || (document.domain == "cars.ru" || document.domain.substring(document.domain.indexOf(".cars.ru") + 1) == "cars.ru"))
  73. css += [
  74. "#main {margin-top:0!important}",
  75. " A[href*=\"/adclick.php?bannerid=\"] {display:none!important}"
  76. ].join("\n");
  77. if (false || (document.domain == "chatovod.ru" || document.domain.substring(document.domain.indexOf(".chatovod.ru") + 1) == "chatovod.ru"))
  78. css += " .obl {position:fixed!important;top:-100px!important}";
  79. if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru"))
  80. css += " body {background:black!important}";
  81. if (false || (document.domain == "drive.ru" || document.domain.substring(document.domain.indexOf(".drive.ru") + 1) == "drive.ru"))
  82. css += " body>div {padding-top:0!important}";
  83. if (false || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua"))
  84. css += [
  85. "body {cursor:unset!important}",
  86. " body>div[align=\"center\"] {width:auto!important;margin:0!important}"
  87. ].join("\n");
  88. if (false || (document.domain == "firepic.org" || document.domain.substring(document.domain.indexOf(".firepic.org") + 1) == "firepic.org"))
  89. css += [
  90. "body {padding:0!important;background-image:none!important}",
  91. " .container,.row {max-width:none!important}",
  92. " .container {width:100%!important}",
  93. " .row {margin:30px!important}",
  94. " .span12 {clear:both}"
  95. ].join("\n");
  96. if (false || (document.domain == "fishki.net" || document.domain.substring(document.domain.indexOf(".fishki.net") + 1) == "fishki.net"))
  97. css += " #container {cursor:unset!important}";
  98. if (false || (document.domain == "free-torrents.org" || document.domain.substring(document.domain.indexOf(".free-torrents.org") + 1) == "free-torrents.org"))
  99. css += [
  100. "#sidebar2 {padding-top:0!important}",
  101. " #main-wrapper {width:100%!important;top:0!important}"
  102. ].join("\n");
  103. if (false || (document.domain == "gamebomb.ru" || document.domain.substring(document.domain.indexOf(".gamebomb.ru") + 1) == "gamebomb.ru"))
  104. css += [
  105. "#ssdfsd,.dfgdjkfgh{background-image:none!important}",
  106. " #content{padding-top:0!important;margin-top:0!important}"
  107. ].join("\n");
  108. if (false || (document.domain == "gamer-info.com" || document.domain.substring(document.domain.indexOf(".gamer-info.com") + 1) == "gamer-info.com"))
  109. css += "#all-content-container {padding:0!important}";
  110. if (false || (document.domain == "gidonlinekino.com" || document.domain.substring(document.domain.indexOf(".gidonlinekino.com") + 1) == "gidonlinekino.com"))
  111. css += " #headerline {margin-top:0!important}";
  112. if (false || (document.domain == "goclips.tv" || document.domain.substring(document.domain.indexOf(".goclips.tv") + 1) == "goclips.tv"))
  113. css += " .video_content {height:auto!important}";
  114. if (false || (document.domain == "goha.ru" || document.domain.substring(document.domain.indexOf(".goha.ru") + 1) == "goha.ru"))
  115. css += [
  116. "#full-brand-footer>div[style*=\"fixed\"], #head-tuppy>a {display:none!important}",
  117. " #full-brand {background-image:none!important}",
  118. " #head-tuppy {height: 7px!important}"
  119. ].join("\n");
  120. if (false || (document.domain == "hdfilms.tv" || document.domain.substring(document.domain.indexOf(".hdfilms.tv") + 1) == "hdfilms.tv"))
  121. css += " #subheader{padding-top:1px!important}";
  122. if (false || (document.domain == "iphones.ru" || document.domain.substring(document.domain.indexOf(".iphones.ru") + 1) == "iphones.ru"))
  123. css += [
  124. "#wrap {filter:none!important}",
  125. " body > div[style^=\"background-color:\"] {display:none!important}"
  126. ].join("\n");
  127. if (false || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv"))
  128. css += " #main {width: auto!important}";
  129. if (false || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru"))
  130. css += [
  131. " body{background:none!important}",
  132. " body{background:#C0C0C0!important}",
  133. " html[style] {background-image: url()!important;}",
  134. " #top .png_block, #GoUpClickZone{background:url() !important;}",
  135. " #top {height:100px!important}",
  136. " .master {top:1px!important}",
  137. " .menu {top:1px!important}",
  138. // !! выравниваем секцию поиск:
  139. " #top_form {top: 2px!important;}",
  140. " #top .png_block {top: 2px!important;}"
  141. ].join("\n");
  142. if (false || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net"))
  143. css += " body.brending {padding-top:180px!important}";
  144. if (false || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru"))
  145. css += " #dynamic-content{margin-top:0!important}";
  146. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  147. css += [
  148. "body{background:#c0c0c0!important}",
  149. " div>div>a>div[style*=\"height\"] {display:none!important}",
  150. " .prof,.user_menu_link{color:white!important}",
  151. " .prof,.logo {height:80px!important}"
  152. ].join("\n");
  153. 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"))
  154. css += " .b-branding__wrap {padding:0!important}";
  155. if (false || (document.domain == "my-cinema.net" || document.domain.substring(document.domain.indexOf(".my-cinema.net") + 1) == "my-cinema.net"))
  156. css += " #main-wrapper {top:0!important}";
  157. if (false || (document.domain == "noob-club.ru" || document.domain.substring(document.domain.indexOf(".noob-club.ru") + 1) == "noob-club.ru"))
  158. css += "#header-new {margin-bottom:0!important}";
  159. if (false || (document.domain == "online.anidub.com" || document.domain.substring(document.domain.indexOf(".online.anidub.com") + 1) == "online.anidub.com"))
  160. css += " .background {background:unset!important}";
  161. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  162. css += [
  163. "#mainplace>table>tbody>tr:first-child,.needblock {display:none!important}",
  164. " #wrapper {width:100%!important}",
  165. " #main {padding-top:0!important}"
  166. ].join("\n");
  167. if (false || (document.domain == "politobzor.net" || document.domain.substring(document.domain.indexOf(".politobzor.net") + 1) == "politobzor.net"))
  168. css += " .banner {height:90px!important}";
  169. if (false || (document.domain == "popmech.ru" || document.domain.substring(document.domain.indexOf(".popmech.ru") + 1) == "popmech.ru"))
  170. css += " .header__brand {margin-top:0!important}";
  171. if (false || (document.domain == "povarenok.ru" || document.domain.substring(document.domain.indexOf(".povarenok.ru") + 1) == "povarenok.ru"))
  172. css += [
  173. ".car_content {margin:0!important;width:100%!important}",
  174. " .car_recept {width:97%!important}",
  175. " .cont_head, .cont_mid, .car_footer {background:none!important}",
  176. " .car_header, .petushok, .cont_foot {display:none!important}"
  177. ].join("\n");
  178. if (false || (document.domain == "promodj.com" || document.domain.substring(document.domain.indexOf(".promodj.com") + 1) == "promodj.com"))
  179. css += " #topbrandingspot {padding-top:0!important}";
  180. if (false || (document.domain == "riotpixels.com" || document.domain.substring(document.domain.indexOf(".riotpixels.com") + 1) == "riotpixels.com"))
  181. css += [
  182. "body {background-image:none!important}",
  183. " .all-wrapper, .bottom-bar {top:0!important}",
  184. " .bottom-bar, .action-menu {position:fixed!important}"
  185. ].join("\n");
  186. if (false || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru"))
  187. css += " #block-sc2tv_streams-0 {margin-top:0!important}";
  188. if (false || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru"))
  189. css += " body {background-color:#707070!important}";
  190. if (false || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com"))
  191. css += " #wrapper>#all {margin-top:0!important}";
  192. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  193. css += " body.img-bg,#branding-layout {background:gray!important;padding-top:0!important}";
  194. if (false || (document.domain == "tnt-online.ru" || document.domain.substring(document.domain.indexOf(".tnt-online.ru") + 1) == "tnt-online.ru"))
  195. css += [
  196. "/*self-ads for bitblock*/",
  197. " #contentShifter {display:none!important}",
  198. " #all > #mainmenu_new2 {top:0!important}"
  199. ].join("\n");
  200. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  201. css += " .body-branding {background:none!important;padding-top:0!important}";
  202. if (false || (document.domain == "zoneofgames.ru" || document.domain.substring(document.domain.indexOf(".zoneofgames.ru") + 1) == "zoneofgames.ru"))
  203. css += " .branding,div.logo {background:none!important;height:auto!important}";
  204. if (false || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com"))
  205. css += [
  206. "body {background:white!important;}",
  207. " body{background-image: url()!important;}",
  208. " div{background-image: url()!important;}",
  209. " .branding {padding-top: 5px!important;}",
  210. " body {padding-top: 5px!important;}",
  211. " .limiter{padding-top: 5px!important;}",
  212. " .main_tm_search_tool,.searchline {background: white!important;}",
  213. // !! для широкоформатных мониторов
  214. " .header_container, .bottom_container, #content, .content, .wrapper, .limiter {width: 100%!important;}",
  215. " div.limiter > div.wrapper > div.c_w > table > tbody > tr > td[align=\"center\"] > table[width=\"960\"] {width: 100%!important;}"
  216. ].join("\n");
  217. if (false || (document.domain == "nnm-club.me" || document.domain.substring(document.domain.indexOf(".nnm-club.me") + 1) == "nnm-club.me"))
  218. css += [
  219. "body{background:none !important;}",
  220. " body{background-image:none !important;}",
  221. // ! --- широко
  222. // ! ".wrap{min-width:1030px;max-width:100% !important;}",
  223. " body>table[width=\"85%\"]{width:100%!important;}",
  224. " body{padding:0 !important;}",
  225. " body {padding-top:0!important}",
  226. " body>div.wrap{min-width:1030px;max-width:100% !important;}"
  227. ].join("\n");
  228. 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"))
  229. css += [
  230. " #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;}",
  231. "div#post-container{background:url(\"\")!important;}"
  232. ].join("\n");
  233. if (false || (document.domain == "nnm.me" || document.domain.substring(document.domain.indexOf(".nnm.me") + 1) == "nnm.me"))
  234. css += [
  235. "body{background: none !important;}",
  236. " body, #theme_8{background: url('') !important;}",
  237. " body {background-image:none!important}",
  238. " body, div#page{background:gray!important;background-color:gray!important;}",
  239. " body, div#page, element.style{background-image:url('') !important;}",
  240. " body, div#page, .pirate-branding, .pb_button_play{background:none!important;}",
  241. " div#page{margin-top:0px!important;}",
  242. " div#optionspanel{margin-top:0px!important;margin-left:0px!important;}",
  243. " div#page>div[style*=\"width: 990px;\"][style*=\"height: 206px; position: relative;\"]{height: 0px!important;}",
  244. " .pb_top_img, .pirate-branding, a.pb_link, .pb_logo_brand, .pb_left_banner, .pb_right_banner, #b-logo{height: 0px !important;}",
  245. " .pirate-branding, .pb_button_play_big{top:0px !important;}",
  246. " body{padding-top: 0px !important;}",
  247. " #cntnt{margin-top: 0px !important;}",
  248. " div#page{top: 0px !important;}",
  249. " #mmmBanner{height: 0px !important;}",
  250. " .head_assn {height: 0px !important; width: 0px !important;}",
  251. " .head_assn .assn_logo {width: 0px !important; height: 0px !important; top: 0px !important; left: 0px !important; background: url(\" \") !important; }",
  252. " .head_assn .assn_slogan {width: 0px !important; height: 0px !important; top: 0px !important; left:0px !important; background: url(\" \") !important; }",
  253. " html{height: 0px !important;}",
  254. " body{click=()!important;}",
  255. // !! заполненяем всю ширину экрана. Раскомментировать строки (убрать воскл.знаки в начале строк)
  256. " #wrap, #scrollPanel{width: 1320px !important;}",
  257. " #cntnt{margin-top: 0px !important; position: absolute; left: 0% !important; margin-left: 0px !important;}",
  258. " #wrapper {width: 1300px !important;}",
  259. " #content{width: 900px !important;}",
  260. " body {text-align:center!important}",
  261. " #page {display:inline-block!important}",
  262. " #wrap {text-align:initial!important}"
  263. ].join("\n");
  264. 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"))
  265. css += [
  266. // ! site yandex
  267. ".adsrv {width:0px!important;min-width:0!important;max-width:0!important;",
  268. " height:0!important;min-height:0!important;max-height:0!important;",
  269. " overflow:hidden!important;}",
  270. " .b-top-wizard{width:1000px!important;} .b-body-items.b-serp-list{width:1000px!important;}",
  271. " .ymaps-map{background:none !important;}",
  272. " a{onmousedown=''!important;}",
  273. " a{onclick=''!important;}"
  274. // " tv.yandex.ru##td[width=\"24%\"]{width:12%!important;}"
  275. ].join("\n");
  276. if (false || (document.domain == "4seasons-ltc.com" || document.domain.substring(document.domain.indexOf(".4seasons-ltc.com") + 1) == "4seasons-ltc.com"))
  277. css += [
  278. "body{background-image:none !important;}",
  279. " body{font-family: Tahoma !important;}"
  280. ].join("\n");
  281. if (false || (document.domain == "china-review.com.ua" || document.domain.substring(document.domain.indexOf(".china-review.com.ua") + 1) == "china-review.com.ua"))
  282. css += [
  283. "body{background:url()!important;}",
  284. " body{background-image:none !important;}",
  285. " body{background:none!important;}",
  286. " body{margin-top:0px!important;}"
  287. ].join("\n");
  288. if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
  289. css += [
  290. "body{background:none!important;} .layer_top {background:none!important;} .layer_bottom {background:none!important;} .cast_bg{background:none!important;}",
  291. " .contentbg {background-image:none!important;} #4iframe {background-image:none!important;} ",
  292. " #framescr{background-image:none!important;}"
  293. ].join("\n");
  294. if (false || (document.domain == "amovies.tv" || document.domain.substring(document.domain.indexOf(".amovies.tv") + 1) == "amovies.tv"))
  295. css += [
  296. // !! расширяем
  297. "article{width: 980px !important;}",
  298. " #vk_select {float:none !important;margin-left: 445px!important;}",
  299. " #vk_top,#vk_select {background:url()!important;}"
  300. ].join("\n");
  301. if (false || (document.domain == "avito.ru" || document.domain.substring(document.domain.indexOf(".avito.ru") + 1) == "avito.ru"))
  302. css += " .bonprix-1{background: none !important;} ";
  303. if (false || (document.domain == "bash.im" || document.domain.substring(document.domain.indexOf(".bash.im") + 1) == "bash.im"))
  304. css += " span.csd{background:none !important;}";
  305. if (false || (document.domain == "bestrepack.net" || document.domain.substring(document.domain.indexOf(".bestrepack.net") + 1) == "bestrepack.net"))
  306. css += " div#body_container{padding: 0 !important;}";
  307. if (false || (document.domain == "bookvoed.ru" || document.domain.substring(document.domain.indexOf(".bookvoed.ru") + 1) == "bookvoed.ru"))
  308. css += " .Fh{margin-top: 79px!important;}";
  309. if (false || (document.domain == "clubupravdom.ru" || document.domain.substring(document.domain.indexOf(".clubupravdom.ru") + 1) == "clubupravdom.ru"))
  310. css += " *{background-image: none !important;}";
  311. if (false || (document.domain == "computerra.ru" || document.domain.substring(document.domain.indexOf(".computerra.ru") + 1) == "computerra.ru"))
  312. css += [
  313. " div.page.page-podl{padding-top: 0px!important;}",
  314. " div#under{width:auto!important}",
  315. " a.link{font-weight:bold!important; font-family:Verdana!important;font-size: 12px!important}",
  316. " div.column{max-width:80%!important}"
  317. ].join("\n");
  318. if (false || (document.domain == "crowdin.com" || document.domain.substring(document.domain.indexOf(".crowdin.com") + 1) == "crowdin.com"))
  319. css += " #user-cover-picture,#user-cover-picture-blurred{background:url()!important;}";
  320. 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"))
  321. css += [
  322. "body{background:none !important;}",
  323. " td{background-image:none !important;}"
  324. ].join("\n");
  325. if (false || (document.domain == "ebay-forum.ru" || document.domain.substring(document.domain.indexOf(".ebay-forum.ru") + 1) == "ebay-forum.ru"))
  326. 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;}";
  327. 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"))
  328. css += [
  329. "body{background:none !important;}",
  330. " body{background-image:none !important;}"
  331. ].join("\n");
  332. if (false || (document.domain == "f1news.ru" || document.domain.substring(document.domain.indexOf(".f1news.ru") + 1) == "f1news.ru"))
  333. css += [
  334. " div[id=\"bannerText\"]{border:0px!important;margin-left:10px!important;}",
  335. " body{background:url() top center no-repeat #000000 !important;}",
  336. // !! расширяем текстовое поле
  337. " div#textBlock{width:900px !important;}"
  338. ].join("\n");
  339. if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
  340. css += [
  341. " #contentArea {width: 750px !important;}",
  342. " .uiUfi {width: 650px !important;}",
  343. // !! " body {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  344. // !! " #contentCol {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
  345. " div#profile_stream_composer {background-color:#C1D5F6;}",
  346. " #blueBar {background-color: transparent !important;}",
  347. " #headNav {background-color: #transparent !important;}",
  348. " .jewelButton {background-color: transparent !important;}",
  349. " #fbNotificationsFlyout {left: 50px !important;}",
  350. " .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;}",
  351. // !! " #pageNav a {color: #00ffff !important;display: inline-block;font-weight: bold;height: 22px;padding: 8px 10px 0px;text-decoration: none;}",
  352. " .UIImageBlock {color: #000000 !important}",
  353. " .fcg {color: darkgreen !important;}",
  354. " .mts.uiAttachmentDesc.translationEligibleUserAttachmentMessage {color: black !important;}"
  355. ].join("\n");
  356. if (false || (document.domain == "fastpic.ru" || document.domain.substring(document.domain.indexOf(".fastpic.ru") + 1) == "fastpic.ru"))
  357. css += [
  358. " #logo-area{padding-top: 0px!important;}",
  359. " *{background:none !important;}",
  360. " *{background-image:none !important;}",
  361. " 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;}",
  362. // !! всё - чёрным
  363. " *{color: black!important;}",
  364. " body{background: none!important;}"
  365. // " html {background-color:#171616!important}"
  366. ].join("\n");
  367. if (false || (document.domain == "livesport.ws" || document.domain.substring(document.domain.indexOf(".livesport.ws") + 1) == "livesport.ws"))
  368. css += [
  369. // !! убираем фон и баннер
  370. " body {background:none!important;color:#333!important;}",
  371. " body{background:url()!important;background-color:#000002!important;}",
  372. " body,.top-panel-wrap.fixed {background-image:url() !important;}",
  373. " body{background-image:none !important;}",
  374. " div[id=\"flash\"]{height: 0px !important;}"
  375. ].join("\n");
  376. if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
  377. css += [
  378. " body{background:gray!important}",
  379. " div[class=\"mid\"]{background:LightGrey!important}",
  380. // !! ==== и меняем на читаемый цвет
  381. " div{class=\"user_avatar\";color:black!important}",
  382. " span{class=\"wh\";color:black!important}",
  383. " a[href=\"\/my.php\"]{color:black!important}",
  384. " a[href=\"\/messages.php\"]{color:black!important}",
  385. " a[href=\"http:\/\/login.bogi.ru\/logout.php\?target=http:\/\/lostfilm.tv/\"]{color:black!important}"
  386. ].join("\n");
  387. if (false || (document.domain == "filmix.net" || document.domain.substring(document.domain.indexOf(".filmix.net") + 1) == "filmix.net"))
  388. css += " body{padding: 0px 0 0 0!important}";
  389. 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"))
  390. css += [
  391. "div[class=\"anonym_login\"]{width: 100% !important;}",
  392. // !! "div {background-image:none !important;}",
  393. // !! "div {background:url()!important;}",
  394. // !! "div[class^=\"prl_slide_\"] {background:url()!important;}"
  395. ].join("\n");
  396. if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
  397. css += [
  398. " #main{background:none!important;background:#FFF!important;}",
  399. " div[id=\"main\"]>div[id=\"adw\"]{height:0px!important;}",
  400. " div[id=\"main\"]>div[class=\"box1\"]{height:0px!important;}",
  401. " div[id=\"main\"]>div:nth-of-type(1){height:0px!important;}"
  402. ].join("\n");
  403. if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
  404. css += [
  405. "div.paral>a>div{background:url()!important;}",
  406. " div.paral>a>div{height:64px!important;}",
  407. " table#header_t {margin-top: 0px !important;}"
  408. ].join("\n");
  409. if (false || (document.domain == "rambler.ru" || document.domain.substring(document.domain.indexOf(".rambler.ru") + 1) == "rambler.ru"))
  410. css += [
  411. ".b-left-column .b-left-column__wrapper{margin:0 !important}",
  412. " div[class=\"appWindow\"]{right:0px!important;}"
  413. ].join("\n");
  414. if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
  415. css += " .article__content {margin-right: 0px !important;}";
  416. if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
  417. css += [
  418. "#octo-set{background-image:none!important;padding-top:0!important}",
  419. " #main-wrapper{width:auto!important}",
  420. " body{background-image: none!important;} ",
  421. " body{background:none!important;}",
  422. " #main-wrapper{top:10px!important;}",
  423. // !! cкрыть заголовок
  424. " #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;}"
  425. ].join("\n");
  426. 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"))
  427. css += [
  428. "*{background:none!important}",
  429. " *{background:url('')!important}",
  430. " *{background:silver!important; color:black!important;}",
  431. " 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; }"
  432. ].join("\n");
  433. if (false || (document.domain == "ruspravda.info" || document.domain.substring(document.domain.indexOf(".ruspravda.info") + 1) == "ruspravda.info"))
  434. css += [
  435. "body{background:white!important;}",
  436. " table#header_t {margin-top: 0px !important;}"
  437. ].join("\n");
  438. if (false || (document.domain == "rustorka.com" || document.domain.substring(document.domain.indexOf(".rustorka.com") + 1) == "rustorka.com"))
  439. css += " .topmenu{margin-top:25px !important;}";
  440. if (false || (document.domain == "rutor.org" || document.domain.substring(document.domain.indexOf(".rutor.org") + 1) == "rutor.org"))
  441. css += [
  442. // !! оформление от zuefhrf
  443. "div#ws div#sidebar{top: 0px !important;}",
  444. " div#ws div#sidebar{right: 8px !important;}",
  445. " div#ws div#sidebar div.sideblock{margin-top: 0px !important;}",
  446. " div#ws div#content{right: 6px !important;}",
  447. " h3{text-align: left !important;}"
  448. ].join("\n");
  449. if (false || (document.domain == "samlab.ws" || document.domain.substring(document.domain.indexOf(".samlab.ws") + 1) == "samlab.ws"))
  450. css += [
  451. "div.box.main {width: auto; !important;}",
  452. " div#right {width: 2px; !important;}"
  453. ].join("\n");
  454. if (false || (document.domain == "samlib.ru" || document.domain.substring(document.domain.indexOf(".samlib.ru") + 1) == "samlib.ru"))
  455. css += [
  456. "body {font-family: sans-serif !important;line-height: 140% !important;color: #B2B2B2 !important;background: #3A3E46 !important;}",
  457. " font {color: #B2B2B2 !important;}",
  458. " table, td, td font {color: #BEBEBE !important;background-color: #555C66 !important;}",
  459. " a:link {color: #9DD7FF !important;}",
  460. " a:visited {color: #EAB6FF !important;}",
  461. " a:hover {color: #F0B2B2 !important;}",
  462. " dl {margin-top: 1em !important;}"
  463. ].join("\n");
  464. if (false || (document.domain == "securitylab.ru" || document.domain.substring(document.domain.indexOf(".securitylab.ru") + 1) == "securitylab.ru"))
  465. css += [
  466. " #content #left{margin-left: 0px!important;max-width: 1000px!important;}",
  467. // !! логотип
  468. " div#header{height:00px!important;background-color:white!important;} div#MAIN_MENU{top:0px!important;}"
  469. ].join("\n");
  470. if (false || (document.domain == "sportbox.ru" || document.domain.substring(document.domain.indexOf(".sportbox.ru") + 1) == "sportbox.ru"))
  471. css += [
  472. " body{background:none!important;padding-top: 0px!important;}",
  473. " .sb_c_topmed_olymp, .gold, .silver, .bronze {background:none!important;}"
  474. ].join("\n");
  475. if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
  476. css += [
  477. " .kaspersky, .overall {background:none!important;}",
  478. " .kaspersky, .pageLayout {top: 0px!important;}"
  479. ].join("\n");
  480. if (false || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me"))
  481. css += [
  482. " body{background-image: none !important;}",
  483. " body {padding:0px 0 0 0!important}"
  484. ].join("\n");
  485. if (false || (document.domain == "torrent-tv.ru" || document.domain.substring(document.domain.indexOf(".torrent-tv.ru") + 1) == "torrent-tv.ru"))
  486. css += [
  487. " body {background-image:none!important;padding-top: 0px!important;}",
  488. " div#main-wrapper {top:auto!important}",
  489. " div.news-text {width:auto!important}",
  490. " div[class^=\"usual-header\"] {width:126%!important}",
  491. " div[class=\"usual\"] {width:132%!important}",
  492. " div[class^=\"usual-content\"] {width:99%!important}"
  493. // !!
  494. // !! " body>div:nth-of-type(1) {background:url()!important;}",
  495. // !! " body {background:gray!important}",
  496. ].join("\n");
  497. if (false || (document.domain == "turbobit.net" || document.domain.substring(document.domain.indexOf(".turbobit.net") + 1) == "turbobit.net"))
  498. css += " html {background:none!important}";
  499. if (false || (document.domain == "vesti.ru" || document.domain.substring(document.domain.indexOf(".vesti.ru") + 1) == "vesti.ru"))
  500. css += [
  501. " .bottom_bg {background: none !important;}",
  502. " body, .head, .all_wrap {background: url(\" \") !important;}"
  503. ].join("\n");
  504. if (false || (document.domain == "dns-shop.ru" || document.domain.substring(document.domain.indexOf(".dns-shop.ru") + 1) == "dns-shop.ru"))
  505. css += " div.wrapper{width: auto !important;}";
  506. if (false || (document.domain == "yaplakal.com" || document.domain.substring(document.domain.indexOf(".yaplakal.com") + 1) == "yaplakal.com"))
  507. css += [
  508. " body{background:none!important}",
  509. " #footer{background:url()!important}",
  510. " #footer{background-image:none !important;}"
  511. ].join("\n");
  512. if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
  513. css += [
  514. " div[class=\"body-branding\"]{background:grey!important; padding-top: 0px!important; padding: 5px!important}",
  515. " div[class=\"body-gaps\"]{max-width:100%!important}"
  516. ].join("\n");
  517. if (false || (document.domain == "zalil.ru" || document.domain.substring(document.domain.indexOf(".zalil.ru") + 1) == "zalil.ru"))
  518. css += [
  519. " body{background:none !important;}",
  520. " body{background-color:gray !important;}",
  521. " body{background-image:none !important;}"
  522. ].join("\n");
  523. if (false || (document.domain == "taker.im" || document.domain.substring(document.domain.indexOf(".taker.im") + 1) == "taker.im"))
  524. css += [
  525. // !! скрываем рекламные ссылки (СПАМ) в тексте
  526. " a[href^=\"/phpBB2/goto/http://www.ebay.com/sch/\"][rel=\"nofollow\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
  527. ].join("\n");
  528. if (typeof GM_addStyle != "undefined") {
  529. GM_addStyle(css);
  530. } else if (typeof PRO_addStyle != "undefined") {
  531. PRO_addStyle(css);
  532. } else if (typeof addStyle != "undefined") {
  533. addStyle(css);
  534. } else {
  535. var node = document.createElement("style");
  536. node.type = "text/css";
  537. node.appendChild(document.createTextNode(css));
  538. var heads = document.getElementsByTagName("head");
  539. if (heads.length > 0) {
  540. heads[0].appendChild(node);
  541. } else {
  542. // no head yet, stick it whereever
  543. document.documentElement.appendChild(node);
  544. }
  545. }
  546. })();