Hide useless tiles, disable titles clamping - configurable
Sane YouTube Feeds by andrienko
Details
Authorandrienko
LicenseNo License
Categoryyoutube.com -> userstyles
Created
Updated
Code size1.6 kB
Code checksum9a0a375f
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
If youtube changes something (again, they sometimes do it) - it may break, of course.
Source code
/* ==UserStyle==
@name Sane YouTube Feeds
@namespace wp0.li
@version 1.0.1
@preprocessor stylus
@description Hide useless tiles, disable titles clamping, configurable
@var checkbox hideShorts "Hide shorts" 1
@var checkbox hideUpcoming "Hide upcoming" 1
@var checkbox hideAdSlots "Hide AD slots in feed" 1
@var checkbox hidePremieres "Hide PREMIERE videos (including \"running\" ones)" 1
@var checkbox expandTitles "Disable titles trimming (Titl...)" 1
@var checkbox sidebarHideChannels "Hide channels from sidebar" 1
@author lowpolybrain <10@wp0.li>
==/UserStyle== */
@-moz-document regexp(".*youtube.com/feed.*"), regexp(".*youtube.com/") {
if hideShorts {
ytd-rich-item-renderer.ytd-rich-grid-row:has([aria-label="Shorts"]) {
display: none !important;
}
}
if hideUpcoming {
ytd-rich-item-renderer.ytd-rich-grid-row:has([aria-label="Upcoming"])
{
display: none !important;
}
}
if hideAdSlots {
ytd-rich-item-renderer.ytd-rich-grid-row:has([class="ad-slot"])
{
display: none !important;
}
}
if hidePremieres {
ytd-rich-item-renderer.ytd-rich-grid-row:has(path[d*="M9 8c0 .55-.45 1-1 1s-1-.45-1-1"])
{
display: none !important;
}
}
if expandTitles {
#video-title.ytd-rich-grid-media{
-webkit-line-clamp: unset;
max-height: none;
}
}
if sidebarHideChannels {
ytd-guide-section-renderer:nth-child(2){
display: none !important;
}
}
}