Skip to content

Instantly share code, notes, and snippets.

@TinoDidriksen
Created August 30, 2017 15:07
Embed
What would you like to do?
YouTube Subscription List Density
function move_descs() {
$('ytd-item-section-renderer').find('#description-text').each(function() {
var e = $(this);
var p = e.closest('ytd-shelf-renderer');
e.detach();
p.append(e);
});
}
$(function() {
if (window.location.href.indexOf('/feed/subscriptions') === -1) {
return;
}
$('head').append('<style>ytd-item-section-renderer {display: inline-block; width: 50%;} div.grid-subheader.style-scope.ytd-shelf-renderer {display: none;} ytd-thumbnail.ytd-video-renderer {width: 200px; height: 112px;} #description-text.ytd-video-renderer {padding-top: 0; padding-right: 10px;} ytd-expanded-shelf-contents-renderer {margin-bottom: 10px;}</style>');
setTimeout(move_descs, 250);
setTimeout(move_descs, 3000);
setTimeout(move_descs, 10000);
});
@TinoDidriksen
Copy link
Author

Changes YouTube's Subscriptions List view from the awful

to the much richer

Can be used with various page modifier extensions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment