Remove disablePictureInPicture

Removes the disablePictureInPicture attribute to enable Picture-in-Picture on all videos. Ensures the native PiP button is visible where possible.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(I already have a user script manager, let me install it!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Аўтар
Opus-X
Усталяванняў за дзень
0
Усяго ўсталяванняў
3
Рэйтынг
0 0 0
Версія
1.01
Створаны
21.12.2025
Абноўлены
21.12.2025
Памер
4.8 КБ
Ліцэнзія
MIT
Ужываецца на
Усе сайты

Remove 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:

  • Removes both the boolean property and HTML attribute disablePictureInPicture.
  • Enables standard video controls (controls=true) to reveal the native PiP button (especially in Chrome/Edge).
  • Runs early (document-start) and uses MutationObserver for dynamically loaded videos (perfect for Netflix, Disney+, etc.).
  • Activates only on pages with videos – efficient and lightweight.
  • Fully compatible with Greasemonkey, Tampermonkey, and Violentmonkey.
  • No permissions or external resources required.