Skip to content

Instantly share code, notes, and snippets.

@alanmquach
Last active April 25, 2018 20:35
Show Gist options
  • Save alanmquach/8cf8f5ab44ce4709eef8d2c904b6fc1e to your computer and use it in GitHub Desktop.
Save alanmquach/8cf8f5ab44ce4709eef8d2c904b6fc1e to your computer and use it in GitHub Desktop.
JavaScript snippet to hid overlay from the Plex mini-player so that the native right-click menu for the video element can be accessed (to enable PIP on Mac OS)
document.querySelector("button[title='Expand Player']").style.display = "none"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment