// ==UserScript==
// @name RU Max4_ABP_Fix CSS
// @namespace https://gf.qytechs.cn
// @description Дополнение, исправляющее работу Adblock Plus для отдельных сайтов. Возвращаем функционал Ad-Охотника в Maxthon4. Спасибо lainverse за идею.
// @author lainverse & ALeXkRU
// @license CC BY-SA
// @homepage https://gf.qytechs.cn/ru/scripts/8225-ru-max4-abp-fix-css
// @run-at document-end
// @include *
// @version 0.20151224040024
// @grant GM_addStyle
// ==/UserScript==
(function(){
(function(){var css = "";
css += [
"@namespace url(http://www.w3.org/1999/xhtml);",
"",
"/* Фильтры фоновых картинок */"
].join("\n");
// ! console.log("es");
if (false || (document.domain == "ru-board.com" || document.domain.substring(document.domain.indexOf(".ru-board.com") + 1) == "ru-board.com") || (document.domain == "latestnewsofusa.org" || document.domain.substring(document.domain.indexOf(".latestnewsofusa.org") + 1) == "latestnewsofusa.org"))
css += [
// правка структуры Ru-Board
"span.dats{position:relative!important;top: 10px!important;}",
// !! скрываем рекламные ссылки (СПАМ) в сообщениях
" a[href^=\"http://forum.ru-board.com/\"][href$=\"/\"][target=\"_blank\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
// !! ======= ПРАВКА СТРУКТУРЫ. вынесено в отдельный скрипт. См. Ru-Board_Extrim_Max4_ABP_Fix-CSS =======
].join("\n");
if (false || (document.domain == "aif.ru" || document.domain.substring(document.domain.indexOf(".aif.ru") + 1) == "aif.ru") || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru") || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua") || (document.domain == "image2you.ru" || document.domain.substring(document.domain.indexOf(".image2you.ru") + 1) == "image2you.ru") || (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 == "stopgame.ru" || document.domain.substring(document.domain.indexOf(".stopgame.ru") + 1) == "stopgame.ru") || (document.domain == "zakon.kz" || document.domain.substring(document.domain.indexOf(".zakon.kz") + 1) == "zakon.kz") || (document.domain == "muzofon.com" || document.domain.substring(document.domain.indexOf(".muzofon.com") + 1) == "muzofon.com"))
css += " html, html>body {background-image:none!important;}";
if (false || (document.domain == "kronverkcinema.ua" || document.domain.substring(document.domain.indexOf(".kronverkcinema.ua") + 1) == "kronverkcinema.ua") || (document.domain == "moskva.fm" || document.domain.substring(document.domain.indexOf(".moskva.fm") + 1) == "moskva.fm") || (document.domain == "newstudio.tv" || document.domain.substring(document.domain.indexOf(".newstudio.tv") + 1) == "newstudio.tv") || (document.domain == "roem.ru" || document.domain.substring(document.domain.indexOf(".roem.ru") + 1) == "roem.ru") || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me") || (document.domain == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info"))
css += " body {padding-top:0!important;}";
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"))
css += " html>body {padding:0!important;}";
if (false || (document.domain == "101.ru" || document.domain.substring(document.domain.indexOf(".101.ru") + 1) == "101.ru"))
css += " #layout {background:none!important;}";
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"))
css += [
"TD[height=\"70\"][style],#user2s[height=\"71\"],",
" #userlinks[height=\"70\"] {display:none!important;}"
].join("\n");
if (false || (document.domain == "4pda.ru" || document.domain.substring(document.domain.indexOf(".4pda.ru") + 1) == "4pda.ru"))
css += [
" #main {background-image:none!important;}",
" *{background-image:url(\"\")!important;}",
// !! " #header + #ruBlbZq {background-image:url()!important;}",
// !! " #header + * {background-image:url()!important;}",
" #header + #ruBlbZq {background-image: url(\"\") !important;}",
" #main {padding: 0 !important;}",
" .brand-page {display: none!important;}",
" .brand-page {height:0!important;}",
" body,#main,#rnd-replace-main {background: #E6E7E9!important}",
" div#main>div.holder.no-hidden{padding:0 !important;}",
" div#main>div.holder.no-hidden{width: inherit !important;}",
" html>body>div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div {background-image: url(\"\")!important;}",
" article#content{width: 920px !important;}",
// ! " #header~div:not(#contacts):not(#body) {background-image:none!important;background-color:#E6E7E9!important}",
// ! " link~div[class$=\" \"] {display:none!important}",
" div#main>div.holder.no-hidden{padding: 0 !important;}",
" div#main>div.holder.no-hidden{width: inherit !important;}",
" iv#main>div.holder.no-hidden>a{display: none!important;}",
" div#main>div.holder.no-hidden>div.brand-page-counters{display: none!important;}",
" div#ipbwrapper>div.borderwrap-header{display: none!important;}",
" div.borderwrap-header>table{display: none!important;}",
" div#dw-wrapper{display: none!important;}",
" a.brand-page.main{display: none!important;}",
" main{background-image: none !important;}",
" div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div>div:nth-of-type(4){display: none!important;}",
" div#wrapper>div:nth-of-type(1)>div:nth-of-type(1)>header+div>div:nth-of-type(3){display: none!important;}"
].join("\n");
if (false || (document.domain == "adultmult.tv" || document.domain.substring(document.domain.indexOf(".adultmult.tv") + 1) == "adultmult.tv"))
css += ".adsbygoogle,#aswift_0_expand {display:none!important;}";
if (false || (document.domain == "afisha.ru" || document.domain.substring(document.domain.indexOf(".afisha.ru") + 1) == "afisha.ru"))
css += [
".page_block_content {width:100%!important;}",
" .page_block_adv {background:none!important;}"
].join("\n");
if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
css += " #new_logo_helper01 {top:0!important;}";
if (false || (document.domain == "aif.ru" || document.domain.substring(document.domain.indexOf(".aif.ru") + 1) == "aif.ru"))
css += "#container {margin-top:0!important}";
if (false || (document.domain == "all-episodes.com" || document.domain.substring(document.domain.indexOf(".all-episodes.com") + 1) == "all-episodes.com"))
css += " .wrapper {top:0!important;}";
if (false || (document.domain == "allhockey.ru" || document.domain.substring(document.domain.indexOf(".allhockey.ru") + 1) == "allhockey.ru"))
css += ".adr-top { height:0!important;min-height:0!important}";
if (false || (document.domain == "aliexpress.com" || document.domain.substring(document.domain.indexOf(".aliexpress.com") + 1) == "aliexpress.com"))
css += [
" div.categories-main{ display: inline-block !important; width:auto !important; } dl.cl-item{display: inline-block !important;}",
" div.index-page>div.user-helper-footer{position: relative !important; top: 120px !important; padding: 0 !important;}",
" div.index-page>div.site-footer{position: relative !important; top: 120px !important; margin: 0 !important; padding: 0 !important;}",
" div.index-page>div.footer-copywrite{position: relative !important; top: 120px !important;}",
" div.index-page{height: inherit !important;}"
].join("\n");
if (false || (document.domain == "animevost.org" || document.domain.substring(document.domain.indexOf(".animevost.org") + 1) == "animevost.org"))
css += [
"div[class^=\"headbg\"] {background-image:none!important;height:auto!important;}",
" div[class^=\"headbg\"] > .menu {top:0px!important;}",
" div[class^=\"headbg\"] > .menu .sar {bottom:auto!important;top:50px!important;z-index:100!important;}"
].join("\n");
if (false || (document.domain == "anistar.ru" || document.domain.substring(document.domain.indexOf(".anistar.ru") + 1) == "anistar.ru"))
css += [
"body > .clear + div:not(.main),.news-fixed {display:none!important;}",
" .wrapper.width1200 {margin-top:0}",
" .drowmenu {z-index:1001}"
].join("\n");
if (false || (document.domain == "anti-malware.ru" || document.domain.substring(document.domain.indexOf(".anti-malware.ru") + 1) == "anti-malware.ru"))
css += "#header-bg-enf {margin-top:0!important;}";
if (false || (document.domain == "bestpersons.ru" || document.domain.substring(document.domain.indexOf(".bestpersons.ru") + 1) == "bestpersons.ru"))
css += [
"/* Fx compat fix */",
" #userTabs {float:none!important;}"
].join("\n");
if (false || (document.domain == "binmovie.org" || document.domain.substring(document.domain.indexOf(".binmovie.org") + 1) == "binmovie.org"))
css += " #content {top:0!important;left:0!important;width:100%!important;margin-left:0!important;}";
if (false || (document.domain == "bvedomosti.ru" || document.domain.substring(document.domain.indexOf(".bvedomosti.ru") + 1) == "bvedomosti.ru"))
css += [
".art-Header {display:none!important;}",
" #art-main {background-image:none!important;}",
" .bg-top-menu {top:0!important;}"
].join("\n");
if (false || (document.domain == "carambatv.ru" || document.domain.substring(document.domain.indexOf(".carambatv.ru") + 1) == "carambatv.ru"))
css += " .content {background:none!important;padding:0!important;}";
if (false || (document.domain == "cars.ru" || document.domain.substring(document.domain.indexOf(".cars.ru") + 1) == "cars.ru"))
css += [
"#main {margin-top:0!important;}",
" A[href*=\"/adclick.php?bannerid=\"] {display:none!important;}"
].join("\n");
if (false || (document.domain == "dota2.ru" || document.domain.substring(document.domain.indexOf(".dota2.ru") + 1) == "dota2.ru"))
css += " body {background:black!important;}";
if (false || (document.domain == "drive.ru" || document.domain.substring(document.domain.indexOf(".drive.ru") + 1) == "drive.ru"))
css += "body>div {background:none!important;padding-top:0!important;}";
if (false || (document.domain == "epravda.com.ua" || document.domain.substring(document.domain.indexOf(".epravda.com.ua") + 1) == "epravda.com.ua"))
css += [
" body {cursor:auto!important;}",
" body>div[align=\"center\"] {width:auto!important;margin:0!important;}"
].join("\n");
if (false || (document.domain == "firepic.org" || document.domain.substring(document.domain.indexOf(".firepic.org") + 1) == "firepic.org"))
css += [
"body {padding:0!important;background-image:none!important;}",
" .container,.row {max-width:none!important;}",
" .container {width:100%!important;}",
" .row {padding:30px!important;margin:0px!important;}",
" .span12 {clear:both}"
].join("\n");
if (false || (document.domain == "fishki.net" || document.domain.substring(document.domain.indexOf(".fishki.net") + 1) == "fishki.net"))
css += "#container {cursor:auto!important;}";
if (false || (document.domain == "free-torrents.org" || document.domain.substring(document.domain.indexOf(".free-torrents.org") + 1) == "free-torrents.org"))
css += [
"#sidebar2 {padding-top:0!important;}",
" #main-wrapper {width:100%!important;top:0!important;}"
].join("\n");
if (false || (document.domain == "gamebomb.ru" || document.domain.substring(document.domain.indexOf(".gamebomb.ru") + 1) == "gamebomb.ru"))
css += [
"#ssdfsd,.dfgdjkfgh{background-image:none!important;}",
" #content{padding-top:0!important;margin-top:0!important;}"
].join("\n");
if (false || (document.domain == "gamer-info.com" || document.domain.substring(document.domain.indexOf(".gamer-info.com") + 1) == "gamer-info.com"))
css += "#all-content-container {padding:0!important;}";
if (false || (document.domain == "gidonline.club" || document.domain.substring(document.domain.indexOf(".gidonline.club") + 1) == "gidonline.club"))
css += "#headerline {margin-top:0!important;}";
if (false || (document.domain == "gidonlinekino.com" || document.domain.substring(document.domain.indexOf(".gidonlinekino.com") + 1) == "gidonlinekino.com"))
css += " #headerline {margin-top:0!important;}";
if (false || (document.domain == "goclips.tv" || document.domain.substring(document.domain.indexOf(".goclips.tv") + 1) == "goclips.tv"))
css += " .video_content {height:auto!important;}";
if (false || (document.domain == "goha.ru" || document.domain.substring(document.domain.indexOf(".goha.ru") + 1) == "goha.ru"))
css += [
"#full-brand-footer>div[style*=\"fixed\"], #head-tuppy>a {display:none!important;}",
" #full-brand {background-image:none!important;}",
" #head-tuppy {height: 7px!important;}"
].join("\n");
if (false || (document.domain == "gotps3.ru" || document.domain.substring(document.domain.indexOf(".gotps3.ru") + 1) == "gotps3.ru"))
css += "#Page {margin-top:0!important;}";
if (false || (document.domain == "gstv.ru" || document.domain.substring(document.domain.indexOf(".gstv.ru") + 1) == "gstv.ru"))
css += ".page-content {margin-top:0!important;}";
if (false || (document.domain == "hdfilms.tv" || document.domain.substring(document.domain.indexOf(".hdfilms.tv") + 1) == "hdfilms.tv"))
css += " #subheader{padding-top:1px!important;}";
if (false || (document.domain == "iphones.ru" || document.domain.substring(document.domain.indexOf(".iphones.ru") + 1) == "iphones.ru"))
css += "#contentShifter {height:127px!important}";
if (false || (document.domain == "kino-dom.tv" || document.domain.substring(document.domain.indexOf(".kino-dom.tv") + 1) == "kino-dom.tv"))
css += " #main {width: auto!important;}";
if (false || (document.domain == "kinoafisha.spb.ru" || document.domain.substring(document.domain.indexOf(".kinoafisha.spb.ru") + 1) == "kinoafisha.spb.ru"))
css += "#branding_wrapper {padding-right:0!important}";
if (false || (document.domain == "kinobel.by" || document.domain.substring(document.domain.indexOf(".kinobel.by") + 1) == "kinobel.by"))
css += ".bg-site {padding-top:0!important;}";
if (false || (document.domain == "kinopoisk.ru" || document.domain.substring(document.domain.indexOf(".kinopoisk.ru") + 1) == "kinopoisk.ru"))
css += [
" body{background:none!important;}",
" body{background:#C0C0C0!important;}",
" html[style] {background-image: url()!important;}",
" #top .png_block, #GoUpClickZone{background:url() !important;}",
" #top {height:100px!important;}",
" .master {top:1px!important;}",
" .menu {top:1px!important;}",
// !! выравниваем секцию поиск:
" #top_form {top: 2px!important;}",
" #top .png_block {top: 2px!important;}",
// !! расширяем полезную площадь
" #content_block, .contentBlock1, .shadow, #top, #top .png_block, .block_left_padtop{width:100% !important;}",
" div[id\*=\"div_review_\"]{width:98% !important;}",
" .brand_words, p[id\^=\"ext_text_\"], ._reachbanner_ {width:100% !important;}",
" .reviewItem, .userReview, p[id\^=\"ext_text_\"][data-find], span._reachbanner_ {width:100% !important;}",
" div#content_block.contentBlock1>table {width:95% !important;}",
" div#content_block.contentBlock1>table>tbody[data-find]>tr[data-find] {width:95% !important;}",
" #photoBlock {padding-left:20px !important;}",
" div#nav_express {padding-left:40px !important;}"
].join("\n");
if (false || (document.domain == "kinotochka.net" || document.domain.substring(document.domain.indexOf(".kinotochka.net") + 1) == "kinotochka.net"))
css += " .LogoSearchForm {margin-top:80px!important;}";
if (false || (document.domain == "kinozadrot.net" || document.domain.substring(document.domain.indexOf(".kinozadrot.net") + 1) == "kinozadrot.net"))
css += " body.brending {padding-top:180px!important;}";
if (false || (document.domain == "krasview.ru" || document.domain.substring(document.domain.indexOf(".krasview.ru") + 1) == "krasview.ru"))
css += " #dynamic-content{margin-top:0!important;}";
if (false || (document.domain == "mail.rambler.ru" || document.domain.substring(document.domain.indexOf(".mail.rambler.ru") + 1) == "mail.rambler.ru"))
css += ".appSearchBar,.appWindowWithBanner {right:0!important}";
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"))
css += " .b-branding__wrap {padding:0!important;}";
if (false || (document.domain == "noob-club.ru" || document.domain.substring(document.domain.indexOf(".noob-club.ru") + 1) == "noob-club.ru"))
css += "#header-new {margin-bottom:0!important;}";
if (false || (document.domain == "online.anidub.com" || document.domain.substring(document.domain.indexOf(".online.anidub.com") + 1) == "online.anidub.com"))
css += " .background {background:none!important;}";
if (false || (document.domain == "politobzor.net" || document.domain.substring(document.domain.indexOf(".politobzor.net") + 1) == "politobzor.net"))
css += " .banner {height:90px!important;}";
if (false || (document.domain == "popmech.ru" || document.domain.substring(document.domain.indexOf(".popmech.ru") + 1) == "popmech.ru"))
css += " .header__brand {margin-top:0!important;}";
if (false || (document.domain == "povarenok.ru" || document.domain.substring(document.domain.indexOf(".povarenok.ru") + 1) == "povarenok.ru"))
css += [
".car_content {margin:0!important;width:100%!important;}",
" .car_recept {width:97%!important;}",
" .cont_head, .cont_mid, .car_footer {background:none!important;}",
" .car_header, .petushok, .cont_foot {display:none!important;}"
].join("\n");
if (false || (document.domain == "promodj.com" || document.domain.substring(document.domain.indexOf(".promodj.com") + 1) == "promodj.com"))
css += " #topbrandingspot {padding-top:0!important;}";
if (false || (document.domain == "riotpixels.com" || document.domain.substring(document.domain.indexOf(".riotpixels.com") + 1) == "riotpixels.com"))
css += [
"body {background-image:none!important;}",
" .all-wrapper, .bottom-bar {top:0!important;}",
" .bottom-bar, .action-menu {position:fixed!important;}"
].join("\n");
if (false || (document.domain == "sc2tv.ru" || document.domain.substring(document.domain.indexOf(".sc2tv.ru") + 1) == "sc2tv.ru"))
css += " #block-sc2tv_streams-0 {margin-top:0!important;}";
if (false || (document.domain == "seasonvar.ru" || document.domain.substring(document.domain.indexOf(".seasonvar.ru") + 1) == "seasonvar.ru"))
css += " body {background-color:#707070!important;}";
if (false || (document.domain == "smotri.com" || document.domain.substring(document.domain.indexOf(".smotri.com") + 1) == "smotri.com"))
css += " #wrapper>#all {margin-top:0!important;}";
if (false || (document.domain == "soccer.ru" || document.domain.substring(document.domain.indexOf(".soccer.ru") + 1) == "soccer.ru"))
css += [
"#beforecontent {display:none!important}",
" #left {margin-top:15px!important}"
].join("\n");
if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
css += [
"body.img-bg,#branding-layout {background:gray!important;padding-top:0!important}",
" .pageLayout {top:0!important}"
].join("\n");
if (false || (document.domain == "tort.fm" || document.domain.substring(document.domain.indexOf(".tort.fm") + 1) == "tort.fm"))
css += "#topper_up {height:88px!important}";
if (false || (document.domain == "tnt-online.ru" || document.domain.substring(document.domain.indexOf(".tnt-online.ru") + 1) == "tnt-online.ru"))
css += [
"/*self-ads for bitblock*/",
" #contentShifter {display:none!important;}",
" #all {top:15px!important;}"
].join("\n");
if (false || (document.domain == "tree.tv" || document.domain.substring(document.domain.indexOf(".tree.tv") + 1) == "tree.tv"))
css += ".wrapper {margin-top:0!important}";
if (false || (document.domain == "virusinfo.info" || document.domain.substring(document.domain.indexOf(".virusinfo.info") + 1) == "virusinfo.info"))
css += "body {margin:0!important;}";
if (false || (document.domain == "warfiles.ru" || document.domain.substring(document.domain.indexOf(".warfiles.ru") + 1) == "warfiles.ru"))
css += "#header + .banner {height:100px!important;}";
if (false || (document.domain == "vz.ru" || document.domain.substring(document.domain.indexOf(".vz.ru") + 1) == "vz.ru"))
css += [
" div.main-container{max-width: inherit !important;}",
" div.main-menu>div.menu.sys_thumbs{overflow: inherit !important;}",
" div.main-menu>div.menu.sys_thumbs>ul>li.thumb{margin-right: 0 !important;}",
" div.menu{max-width: inherit !important;}"
].join("\n");
if (false || (document.domain == "webfile.ru" || document.domain.substring(document.domain.indexOf(".webfile.ru") + 1) == "webfile.ru"))
css += ".p_wrap {margin-top:0!important;}";
if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
css += " .body-branding {background:none!important;padding-top:0!important;}";
if (false || (document.domain == "zoneofgames.ru" || document.domain.substring(document.domain.indexOf(".zoneofgames.ru") + 1) == "zoneofgames.ru"))
css += " .branding,div.logo {background:none!important;height:auto!important;}";
if (false || (document.domain == "zoomby.ru" || document.domain.substring(document.domain.indexOf(".zoomby.ru") + 1) == "zoomby.ru"))
css += [
"#global_wrapper_cont {padding:0!important;}",
" .wrapper {margin-top:60px!important;}"
].join("\n");
if (false || (document.domain == "pogoda.mail.ru" || document.domain.substring(document.domain.indexOf(".pogoda.mail.ru") + 1) == "pogoda.mail.ru"))
css += ".forecast-rb-bg {background-image:none!important}";
if (false || (document.domain == "hi-tech.mail.ru" || document.domain.substring(document.domain.indexOf(".hi-tech.mail.ru") + 1) == "hi-tech.mail.ru"))
css += "#portal-menu, .header-banner {margin:0!important}";
if (false || (document.domain == "e.mail.ru" || document.domain.substring(document.domain.indexOf(".e.mail.ru") + 1) == "e.mail.ru"))
css += "#leftcol-banners,.b-rb {position:fixed!important;top:-1000px!important;opacity:0!important;pointer-events:none!important}";
if (false || (new RegExp("^https?://anistar.ru/news(/(\\?.*)?)?$")).test(document.location.href))
css += ".news:nth-child(1) {display:none!important;}";
if (false || (document.domain == "ixbt.com" || document.domain.substring(document.domain.indexOf(".ixbt.com") + 1) == "ixbt.com"))
css += [
" body {background:white!important;}",
" body {background-color:white!important}",
" body{background-image: url()!important;}",
" body{background-image: none !important;}",
" div{background-image: url()!important;}",
" .branding {padding-top: 5px!important;}",
" body {padding-top: 5px!important;}",
" .limiter{padding-top: 5px!important;}",
" .main_tm_search_tool,.searchline {background: white!important;}",
// !! для широкоформатных мониторов
" .header_container, .bottom_container, #content, .content, .wrapper, .limiter {width: 100%!important;}",
" div.limiter > div.wrapper > div.c_w > table > tbody > tr > td[align=\"center\"] > table[width=\"960\"] {width: 100%!important;}"
].join("\n");
if (false || (document.domain == "nnm-club.me" || document.domain.substring(document.domain.indexOf(".nnm-club.me") + 1) == "nnm-club.me"))
// ! console.log("es1");
css += [
"body{background:none !important;}",
" body {padding-top:0px !important;}",
" body{background-image:none !important;}",
" body{padding:0 !important;}",
" .skin-block{background-image:url(\" \") !important;}",
" element.style{background-image:url(\"\") !important;}",
" #brTop{background-image:url(\"\") !important;}",
// !! --- широко
// !! ".wrap{min-width:1030px;max-width:100% !important;}",
" body>table[width=\"85%\"]{width:100% !important;}",
" body>div.wrap{max-width:100% !important;}",
" body>div.wrap{min-width:1030px !important;}"
].join("\n");
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"))
css += [
" #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;}",
" div#post-container{background:url(\"\")!important;}",
" div#pre-container{background:url(\"\")!important;}"
].join("\n");
if (false || (document.domain == "nnm.me" || document.domain.substring(document.domain.indexOf(".nnm.me") + 1) == "nnm.me"))
css += [
"body{background: none !important;}",
" body, #theme_8, #theme_2, #theme_3, #theme_4, #theme_5, #theme_6, #theme_7, #theme_1{background: url(\'\') !important;}",
" body {background-image:none !important;}",
" body, div#page{background:gray !important;background-color:gray !important;}",
" body, div#page, element.style, #brTop{background-image:url('') !important;}",
" body, div#page, .pirate-branding, .pb_button_play{background:none !important;}",
" div#page, div#wrap{margin-top:0px !important;top: 0px !important;}",
" div#optionspanel{margin-top:0px !important; margin-left:0px !important;}",
" div#page>div[style*=\"width: 990px;\"][style*=\"height: 206px; position: relative;\"]{height: 0px !important;}",
" .pb_top_img, .pirate-branding, a.pb_link, .pb_logo_brand, .pb_left_banner, .pb_right_banner, #b-logo{height: 0px !important;}",
" .pirate-branding, .pb_button_play_big{top:0px !important;}",
" body{padding-top: 0px !important;}",
" #mmmBanner{height: 0px !important;}",
" .head_assn {height: 0px !important; width: 0px !important;}",
" .head_assn .assn_logo {width: 0px !important; height: 0px !important; top: 0px !important; left: 0px !important; background: url(\" \") !important; }",
" .head_assn .assn_slogan {width: 0px !important; height: 0px !important; top: 0px !important; left:0px !important; background: url(\" \") !important; }",
" html{height: 0px !important;}",
" body{click=()!important;}",
// !! заполненяем всю ширину экрана.
" #wrap, #scrollPanel{width: 1320px !important;}",
" #cntnt{margin-top: 0px !important; position: absolute !important; left: 0% !important; margin-left: 0px !important;}",
" #wrapper {width: 1300px !important;}",
" #content{width: 900px !important;}",
" body {text-align:center!important;}",
" #page {display:inline-block !important; margin-top:0 !important;}",
" #wrap {text-align:initial !important;}"
].join("\n");
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"))
css += [
// ! site yandex
// !!? ".adsrv {width:0px!important;min-width:0!important;max-width:0!important;",
" .i-bem[style*=\'opacity:1!important\'] {width:0px!important;min-width:0!important;max-width:0!important;",
" height:0!important;min-height:0!important;max-height:0!important;",
" overflow:hidden!important;}",
" .b-top-wizard{width:1000px!important;} .b-body-items.b-serp-list{width:1000px!important;}",
// ! !! чистим maps.yandex
" .ymaps-map{background:none !important;}",
// " .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-copyright__logo,.ymaps-2-1-30-copyright__logo_lang_en,.ymaps-2-1-30-copyright__content,.ymaps-2-1-30-copyright__content,.ymaps-2-1-30-copyright_fog_yes:after,.ymaps-2-1-30-copyright__fog,.ymaps-2-1-30-hint__x{background-image:url() !important;}",
" .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background-image:url() !important;}",
" .ymaps-2-1-23-map,.ymaps-2-1-28-map-ru,.ymaps-2-1-30-hint__x,[class*=\"-copyright__\"]{background:url(\'\') !important;}",
// ! !! убрать все фоновые рисунки в картах
// ! " ymaps{background-image:url() !important;}",
" tv.yandex.ru##td[width=\"24%\"]{width:12%!important;}",
" a{onmousedown=''!important;}",
" a{onclick=''!important;}"
].join("\n");
// !! if (false || (document.domain == "39soft.ru" || document.domain.substring(document.domain.indexOf(".39soft.ru") + 1) == "39soft.ru") || (document.domain == "soft-club.me" || document.domain.substring(document.domain.indexOf(".soft-club.me") + 1) == "soft-club.me"))
if (false || (document.domain == "soft-club.me" || document.domain.substring(document.domain.indexOf(".soft-club.me") + 1) == "soft-club.me"))
css += [
// ! !! --- широко
" .main,.main-wrap,.header,.header-main{width:100%!important;}",
" div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
" article,.header,.header-main{width:100%!important;}",
" div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
].join("\n");
if (false || (document.domain == "4seasons-ltc.com" || document.domain.substring(document.domain.indexOf(".4seasons-ltc.com") + 1) == "4seasons-ltc.com"))
css += [
"body{background-image:none !important;}",
" body{font-family: Tahoma !important;}"
].join("\n");
if (false || (document.domain == "80-e.ru" || document.domain.substring(document.domain.indexOf(".80-e.ru") + 1) == "80-e.ru"))
css += [
" div#ipbwrapper{margin: 0 !important;width: inherit !important;max-width: inherit !important;}"
].join("\n");
if (false || (document.domain == "china-review.com.ua" || document.domain.substring(document.domain.indexOf(".china-review.com.ua") + 1) == "china-review.com.ua"))
css += [
"body{background:url()!important;}",
" body{background-image:none !important;}",
" body{background:none!important;}",
" body{margin-top:0px!important;}"
].join("\n");
if (false || (document.domain == "ag.ru" || document.domain.substring(document.domain.indexOf(".ag.ru") + 1) == "ag.ru"))
css += [
"body{background:none!important;} .layer_top {background:none!important;} .layer_bottom {background:none!important;} .cast_bg{background:none!important;}",
" .contentbg {background-image:none!important;} #4iframe {background-image:none!important;} ",
" #framescr{background-image:none!important;}"
].join("\n");
if (false || (document.domain == "amovies.tv" || document.domain.substring(document.domain.indexOf(".amovies.tv") + 1) == "amovies.tv"))
css += [
// !! расширяем
"article{width: 980px !important;}",
" #vk_select {float:none !important;margin-left: 445px!important;}",
" #vk_top,#vk_select {background:url()!important;}"
].join("\n");
if (false || (document.domain == "apteka.ru" || document.domain.substring(document.domain.indexOf(".apteka.ru") + 1) == "apteka.ru"))
css += [
" div.wrapper_root>div.wrapper>section.middle{margin-bottom: 0 !important;}",
" div.wrapper_root>div.wrapper>section.middle>div.container.clr{min-height: 180px !important;}",
" div.wrapper_root>div.wrapper>section.middle>div.container.clr>div.content.bottom-content>section.items.items-tile.items-viewed{margin: 0!important;}",
" div.wrapper_root>div.wrapper>section.middle>div.tabs.top-tabs.clr{margin-bottom: 0 !important;}"
].join("\n");
if (false || (document.domain == "avito.ru" || document.domain.substring(document.domain.indexOf(".avito.ru") + 1) == "avito.ru"))
css += " .bonprix-1{background: none !important;} ";
if (false || (document.domain == "bash.im" || document.domain.substring(document.domain.indexOf(".bash.im") + 1) == "bash.im"))
css += " span.csd{background:none !important;}";
if (false || (document.domain == "best-cashback.ru" || document.domain.substring(document.domain.indexOf(".best-cashback.ru") + 1) == "best-cashback.ru"))
css += [
" [id=\"menu-osnovnoe-menyu\"]>[id^=\"menu-item-\"]>a.menu-item-link{color: black !important;}",
" div#theme-page{top: 80px !important;}",
" [class^=\"mk-header-\"]{background-color: lightgrey !important;}",
" section#mk-footer{padding: 0 !important; top: 80px !important;}",
" div#sub-footer{background-color: lightgrey !important;}"
].join("\n");
if (false || (document.domain == "besplatnye-kupony.ru" || document.domain.substring(document.domain.indexOf(".besplatnye-kupony.ru") + 1) == "besplatnye-kupony.ru"))
css += [
" body{background: none !important; background-color: lightgrey !important;}",
" div{width: inherit !important; margin: 0 !important;}",
" div#site-container{border: none !important;}"
].join("\n");
if (false || (document.domain == "bestrepack.net" || document.domain.substring(document.domain.indexOf(".bestrepack.net") + 1) == "bestrepack.net"))
css += " div#body_container{padding: 0 !important;}";
if (false || (document.domain == "bigpicture.ru" || document.domain.substring(document.domain.indexOf(".bigpicture.ru") + 1) == "bigpicture.ru"))
css += [
" div.content{padding: 0 !important;}",
" div.podheader{width: 240px !important; float: right !important;}",
" div.podheader-right{float: right !important;}"
].join("\n");
if (false || (document.domain == "bookvoed.ru" || document.domain.substring(document.domain.indexOf(".bookvoed.ru") + 1) == "bookvoed.ru"))
css += " .Fh{margin-top: 79px!important;}";
if (false || (document.domain == "calend.ru" || document.domain.substring(document.domain.indexOf(".calend.ru") + 1) == "calend.ru"))
css += " .pad, .main-l{width:95% !important;}";
if (false || (document.domain == "clubupravdom.ru" || document.domain.substring(document.domain.indexOf(".clubupravdom.ru") + 1) == "clubupravdom.ru"))
css += " *{background-image: none !important;}";
if (false || (document.domain == "computerra.ru" || document.domain.substring(document.domain.indexOf(".computerra.ru") + 1) == "computerra.ru"))
css += [
" div.page.page-podl{padding-top: 0px!important;}",
" div#under{width:auto!important;}",
" a.link{font-weight:bold!important; font-family:Verdana!important;font-size: 12px!important;}",
" div.column{max-width:80%!important;}"
].join("\n");
if (false || (document.domain == "crowdin.com" || document.domain.substring(document.domain.indexOf(".crowdin.com") + 1) == "crowdin.com"))
css += " #user-cover-picture,#user-cover-picture-blurred{background:url()!important;}";
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"))
css += [
"body{background:none !important;}",
" td{background-image:none !important;}"
].join("\n");
if (false || (document.domain == "ebay-forum.ru" || document.domain.substring(document.domain.indexOf(".ebay-forum.ru") + 1) == "ebay-forum.ru"))
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;}";
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"))
css += [
"body{background:none !important;}",
" body{background-image:none !important;}"
].join("\n");
if (false || (document.domain == "ddlmkvhd.com" || document.domain.substring(document.domain.indexOf(".ddlmkvhd.com") + 1) == "ddlmkvhd.com"))
css += [
" body{background: none !important;}",
" div.page-body-t{position: relative !important;}"
].join("\n");
if (false || (document.domain == "ddlvillage.org" || document.domain.substring(document.domain.indexOf(".ddlvillage.org") + 1) == "ddlvillage.org"))
css += [
" div{background: none !important;}"
].join("\n");
if (false || (document.domain == "f1news.ru" || document.domain.substring(document.domain.indexOf(".f1news.ru") + 1) == "f1news.ru"))
css += [
" div[id=\"bannerText\"]{border:0px!important;margin-left:10px!important;}",
" body{background:url() top center no-repeat #000000 !important;}",
// !! расширяем текстовое поле
" div#textBlock{width:900px !important;}"
].join("\n");
if (false || (document.domain == "facebook.com" || document.domain.substring(document.domain.indexOf(".facebook.com") + 1) == "facebook.com"))
css += [
" #contentArea {width: 750px !important;}",
" .uiUfi {width: 650px !important;}",
// !! " body {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
// !! " #contentCol {background:url(http://www.maxthon-fr.com/10ours/facebook/wb.jpg) fixed !important;}",
" div#profile_stream_composer {background-color:#C1D5F6;}",
" #blueBar {background-color: transparent !important;}",
" #headNav {background-color: #transparent !important;}",
" .jewelButton {background-color: transparent !important;}",
" #fbNotificationsFlyout {left: 50px !important;}",
" .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;}",
// !! " #pageNav a {color: #00ffff !important;display: inline-block;font-weight: bold;height: 22px;padding: 8px 10px 0px;text-decoration: none;}",
" .UIImageBlock {color: #000000 !important;}",
" .fcg {color: darkgreen !important;}",
" .mts.uiAttachmentDesc.translationEligibleUserAttachmentMessage {color: black !important;}"
].join("\n");
if (false || (document.domain == "fastpic.ru" || document.domain.substring(document.domain.indexOf(".fastpic.ru") + 1) == "fastpic.ru"))
css += [
"html,body,#mainContainer,#footerContainer,#content,#footer {margin:0!important;width:100%!important;border-radius:0!important}",
" #mainContainer>table {width:850px!important;margin:auto!important}",
" #picContainer {float:none!important;margin:auto!important}",
" html,body {cursor:auto!important}",
" html,body {height:100%!important;display:flex!important;flex-direction:column!important}",
" #mainContainer {flex-grow:1!important}",
" #mainContainer,#footerContainer {overflow:visible!important}",
" #content {display:flex!important;flex-grow:1!important;min-height:auto!important}",
//??
" #logo-area{padding-top: 0px!important;}",
" *{background:none !important;}",
" *{background-image:none !important;}",
" #footer-container {background-image:none!important;height:auto!important;}",
" body > a {display:none!important;}",
" div#show-code-content.rounded-corners{position: inherit!important;}",
" div#foot-area.center.rounded-corners{position: inherit!important;}",
" div#footer.center.rounded-corners{position: inherit!important;}",
" .center {padding:0!important}",
" div#right-bottom.rounded-corners{position: relative!important;margin-top:0px!important;height:0px!important;padding-top:5px!important;}",
// !! всё - чёрным
" *{color: black!important;}",
" body{background: none!important;}"
// " html {background-color:#171616!important;}"
].join("\n");
if (false || (document.domain == "filmix.net" || document.domain.substring(document.domain.indexOf(".filmix.net") + 1) == "filmix.net"))
css += " body{padding: 0px 0 0 0!important;}";
if (false || (document.domain == "formulakino.ru" || document.domain.substring(document.domain.indexOf(".formulakino.ru") + 1) == "formulakino.ru"))
css += [
" div.backF>a>span{background-image:none !important; background:#fff !important;}",
" div.vjs-poster{background:url()!important;}",
" div.pagecontent{margin-top:0px!important;}",
" div#wrapper{background:#fff!important;}"
].join("\n");
if (false || (document.domain == "google.ru" || document.domain.substring(document.domain.indexOf(".google.ru") + 1) == "google.ru"))
css += [
" body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child {position: fixed; right: 16px!important; top: 200px; padding: 5px 0px 10px 8px; border: 1px solid lightblue!important; width: 150px!important; background-color: #fff!important; opacity:0.5; border-bottom-left-radius: 10px; border-top-left-radius: 10px;}",
" body[class=\"cP\"] tr td.Bu:last-child div.nH div.nH div.nH:first-child:hover {opacity:1;}",
" body[class=\"cP\"] tr td.Bu:last-child div.nH {width: 0px!important;}",
// ! расширяем выдачу в поиске
" .center_col,#center_col {width:1000px!important; margin-left:10px !important; margin-right:10px !important;} .s {max-width:100% !important;}"
].join("\n");
if (false || (document.domain == "igromania.ru" || document.domain.substring(document.domain.indexOf(".igromania.ru") + 1) == "igromania.ru"))
css += [
// !! " *{background-image: none !important;}",
" div.out_out, element.style {background-image: url() !important;}"
].join("\n");
if (false || (document.domain == "inosmi.ru" || document.domain.substring(document.domain.indexOf(".inosmi.ru") + 1) == "inosmi.ru"))
css += [
" body{background-image:none !important;}",
" body{background:url()!important;}",
// !! поаккуратнее
" .header{padding-top:0px!important;}",
" #addbwr{margin-top:0px!important;}",
// !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след. строками )
" .mainbox{width:95%!important;}",
" .section{width:100%!important;}",
" .floatleft{width:80%!important;}",
" .floatleft.box3row{width:50%!important;}",
" .floatleft.box3row3{width:50%!important;}",
" .bodypage{width:100%!important; }",
" .floatright{width:10%!important;}",
" .article{width:100%!important; }",
" .announce{width:80%!important; }"
].join("\n");
if (false || (document.domain == "keeplinks.eu" || document.domain.substring(document.domain.indexOf(".keeplinks.eu") + 1) == "keeplinks.eu"))
css += " div#header{background: none !important;}";
if (false || (document.domain == "letitfilms.com" || document.domain.substring(document.domain.indexOf(".letitfilms.com") + 1) == "letitfilms.com"))
css += [
" body{background: url() !important; background-color: black !important;}",
" div#container{width: inherit !important; margin: 0 !important;}",
" div#container>div#main>*{padding: 0 !important;}",
" div#container>div#main>aside{width: 20% !important;}",
" div#container>div#main>div#content{width: 79% !important;}"
].join("\n");
if (false || (document.domain == "livesport.ws" || document.domain.substring(document.domain.indexOf(".livesport.ws") + 1) == "livesport.ws"))
css += [
// !! убираем фон и баннер
" body {background:none!important;color:#333!important;}",
" body{background:url()!important;background-color:#000002!important;}",
" body,.top-panel-wrap.fixed {background-image:url() !important;}",
" body{background-image:none !important;}",
" div[id=\"flash\"]{height: 0px !important;}"
].join("\n");
if (false || (document.domain == "lostfilm.tv" || document.domain.substring(document.domain.indexOf(".lostfilm.tv") + 1) == "lostfilm.tv"))
css += [
// " body{background:#c0c0c0 !important;}",
" div>div>a>div[style\*=\"height\"] {display:none!important;}",
// " .prof,.user_menu_link,.wh {color:white!important;}",
" .prof,.logo {height:80px!important;}",
" body{background:none!important;}",
" body{background-image:none !important;}",
" body{background:gray!important;}",
" div[class=\"mid\"]{background:LightGrey!important;}",
// !! ==== и меняем на читаемый цвет
" div[class=\"user_avatar\"]{color:black !important;}",
" span[class=\"wh\"]{color:black !important;}",
" a[href*=\"\/my.php\"]{color:black !important;}",
" a[href*=\"\/messages.php\"]{color:black !important;}",
" a[href*=\"bogi.ru\/logout.php\"]{color:black !important;}",
// !! расширяем полезную площадь
" body>div#MainDiv>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
" div[style^=\"width:497px;\"]{width:58% !important;}",
" body>div[style^=\"width:1005px;\"]{margin-left:10px !important; width:100% !important;}",
" div[style^=\"width:498px;\"]{width:58% !important;}",
" div[style*=\"background:#FFFFFF;display:block;padding:10px;float:left;overflow-x:hidden;width:350px;\"]{width:100% !important;}"
].join("\n");
if (false || (document.domain == "mail.ru" || document.domain.substring(document.domain.indexOf(".mail.ru") + 1) == "mail.ru"))
css += [
" body,.forecast-rb-bg,.b-bg{background-image: none!important;}",
" .SearchForm,.form,.txt1,.txt2,.txt3,.people1,.people2,.people3,.GRcorrect, .GRSpellingCorrect, .GRspelling {background: url('')!important;}"
].join("\n");
if (false || (document.domain == "ncrypt.in" || document.domain.substring(document.domain.indexOf(".ncrypt.in") + 1) == "ncrypt.in"))
css += [
" body{background: none !important;}",
" div#wrapper{margin: 0 0 0 0 !important;}"
].join("\n");
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"))
css += [
// !! "div {background-image:none !important;}",
// !! "div {background:url()!important;}",
// !! "div[class^=\"prl_slide_\"] {background:url()!important;}"
"div[class=\"anonym_login\"]{width: 100% !important;}"
].join("\n");
if (false || (document.domain == "overclockers.ru" || document.domain.substring(document.domain.indexOf(".overclockers.ru") + 1) == "overclockers.ru"))
css += [
" #main{background:none!important;background:#FFF!important;}",
" div[id=\"main\"]>div[id=\"adw\"]{height:0px!important;}",
" div[id=\"main\"]>div[class=\"box1\"]{height:0px!important;}",
" div[id=\"main\"]>div:nth-of-type(1){height:0px!important;}",
" #mainplace>table>tbody>tr:first-child,.needblock {display:none!important;}",
" #wrapper {width:100%!important;}",
" #main {padding-top:0!important;}"
].join("\n");
if (false || (document.domain == "playground.ru" || document.domain.substring(document.domain.indexOf(".playground.ru") + 1) == "playground.ru"))
css += "#foundationWrapper {background:#373737!important}";
if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
css += [
" div.paral>a>div{background:url()!important;}",
" div.paral>a>div{height:64px!important;}",
" table#header_t {margin-top: 0px !important;}",
" \\!! расширяем полезную площадь",
" .b-story__content, .b-story__content_type_text {margin-left:5px !important; width: 800px !important; max-width: 800px !important;}"
].join("\n");
if (false || (document.domain == "piter.tv" || document.domain.substring(document.domain.indexOf(".piter.tv") + 1) == "piter.tv"))
css += [
" body{background-image:none !important;}"
].join("\n");
if (false || (document.domain == "politikus.ru" || document.domain.substring(document.domain.indexOf(".politikus.ru") + 1) == "politikus.ru"))
css += [
" body{background-image:none !important;}",
" body{background:url()!important;}",
// !! расширяем (если не надо - закомментировать (поставить воскл.знаки // ! перед след.четырьмя строками )
// " #main_content_holder{width:100%!important; }",
// " #left{width:80%!important; }",
// " .holder, div.block, .content, #dle-content{width:100% !important; }",
// " .fullstory{width:95% !important; }"
// !! доработанный вариант от Buba5473
" div#header{width: inherit !important; margin: 0 !important;}",
" div#header>div.holder{width: inherit !important; margin: 0 !important;}",
" div#main_content_holder{width: inherit !important; margin: 0 !important;}",
" div#main_content_holder>div#maintpl>div.holder{width: inherit !important; margin: 0 !important;}",
" div#main_footer_holder{width: inherit !important; margin: 0 !important;}",
" div#main_footer_holder>div.holder{width: inherit !important; margin: 0 !important;}",
" div#main_content{margin: 0 !important;}",
" div#right{margin: 0 !important; float: none !important; width: inherit !important;}",
" div#left{width: 80% !important;}"
].join("\n");
if (false || (document.domain == "pikabu.ru" || document.domain.substring(document.domain.indexOf(".pikabu.ru") + 1) == "pikabu.ru"))
css += [
"div.paral>a>div{background:url()!important;}",
" div.paral>a>div{height:64px!important;}",
" table#header_t {margin-top: 0px !important;}"
].join("\n");
if (false || (document.domain == "pleer.com" || document.domain.substring(document.domain.indexOf(".pleer.com") + 1) == "pleer.com"))
css += [
" div#main.clearfix>div#container>div#content{margin: 0 !important;}",
" div#container>div#content>div.clearfix:nth-child(3)>div.results>div.clearfix:nth-child(2)>div.results>div.index-cols.clearfix>div.index-col1{width: 68% !important;}",
" div#container>div#content>div.clearfix:nth-child(3)>div.results>div.clearfix:nth-child(2)>div.results>div.index-cols.clearfix>div.index-col2{width: 32% !important;}"
].join("\n");
if (false || (document.domain == "f-page.ru" || document.domain.substring(document.domain.indexOf(".f-page.ru") + 1) == "f-page.ru") || (document.domain == "f-picture.net" || document.domain.substring(document.domain.indexOf(".f-picture.net") + 1) == "f-picture.net") || (document.domain == "radikal-foto.ru" || document.domain.substring(document.domain.indexOf(".radikal-foto.ru") + 1) == "radikal-foto.ru") || (document.domain == "radical-foto.ru" || document.domain.substring(document.domain.indexOf(".radical-foto.ru") + 1) == "radical-foto.ru") || (document.domain == "radikal.ru" || document.domain.substring(document.domain.indexOf(".radikal.ru") + 1) == "radikal.ru") || (document.domain == "radikal.cc" || document.domain.substring(document.domain.indexOf(".radikal.cc") + 1) == "radikal.cc"))
css += [
" .brand_bg{background-image:none !important;}",
" .base-page_wrapper {width:auto!important; padding:0!important}",
" .content{padding-top:0px !important;}"
].join("\n");
if (false || (document.domain == "rambler.ru" || document.domain.substring(document.domain.indexOf(".rambler.ru") + 1) == "rambler.ru"))
css += [
".b-left-column .b-left-column__wrapper{margin:0 !important;}",
" div[class=\"appWindow\"]{right:0px!important;}"
].join("\n");
if (false || (document.domain == "rbc.ru" || document.domain.substring(document.domain.indexOf(".rbc.ru") + 1) == "rbc.ru"))
css += " .article__content {margin-right: 0px !important;}";
if (false || (document.domain == "riper.am" || document.domain.substring(document.domain.indexOf(".riper.am") + 1) == "riper.am"))
css += [
"#octo-set{background-image:none!important;padding-top:0!important;}",
" #main-wrapper{width:auto!important;}",
" body{background-image: none!important;} ",
" body{background:none!important;}",
" #main-wrapper{top:10px!important;}",
// !! cкрыть заголовок
" #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;}"
].join("\n");
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"))
css += [
"*{background:none!important;}",
" *{background:url('')!important;}",
" *{background:silver!important; color:black!important;}",
" 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; }"
].join("\n");
if (false || (document.domain == "ruspravda.info" || document.domain.substring(document.domain.indexOf(".ruspravda.info") + 1) == "ruspravda.info"))
css += [
"body{background:white!important;}",
" table#header_t {margin-top: 0px !important;}"
].join("\n");
if (false || (document.domain == "rustorka.com" || document.domain.substring(document.domain.indexOf(".rustorka.com") + 1) == "rustorka.com"))
css += " .topmenu{margin-top:25px !important;}";
if (false || (document.domain == "rutor.org" || document.domain.substring(document.domain.indexOf(".rutor.org") + 1) == "rutor.org") || (document.domain == "new-rutor.org" || document.domain.substring(document.domain.indexOf(".new-rutor.org") + 1) == "new-rutor.org") || (document.domain == "xrutor.org" || document.domain.substring(document.domain.indexOf(".xrutor.org") + 1) == "xrutor.org"))
css += [
// !! оформление от zuefhrf
" div#brTop {background-image: url(\" \") !important;}",
" div#ws div#sidebar{top: 0px !important;}",
" div#ws div#sidebar{right: 8px !important;}",
" div#ws div#sidebar div.sideblock{margin-top: 0px !important;}",
" div#ws div#content{right: 6px !important;}",
" h3{text-align: left !important;}"
].join("\n");
if (false || (document.domain == "safety-gate.me" || document.domain.substring(document.domain.indexOf(".safety-gate.me") + 1) == "safety-gate.me"))
css += [
// ! !! --- широко
" .main,.main-wrap,.header,.header-main{width:100%!important;}",
" div.all,div.all-wrap,.pageWidth{max-width:100%!important;width:100%!important;}",
" article,.header,.header-main{width:100%!important;}",
" .xbBoxed,.pageContent{max-width:100%!important;}",
" div.content{width:80%!important;}div.sidebar1{width:18%!important;}"
].join("\n");
if (false || (document.domain == "samlab.ws" || document.domain.substring(document.domain.indexOf(".samlab.ws") + 1) == "samlab.ws"))
css += [
"div.box.main {width: auto; !important;}",
" div#right {width: 2px; !important;}"
].join("\n");
if (false || (document.domain == "samlib.ru" || document.domain.substring(document.domain.indexOf(".samlib.ru") + 1) == "samlib.ru"))
css += [
"body {font-family: sans-serif !important;line-height: 140% !important;color: #B2B2B2 !important;background: #3A3E46 !important;}",
" font {color: #B2B2B2 !important;}",
" table, td, td font {color: #BEBEBE !important;background-color: #555C66 !important;}",
" a:link {color: #9DD7FF !important;}",
" a:visited {color: #EAB6FF !important;}",
" a:hover {color: #F0B2B2 !important;}",
" dl {margin-top: 1em !important;}"
].join("\n");
if (false || (document.domain == "securitylab.ru" || document.domain.substring(document.domain.indexOf(".securitylab.ru") + 1) == "securitylab.ru"))
css += [
" #content #left{margin-left: 0px!important;max-width: 1000px!important;}",
// !! логотип
" div#header{height:00px!important;background-color:white!important;} div#MAIN_MENU{top:0px!important;}"
].join("\n");
if (false || (document.domain == "sportbox.ru" || document.domain.substring(document.domain.indexOf(".sportbox.ru") + 1) == "sportbox.ru"))
css += [
" body{background:none!important;padding-top: 0px!important;}",
" .sb_c_topmed_olymp, .gold, .silver, .bronze {background:none!important;}"
].join("\n");
if (false || (document.domain == "sports.ru" || document.domain.substring(document.domain.indexOf(".sports.ru") + 1) == "sports.ru"))
css += [
" body.img-bg,#branding-layout {background:gray!important;}",
" body.img-bg,#branding-layout {padding-top:0!important;}",
" .kaspersky, .overall {background:none!important;}",
" .kaspersky, .pageLayout {top: 0px!important;}"
].join("\n");
if (false || (document.domain == "tfile.me" || document.domain.substring(document.domain.indexOf(".tfile.me") + 1) == "tfile.me"))
css += [
" body{background:url()!important;}",
" body{background-image: none !important;}",
" div#brTop{background-image:url(\'\') !important;}",
" element.style{background:url()!important;}",
" element.style, #skin_crown{background-image:url()!important;}",
" body{background:#D4D4D4 !important;}",
" body{padding:0 !important;}",
" table#home_c{width: inherit !important;}",
" [id^=\"top_\"]{width: inherit !important;}",
" body{padding-top:0px !important;}",
// !! расширяем
" #table_reduser, #head, #foot_links{width:98% !important;}",
" #top_tools {padding-left:0!important}"
].join("\n");
if (false || (document.domain == "torrent-tv.ru" || document.domain.substring(document.domain.indexOf(".torrent-tv.ru") + 1) == "torrent-tv.ru"))
css += [
" body {background-image:none!important;padding-top: 0px!important;}",
" div#main-wrapper {top:auto!important;}",
" div.news-text {width:auto!important;}",
" div[class^=\"usual-header\"] {width:126%!important;}",
" div[class=\"usual\"] {width:132%!important;}",
" div[class^=\"usual-content\"] {width:99%!important;}"
// !!
// !! " body>div:nth-of-type(1) {background:url()!important;}",
// !! " body {background:gray!important;}",
].join("\n");
if (false || (document.domain == "turbobit.net" || document.domain.substring(document.domain.indexOf(".turbobit.net") + 1) == "turbobit.net"))
css += " html {background:none!important;}";
if (false || (document.domain == "velolive.com" || document.domain.substring(document.domain.indexOf(".velolive.com") + 1) == "velolive.com"))
css += " body {background:url() !important;}";
if (false || (document.domain == "vesti.ru" || document.domain.substring(document.domain.indexOf(".vesti.ru") + 1) == "vesti.ru"))
css += [
" .bottom_bg {background: none !important;}",
" body, .head, .all_wrap {background: url(\" \") !important;}"
].join("\n");
if (false || (document.domain == "vipfiles.nu" || document.domain.substring(document.domain.indexOf(".vipfiles.nu") + 1) == "vipfiles.nu"))
css += [
" div.loginformbox{background: none !important;}",
" div.tophhhhheader{background: none !important; padding: 0 !important; height: 75px !important;}",
" div.tophhhhheader>div.item1{height: 10px !important;}",
" div.tophhhhheader>div.item2{float: left !important; width: 500px !important;}",
" div.wrapper{margin: 0 !important; width: inherit !important;}",
" div.wrapwide.topheadwide{background: none !important;}"
].join("\n");
if (false || (document.domain == "dns-shop.ru" || document.domain.substring(document.domain.indexOf(".dns-shop.ru") + 1) == "dns-shop.ru"))
css += " div.wrapper{width: auto !important;}";
if (false || (document.domain == "yaplakal.com" || document.domain.substring(document.domain.indexOf(".yaplakal.com") + 1) == "yaplakal.com"))
css += [
" body{background:none !important;}",
" #footer{background:url()!important;}",
" #footer{background-image:none !important;}",
" #footer,#top-line {background:none!important;padding:0!important;}",
" #header,#footer {background-color:skyblue!important;}",
" #content{max-width:none !important;}"
].join("\n");
if (false || (document.domain == "zaycev.net" || document.domain.substring(document.domain.indexOf(".zaycev.net") + 1) == "zaycev.net"))
css += [
" div[class=\"body-branding\"]{background:grey!important; padding-top: 0px!important; padding: 5px!important;}",
" div[class=\"body-gaps\"]{max-width:100%!important;}"
].join("\n");
if (false || (document.domain == "zalil.su" || document.domain.substring(document.domain.indexOf(".zalil.su") + 1) == "zalil.su"))
css += [
" body{background:none !important;}",
" body{background-color:gray !important;}",
" body{background-image:none !important;}"
].join("\n");
if (false || (document.domain == "taker.im" || document.domain.substring(document.domain.indexOf(".taker.im") + 1) == "taker.im"))
css += [
// !! скрываем рекламные ссылки (СПАМ) в тексте
" a[href^=\"/phpBB2/goto/http://www.ebay.com/sch/\"][rel=\"nofollow\"]{color:#333!important; text-decoration: none !important; pointer-events: none !important;}"
].join("\n");
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
heads[0].appendChild(node);
} else {
// no head yet, stick it whereever
document.documentElement.appendChild(node);
}
}
}());
// позаимствовано у lainverse (https://gf.qytechs.cn/ru/scripts/809-no-yandex-ads)
// Удаляет рекламу из поиска Яндекс
(function(){
var lct = location.href;
if(lct.match(/^https?:\/\/(news\.yandex\.|yandex\.[^\/]+\/(yand)?search[\/?])/)) {
// Generic ads removal
(function(s){
for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
})(document.querySelectorAll('.serp-adv,.b-spec-adv,#adbanner,.footer_distro_yes'));
// Search ads
function removeAds() {
var s = document.querySelectorAll('.serp-block,.search-item');
for (var l = 0; l < s.length; l++) {
var i = s[l].querySelector('.serp-item__label,.label,.document__provider-name');
if (!i) continue;
if (i.textContent.indexOf('Реклама') > -1 || i.textContent.indexOf('Яндекс.Директ') > -1)
s[l].parentNode.removeChild(s[l]);
}
}
// News ads
function removeNewsAds() {
var s = document.querySelectorAll('.story[id],.story__group[id],.document[id]');
for (var l = 0; l < s.length; l++){
if (window.getComputedStyle(s[l]).position === 'absolute')
s[l].parentNode.removeChild(s[l]);
if ((window.getComputedStyle(s[l]).min-width === '0') || (window.getComputedStyle(s[l]).max-width === '100%'))
s[l].parentNode.removeChild(s[l]);
}
}
// Attaches observer to the page elements which Yandex updates via AJAX to display new search or news results
function pageUpdateObserver(func, obj) {
if (obj)
new MutationObserver(func).observe(obj,{childList:true});
}
if (window.location.hostname.search(/^news\./i) === 0) {
pageUpdateObserver(removeNewsAds, document.querySelector('BODY'));
removeNewsAds();
} else {
pageUpdateObserver(removeAds, document.querySelector('.main__content'));
removeAds();
}
}
}());
// Удаляет рекламу из вконтакта
(function(){
var lct = location.href;
if(lct.match(/^https?:\/\/(.*\.)?(vkontakte\.ru|vk\.com)\/.*/)) {
// Generic ads removal
(function(s){
for (var l = 0; l < s.length; l++) s[l].parentNode.removeChild(s[l]);
})(document.querySelectorAll('#left_ads,.ads_ads_box,.ads_ads_all_ads,.ads_ad_box2,.ads_ad_box3,.ads_ad_box4,.ads_ad_box5,.ads_ad_box6,.ads_ad_box7,.ads_ad_box8,.ads_ad_text_box'));
}
}());
}());