This is an userstyle that hides the shorts option on any pages including the shorts tab.
YT - Hide 'Shorts' feed on any pages by magma_craft
Details
Authormagma_craft
LicenseCC Zero
Categoryyoutube
Created
Updated
Size1.7 kB
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name YT - Hide 'Shorts' feed on any pages
@namespace example.com
@version 1.3.0
@description This is an userstyle that hides the shorts option on any pages including the shorts tab.
@author Magma_Craft
@preprocessor stylus
@var checkbox hideShorts1 "Hide 'Shorts' feed from home and subscription pages" 1
@var checkbox hideShorts2 "Hide 'Shorts' feed from watch page sidebar (including remixes)" 1
@var checkbox hideShorts3 "Hide 'Shorts' feed from search results and other pages" 0
@var checkbox hideShortstab "Hide 'Shorts' tab from the left sidebar" 0
==/UserStyle== */
@-moz-document domain("youtube.com") {
if hideShorts1 {
ytd-browse[page-subtype="home"] ytd-rich-shelf-renderer[is-shorts],
ytd-browse[page-subtype="subscriptions"] ytd-rich-shelf-renderer[is-shorts] {
display: none !important;
}
}
if hideShorts2 {
ytd-item-section-renderer.style-scope.ytd-watch-next-secondary-results-renderer > div#contents.style-scope.ytd-item-section-renderer > ytd-reel-shelf-renderer.style-scope.ytd-item-section-renderer,
ytd-reel-shelf-renderer.ytd-structured-description-content-renderer {
display: none !important;
}
}
if hideShorts3 {
ytd-reel-shelf-renderer {
display: none !important;
}
}
if hideShortstab {
#endpoint.yt-simple-endpoint.ytd-guide-entry-renderer.style-scope[title="Shorts"] {
display: none;
}
a.yt-simple-endpoint.style-scope.ytd-mini-guide-entry-renderer[title="Shorts"] {
display: none;
}
}
}