Skip to content

Yandex AdBlock by Desynci

Screenshot of Yandex AdBlock

Details

AuthorDesynci

LicenseNo License

Categoryyandex.ru

Created

Updated

Code size906 B

Code checksumf4553906

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Removes approx. all ads from the Yandex Websites

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Yandex AdBlock
@namespace      1337
@version        v2.1
@author         idesync
==/UserStyle== */

@-moz-document domain("yandex.ru") {
    .DirectFeature, 
    .AdvRsya-Slot, 
    .AdvMastHead, 
    .banner-view, 
    .MMSidebar-Card_bottomAdv, 
    .PSHeaderLogo360_theme_dark,
    .content__right > [class*="PSC_right"] {
        display: none !important;
    }
}

@-moz-document url-prefix("https://docviewer.yandex.ru/") {
    .fullscreen-container > [id^="id"] {
        display: none;
    }
    
    .with-native-direct [class^="archive_"] {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

@-moz-document url-prefix("https://mail.yandex.ru/") {
    [class^="PageLayout"] .js-scroller-right {
        display: none;
    }
    
    #js-mail-layout-content-header {
        #js-messages-direct.DirectLine {
            display: none;
        }
    }
}

Reviews

No reviews yet.