Skip to content

Instantly share code, notes, and snippets.

@DominoPivot
Last active February 12, 2026 17:41
Show Gist options
  • Select an option

  • Save DominoPivot/e04a42b59f81688d33b631549774e2ae to your computer and use it in GitHub Desktop.

Select an option

Save DominoPivot/e04a42b59f81688d33b631549774e2ae to your computer and use it in GitHub Desktop.
Bookmarklet to display Youtube subscriptions in a list instead of a grid
javascript:void function(){
const s=new CSSStyleSheet;
s.replaceSync(`
.ytd-rich-grid-renderer { --ytd-rich-grid-items-per-row: 1; align-items: start; }
ytd-rich-item-renderer { margin-inline: .5em !important; }
ytd-rich-section-renderer:has(.shortsLockupViewModelHost) { display:none; }
ytd-reel-shelf-renderer { display: none; }
.yt-lockup-view-model { flex-direction: row; }
.yt-lockup-view-model__content-image { flex-direction: column; width: 16em; margin-right: 1em; }
`);
document.adoptedStyleSheets.push(s)
}();
@DominoPivot
Copy link
Author

DominoPivot commented Feb 9, 2026

Update:

  • Now tricks the grid layout to have 1 full-width column, so long titles appear on a single line.
  • Thumbnails are no longer hidden but given a fixed weight and shown on the left.
    • Video previews and hover/touch interactions are broken.
  • The Shorts section is now entirely hidden from the page instead of collapsed.

Note that this was only tested in English on a 1080p screen with larger fonts. This code snippet is provided with zero warranties, use it at your own peril.

@DominoPivot
Copy link
Author

DominoPivot commented Feb 12, 2026

Update: Shorts are now also hidden from the recommendations besides a video. End the addiction.

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