RU Max4_ABP_Fix CSS

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

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

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