Last active
February 16, 2026 07:21
-
-
Save scarlac/ceae8766ced23740817ad6ba173c8e48 to your computer and use it in GitHub Desktop.
UserStyle: Remove YouTube shorts & "Next video" suggestions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* ==UserStyle== | |
| @name Remove Shorts & Next Video (CSS) | |
| @description This is your new file, start writing code | |
| @match https://*.youtube.com/* | |
| ==/UserStyle== */ | |
| .ytd-reel-shelf-renderer, | |
| ytd-rich-shelf-renderer[is-shorts] { | |
| display: none; | |
| } | |
| /* Optional: Removes 'next video' suggestion overlay near end of video */ | |
| .ytp-ce-element.ytp-ce-video { | |
| display: none; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment