Skip to content

YouTube Customize Shorts by sapondanaisriwan

Screenshot of YouTube Customize Shorts

Details

Authorsapondanaisriwan

LicenseMIT

Categoryyoutube

Created

Updated

Size1.3 kB

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

If you want to submit a bug or request a feature please report via github issue. Since I receive so many emails, I can't reply to them all.

Notes

Stolen from AdashimaaTube

Source code

/* ==UserStyle==
@name           YouTube Customize Shorts
@author         sapondanaisriwan <sapondanaisriwan@gmail.com> (https://github.com/sapondanaisriwan)
@description    If you want to submit a bug or request a feature please report via github issue. Since I receive so many emails, I can't reply to them all.
@namespace      https://userstyles.world/user/sapondanaisriwan
@homepageURL    https://github.com/sapondanaisriwan/AdashimaaTube
@supportURL     https://github.com/sapondanaisriwan/AdashimaaTube/issues
@version        1.0.0
@license        MIT
@preprocessor   stylus
@var range shortsPerRow                "💀 Shorts Per Rows" [12, 1, 12, 1]
==/UserStyle== */
@-moz-document domain("youtube.com") {
    i=!important;

    /* Stolen from AdashimaaTube 😆 */
    ytd-rich-shelf-renderer[is-shorts] {
        --ytd-rich-grid-slim-items-per-row: shortsPerRow;
        &[is-show-more-hidden] {
            ytd-rich-item-renderer[is-slim-media] {
                display: block i;
            }
        }
        #contents.ytd-rich-shelf-renderer {
            ytd-rich-item-renderer[is-slim-media] {
                display: none;
            }
            ytd-rich-item-renderer[is-slim-media]:nth-child(-n + {shortsPerRow}) {
                display: block i;
            }
        }
    }
}

Reviews

No reviews yet.