/* YouTube without Shorts: hides Shorts shelves, Shorts among other videos, and the Shorts entries in the menus. Finds Shorts by their links (/shorts/) and YouTube's own element names, so it works in any language (except the channel tab, below). */ /* the Shorts shelf on Home, Subscriptions, channel pages and search */ ytd-rich-shelf-renderer[is-shorts], ytd-rich-section-renderer:has(ytd-rich-shelf-renderer[is-shorts]), ytd-reel-shelf-renderer, grid-shelf-view-model:has(ytm-shorts-lockup-view-model, ytm-shorts-lockup-view-model-v2), /* a Short among ordinary videos: search results, grids, the list beside a video */ ytd-video-renderer:has(a[href^="/shorts/"]), ytd-rich-item-renderer:has(a[href^="/shorts/"]), ytd-grid-video-renderer:has(a[href^="/shorts/"]), ytd-compact-video-renderer:has(a[href^="/shorts/"]), yt-lockup-view-model:has(a[href^="/shorts/"]), /* the Shorts entry in the side menus */ ytd-guide-entry-renderer:has(a[href^="/shorts"]), ytd-mini-guide-entry-renderer:has(a[href^="/shorts"]), /* the Shorts tab on a channel: it has no link to go by, so this one matches YouTube's English name only */ yt-tab-shape[tab-title="Shorts"], /* the mobile site */ ytm-reel-shelf-renderer, ytm-shorts-lockup-view-model, ytm-pivot-bar-item-renderer:has(a[href^="/shorts"]) { display: none !important; }