Remove Youtube Shorts
Original work by Gijsdev · Source
Short videos on YouTube are highly distracting and addictive. Unfortunately, it might seem impossible to disable them completely.
However, actually you can.
- Use firefox or brave browser with support of classical uBlock Origin (Require v2 manifest for chromium)
- Open “Block Origin” - “Settings”
- Open “My filters”
- Copy and paste next filter
Just in case I will copy and paste content here. Check original filter for latest version.
! Title: Hide YouTube Shorts
! Description: Hide all traces of YouTube shorts videos on YouTube
! Version: 2026.4.29
! Last modified: 2026-04-29 19:49
! Expires: 2 weeks (update frequency)
! Homepage: https://github.com/gijsdev/ublock-hide-yt-shorts
! License: https://github.com/gijsdev/ublock-hide-yt-shorts/blob/master/LICENSE.md
! Hide all videos with the shorts indicator
www.youtube.com##ytd-thumbnail-overlay-time-status-renderer[overlay-style="SHORTS"]:upward(ytd-video-renderer)
! Remove generic shorts shelf except on history page
www.youtube.com##:matches-path(/^(?!\/feed\/history).*$/)ytd-reel-shelf-renderer
! Remove rich shelf shorts section
www.youtube.com##ytd-rich-shelf-renderer[is-shorts],ytd-rich-shelf-renderer[is-shorts]:upward(ytd-rich-section-renderer)
www.youtube.com##ytd-rich-item-renderer[rendered-from-rich-grid] ytm-shorts-lockup-view-model:upward(ytd-rich-item-renderer[rendered-from-rich-grid])
! Hide shorts button in sidebar
www.youtube.com##ytd-guide-entry-renderer:has(.ytd-guide-entry-renderer[title="Shorts"])
! Tablet resolution
www.youtube.com##ytd-mini-guide-entry-renderer:has(.ytd-mini-guide-entry-renderer[title="Shorts"])
! Hide shorts tab on channel pages
www.youtube.com##yt-tab-shape[tab-title="Shorts"]
! Hide shorts filter/category on top of homepage and search pages
www.youtube.com##yt-chip-cloud-chip-renderer:has(.ytChipShapeInactive:has-text(/^Shorts$/i))
! Hide shorts sections on search page
www.youtube.com##ytm-shorts-lockup-view-model-v2:upward(grid-shelf-view-model)
!!! MOBILE !!!
! Hide all videos with the shorts indicator
m.youtube.com##ytm-thumbnail-overlay-time-status-renderer[data-style="SHORTS"]:upward(ytm-video-with-context-renderer)
! Remove generic shorts shelf except on history page
m.youtube.com##:matches-path(/^(?!\/feed\/history).*$/)ytm-reel-shelf-renderer
! Hide shorts button in the bottom navigation bar
m.youtube.com##ytm-pivot-bar-item-renderer:has(.pivot-shorts)
! Hide shorts sections except on history page
m.youtube.com##:matches-path(/^(?!\/feed\/history).*$/)ytm-shorts-lockup-view-model:upward(ytm-rich-section-renderer)
! Hide shorts tab on channel pages
m.youtube.com##yt-tab-shape[tab-title="Shorts"]
! Hide shorts filter/category on top of homepage and search pages
www.youtube.com##ytm-chip-cloud-chip-renderer:has([aria-label="Shorts"])
! Hide shorts sections on search page
m.youtube.com##ytm-shorts-lockup-view-model:upward(grid-shelf-view-model)
! Block YouTube homepage recommendation grid
www.youtube.com##ytd-browse[page-subtype="home"] #primary
! Remove the recommended video sidebar/next section
www.youtube.com##ytd-watch-flexy #secondary
! Expand the video player to theater/full width since sidebar is gone (Optional)
www.youtube.com##ytd-watch-flexy[flexy]:not([fullscreen]):not([theater]) #primary.ytd-watch-flexy { max-width: 100% !important; }
! Remove recommended video grid inside the player frame at the end of a video
www.youtube.com##.ytp-ce-element
www.youtube.com##.videowall-endscreen
www.youtube.com##.ytp-endscreen-paginate
www.youtube.com##.ytp-fullscreen-grid-stills-container
Result
