Skip to content

YouTube - Remove Shorts by tsyron

Screenshot of YouTube - Remove Shorts

Details

Authortsyron

LicenseAGPLv3

Categoryyoutube

Created

Updated

Size1.6 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

This removes shorts from the homepage, search, sidebar and channel

Notes

Userstyle doesn't have notes.

Source code

    /* ==UserStyle==
@name           YouTube - Remove Shorts
@namespace      github.com/
@version        1.0.4
@description    Removing Shorts from YouTube
@license        AGPLv3
@author         Tsyron
@preprocessor   stylus

@var            checkbox checkbox-homepage "Homepage" 1

@var            checkbox checkbox-sidebar "Sidebar" 1

@var            checkbox checkbox-search "Search" 1

@var            checkbox checkbox-subscriptions "Subscriptions" 1

@var            checkbox checkbox-channel "Channel" 1

@var            checkbox checkbox-hashtags "Hashtags" 1

==/UserStyle== */
@-moz-document domain("youtube.com") {

    /* Homepage */
    if checkbox-homepage {
        [page-subtype='home'] ytd-rich-shelf-renderer[is-shorts] {
            display: none !important; } }

    /* Sidebar */
    if checkbox-sidebar {
        a[title="Shorts"] {
            display: none !important; } }

    /* Search */
    if checkbox-search {
        ytd-reel-shelf-renderer {
            display: none !important; } }
            
    /* Subscriptions*/
    if checkbox-subscriptions {
        [page-subtype="subscriptions"] ytd-rich-shelf-renderer[is-shorts] {
            display: none !important; } }

    /* Channel */
    if checkbox-channel {
        [page-subtype="channels"] .yt-tab-shape-wiz--host-clickable[tab-title="Shorts"] {
            display: none !important; } }
            
    /* Hashtags */
    if checkbox-hashtags {
        [page-subtype="hashtag-landing-page"] .yt-tab-shape-wiz--host-clickable[tab-title="Shorts"] {
            display: none !important; } } }

Reviews

No reviews yet.