Remove disablePictureInPicture

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

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

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

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği indirebilmeniz için ayrıca Tampermonkey gibi bir eklenti kurmanız gerekmektedir.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

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.

(Zateb bir user-style yöneticim var, yükleyeyim!)

Yazar
Opus-X
Günlük kurulumlar
0
Toplam kurulumlar
3
Değerlendirmeler
0 0 0
Versiyon
1.01
Oluşturulma
21.12.2025
Güncellenme
21.12.2025
Boyut
4,77 KB
Lisans
MIT
Geçerli
Tüm siteler

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.