Last active
December 20, 2023 08:20
-
-
Save lucaspar/8255b7d37bc219986092674e980c81a3 to your computer and use it in GitHub Desktop.
Denser YouTube's subscriptions view, with smaller thumbnails
This file contains 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
! Add these lines to the "my filters" section of ublock origin | |
www.youtube.com##ytd-rich-section-renderer.ytd-rich-grid-renderer.style-scope:nth-of-type(2) | |
youtube.com##ytd-rich-grid-renderer:style(--ytd-rich-grid-items-per-row: 12 !important;) | |
youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;) |
This file contains 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
/* Add to Enhancer for YouTube's Custom script section */ | |
;(function () { | |
document.body.appendChild(document.createElement('style')).innerHTML = | |
'ytd-rich-grid-row{display:inline-block;width:min-content;}div#contents.ytd-rich-grid-row{margin:0;}' + | |
'ytd-rich-item-renderer{width:250px;margin:0.5em;}' + | |
'ytd-video-meta-block[rich-meta] #metadata-line.ytd-video-meta-block{font-size:1rem !important;line-height:initial;}' + | |
'#video-title.ytd-rich-grid-media{font-size:12px;line-height:initial;}' + | |
'#text.complex-string.ytd-channel-name,ytd-video-meta-block[rich-meta]#metadata-line.ytd-video-meta-block{font-size:12px;line-height:initial;}' | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected extensions: