Skip to content

polywock/removeDisablePiPAttribute

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

removeDisablePiPAttribute

Bookmarklet that removes disablePictureInPicture attributes from videos.

Useful for Disney Plus and other websites.

Usage

  1. To create the bookmarklet, edit any existing bookmark and change the URL to the code inside bookmarklet.js. As for bookmark name, choose anything.
  2. Click on the bookmarklet to clear "disablePictureInPicture" attributes.
  3. Activate PiP mode using your preferred method.

Bookmarklet.js

javascript:document.querySelectorAll("video").forEach(video => {
        /* https://github.com/polywock/removeDisablePiPAttribute */
        video.removeAttribute("disablePictureInPicture");
})

Userscript alternative

https://greasyfork.org/en/scripts/426660-remove-pip-disable-attributes

About

Remove disablePictureInPicture attributes from videos.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published