Skip to content

Instantly share code, notes, and snippets.

@TinoDidriksen
Created August 30, 2017 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save TinoDidriksen/77e6f86e34d52ba6028f5098a7047bdd to your computer and use it in GitHub Desktop.
Save TinoDidriksen/77e6f86e34d52ba6028f5098a7047bdd to your computer and use it in GitHub Desktop.
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