Skip to content

YouTube - Hide Shorts by usual_text4053

Details

Authorusual_text4053

LicenseMIT

Categoryyoutube

Created

Updated

Code size948 B

Code checksum99ff8e49

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Removing Shorts from YouTube sidebar and subscription page

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           YouTube - Hide Shorts
@description    Removing Shorts from YouTube sidebar and subscription page
@author         devxom (https://github.com/devxom)
@license        MIT
@version        1.0.1
@namespace      https://userstyles.world/user/usual_text4053
@supportURL     https://github.com/devxom/site-haf/issues
@homepageURL    https://github.com/devxom/site-haf/blob/main/hide-youtube-shorts/README.md
==/UserStyle== */
@-moz-document domain("youtube.com") {
    a[title="Shorts"] {
        display: none !important;
    }

    ytd-grid-video-renderer[is-shorts] {
        display: none !important;
    }

    ytd-grid-video-renderer:has(a[href^="/shorts"]) {
        display: none !important;
    }

    ytd-rich-section-renderer:has(ytd-rich-shelf-renderer[is-shorts]) {
        display: none !important;
    }

    ytd-reel-shelf-renderer {
        display: none !important;
    }
}

Reviews

No reviews yet.