Skip to content

Instantly share code, notes, and snippets.

@CatzHoekk
CatzHoekk / enable-picture-in-picture.js
Last active June 20, 2024 19:37
Enables picture in picture on all video elements
// ==UserScript==
// @name Reactivate Picture-in-Picture
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Detects when a video element loads and allows for Picture-in-Picture (Does not actually start PIP mode)
// @author CatzHoek
// @match *://*/*
// @grant none
// ==/UserScript==