Skip to content

Instantly share code, notes, and snippets.

@polerin
Created November 11, 2014 14:28
Show Gist options
  • Save polerin/03247f74323daad1b8c6 to your computer and use it in GitHub Desktop.
Save polerin/03247f74323daad1b8c6 to your computer and use it in GitHub Desktop.
Remove the YouTube floating header from a page. Useful if you want to watch some long running video in a smaller window.
// Create a new bookmark and paste this in.
// Any time you want to remove the header, select that bookmark while on the page.
javascript:document.getElementById('yt-masthead-container').remove();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment