移除 disablePictureInPicture 属性,使所有视频支持画中画。尽量确保原生画中画按钮可见。
Description:
Automatically removes the disablePictureInPicture attribute from <video> elements, enabling native Picture-in-Picture (PiP) mode on websites that intentionally block it (e.g., Disney+, Max, Crunchyroll).
The script activates only on pages containing video elements and ensures the browser’s built-in PiP button is visible where supported.
Key Features:
disablePictureInPicture. controls=true) to reveal the native PiP button (especially in Chrome/Edge). document-start) and uses MutationObserver for dynamically loaded videos (perfect for Netflix, Disney+, etc.).