Skip to content

YouTube Hide Shorts category and shelf by leknin

Screenshot of YouTube Hide Shorts category and shelf

Details

Authorleknin

LicenseNo License

Categoryyoutube

Created

Updated

Size867 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Hide shorts from Youtube

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           YouTube Hide Shorts category and shelf
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Hide shorts from the YouTube
@author         leknin
@preprocessor   stylus
@var            checkbox  hideShortsCategory "Hide 'Shorts' category" 1
@var            checkbox  hideShortsShelf "Hide 'Shorts' shelf" 1
==/UserStyle== */

@-moz-document domain("youtube.com") {
    
/* Hide Shorts category in sidebar */
if hideShortsCategory { #endpoint.yt-simple-endpoint.ytd-guide-entry-renderer.style-scope[title="Shorts"] {
  display: none;
    }
 
a.yt-simple-endpoint.style-scope.ytd-mini-guide-entry-renderer[title="Shorts"] {
  display: none;
    }
}

/*Hide Shorts shelf*/
if hideShortsShelf {
    ytd-rich-shelf-renderer[is-shorts] {
        display: none !important;
    }
}

}

Reviews

No reviews yet.