A style rule for dbbasic-browser: YouTube without Shorts

7 downloads

youtube-no-shorts/youtube-no-shorts.user.css
Download zip
Clone
Clone with git
git clone https://gitstable.com/git/askrobots/youtube-no-shorts.git
HTTPS
https://gitstable.com/git/askrobots/youtube-no-shorts.git
SSH
ssh://git@gitstable.com:2222/askrobots/youtube-no-shorts.git

Cloning needs no sign-in. Pushing over HTTPS asks for your username and an access token. SSH needs your key under SSH keys.

danq9 YouTube without Shorts, 2026.11v1 e0bfc51 1 week, 3 days ago History
youtube-no-shorts.user.css · 1.2 KB · 28 lines
1/* ==UserStyle==
2@name YouTube without Shorts
3@namespace gitstable.com/askrobots/youtube-no-shorts
4@version 2026.11.1
5@description Hides YouTube Shorts: the Shorts shelves, Shorts among other videos and in search, and the Shorts entries in the menu and on channels.
6@author AskRobots
7@license MIT
8@homepageURL https://gitstable.com/repositories/askrobots/youtube-no-shorts/
9==/UserStyle== */
10@-moz-document domain("youtube.com") {
11 ytd-rich-shelf-renderer[is-shorts],
12 ytd-rich-section-renderer:has(ytd-rich-shelf-renderer[is-shorts]),
13 ytd-reel-shelf-renderer,
14 grid-shelf-view-model:has(ytm-shorts-lockup-view-model, ytm-shorts-lockup-view-model-v2),
15 ytd-video-renderer:has(a[href^="/shorts/"]),
16 ytd-rich-item-renderer:has(a[href^="/shorts/"]),
17 ytd-grid-video-renderer:has(a[href^="/shorts/"]),
18 ytd-compact-video-renderer:has(a[href^="/shorts/"]),
19 yt-lockup-view-model:has(a[href^="/shorts/"]),
20 ytd-guide-entry-renderer:has(a[href^="/shorts"]),
21 ytd-mini-guide-entry-renderer:has(a[href^="/shorts"]),
22 yt-tab-shape[tab-title="Shorts"],
23 ytm-reel-shelf-renderer,
24 ytm-shorts-lockup-view-model,
25 ytm-pivot-bar-item-renderer:has(a[href^="/shorts"]) {
26 display: none !important;
27 }
28}