RU Max4_ABP_Fix CSS

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

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

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