Remove disablePictureInPicture

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

이 스크립트를 설치하려면 Tampermonkey, Greasemonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

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

이 스크립트를 설치하려면 Tampermonkey 또는 Violentmonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey 또는 Userscripts와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 Tampermonkey와 같은 확장 프로그램이 필요합니다.

이 스크립트를 설치하려면 유저 스크립트 관리자 확장 프로그램이 필요합니다.

(이미 유저 스크립트 관리자가 설치되어 있습니다. 설치를 진행합니다!)

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 Stylus와 같은 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

이 스타일을 설치하려면 유저 스타일 관리자 확장 프로그램이 필요합니다.

(이미 유저 스타일 관리자가 설치되어 있습니다. 설치를 진행합니다!)

작성자
Opus-X
일일 설치 수
0
총 설치 수
3
평점
0 0 0
버전
1.01
생성일
2025-12-21
갱신일
2025-12-21
크기
4.77KB
라이선스
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.