Skip to content

YouTube Non-evil by benhohner

Details

Authorbenhohner

LicenseCC0

CategoryYouTube

Created

Updated

Size2.0 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Remove engagement features in YouTube. A refreshing, search focused experience.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           YouTube Non-evil
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Remove engagement features in youtube. A refreshing, search focused experience.
@author         benhohner
==/UserStyle== */
@-moz-document domain("youtube.com") {
    /* home */
    ytd-browse[page-subtype=home],
    ytd-notification-topbar-button-renderer,
    .yt-simple-endpoint[title=Explore],
    .yt-simple-endpoint[title="YouTube Premium"],
    .yt-simple-endpoint[title="Movies & Shows"],
    .yt-simple-endpoint[title="Music"],
    .yt-simple-endpoint[title="News"],
    .yt-simple-endpoint[title="Spotlight"],
    .yt-simple-endpoint[title="360° Video"],
    .yt-simple-endpoint[title="Gaming"],
    .yt-simple-endpoint[title="Live"],
    .yt-simple-endpoint[title="Browse channels"],
    .yt-simple-endpoint[title="Fashion & Beauty"],
    .yt-simple-endpoint[title="Learning"],
    .yt-simple-endpoint[title="Sports"],
    .yt-simple-endpoint[title="Help"],
    .yt-simple-endpoint[title="Send feedback"],
    .yt-simple-endpoint[title="Shorts"],
    #voice-search-button,
    #buttons ytd-button-renderer:not([is-paper-button]),
    #buttons ytd-topbar-menu-button-renderer,
    #home-container-skeleton,
    ytd-guide-signin-promo-renderer,
    ytd-guide-renderer #footer,
    ytd-guide-section-renderer > h3 {
        display: none !important;
    }
    
    
    #center.ytd-masthead {
        flex: 1 1;
        min-width: 64px;
    }
    
    #sections.ytd-guide-renderer > .ytd-guide-renderer:not(:last-child) {
        border-bottom: none;
    }

    /* search */
    ytd-search ytd-shelf-renderer {
        display: none;
    }


    /* page */
    ytd-watch-next-secondary-results-renderer,
    .videowall-endscreen,
    #purchase-button,
    #sponsor-button,
    ytd-comments {
        display: none !important;
    }
	
	/* disable adblocker blocker */
	tp-yt-iron-overlay-backdrop.opened,
	ytd-enforcement-message-view-model {
		display: none;
	}
}

Reviews

No reviews yet.