Skip to content

Instantly share code, notes, and snippets.

@funkyremi
Last active June 20, 2019 12:52
Show Gist options
  • Save funkyremi/9d7b70285282d532c3f8c964810e7bf9 to your computer and use it in GitHub Desktop.
Save funkyremi/9d7b70285282d532c3f8c964810e7bf9 to your computer and use it in GitHub Desktop.

Copy and past the following code in your bookmark toolbar

javascript:var videos=document.getElementsByTagName("video");for(vid in videos)videos[vid].src&&videos[vid].webkitSetPresentationMode("picture-in-picture");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment