Skip to content

BlockPopupPremiumYoutube by hoangnam87bt

Screenshot of BlockPopupPremiumYoutube

Details

Authorhoangnam87bt

LicenseNo License

Categoryyoutube.com

Created

Updated

Size2.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

BlockPopupPremium

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           BlockPopupPremiumYoutube
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    BlockPopupPremium
@preprocessor   stylus
@author         HoangNam
==/UserStyle== */

@-moz-document domain("youtube.com"), domain("hhttps://*.youtube.*/*.*") {
/*        "ytm-statement-banner-renderer", "ytd-statement-banner-renderer", //main page banner
        "ytm-clarification-renderer", "ytd-clarification-renderer", //search and video page "clarification" (specific topics only)
        "ytm-info-panel-container-renderer", "ytd-info-panel-container-renderer", //search page "clarification" (specific topics only)
        "ytd-info-panel-content-renderer", //Extra info/propaganda about the channel, seems to be desktop only
        "ytm-brand-video-singleton-renderer", "ytd-brand-video-singleton-renderer", //a very specific video youtube is promoting in the main page (for reasons)
        "yt-mealbar-promo-renderer" //youtube premium/ad-free popup, afaik there's no mobile version
*/
    #main.yt-mealbar-promo-renderer {
    outline: none;
    display: none;

}
ytd-watch-next-secondary-results-renderer.ytd-watch-flexy ytd-compact-movie-renderer.style-scope.ytd-item-section-renderer {
        display: none;
    }
#offer-module.ytd-watch-next-secondary-results-renderer {
        display: none;
    }

ytd-ad-slot-renderer {
    outline: none;
    display: none;
	width: 0%;
    height: 0%;

}
ytd-in-feed-ad-layout-renderer {
    outline: none;
    display: none;
	width: 0%;
    height: 0%;
}
ytd-display-ad-renderer {
    outline: none;
    display: none;
	width: 0%;
    height: 0%;
} 
/*-popup */   
/*tp-yt-paper-dialog.style-scope.ytd-popup-container {
    outline: none;
    display: none;
}*/
.iv-branding .branding-img-container,.ytp-button .ytp-cards-button,.ytp-cards-button-icon,.ytp-ce-channel,.ytp-ce-channel .ytp-ce-element-shadow,.ytp-ce-channel .ytp-ce-expanding-image,.ytp-ce-covering-image,.ytp-ce-covering-overlay,.ytp-ce-covering-shadow-top,.ytp-ce-element-shadow,.ytp-ce-element.ytp-ce-bottom-left-quad .ytp-ce-expanding-overlay,.ytp-ce-element.ytp-ce-element-show:focus,.ytp-ce-element.ytp-ce-element-show:hover,.ytp-ce-large-round .ytp-ce-expanding-overlay-background,.ytp-ce-medium-round .ytp-ce-expanding-overlay-background,.ytp-ce-playlist.ytp-ce-large-round,.ytp-ce-playlist.ytp-ce-medium-round,.ytp-ce-video.ytp-ce-large-round,.ytp-ce-video.ytp-ce-medium-round,.ytp-chrome-top-buttons,a.ytp-next-button.ytp-button,a.ytp-prev-button.ytp-button,ytd-merch-shelf-item-renderer.ytd-merch-shelf-renderer,ytd-merch-shelf-renderer {display:none}
}

Reviews

No reviews yet.