Created
February 11, 2021 00:09
-
-
Save andrewslotin/889af86ce3ff2c78090c29cb6e31ae4d to your computer and use it in GitHub Desktop.
Watch Amazon Video in PiP mode in Safari
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.from(document.getElementsByTagName('video')) | |
.filter(vid => vid.src) | |
.forEach(vid => vid.webkitSetPresentationMode("picture-in-picture")); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment