Auto Picture-in-Picture on Tab Change

Auto-enables PiP for playing videos in Chromium browsers on tab switch. Requires an initial click to unlock and exits on return.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
Ezio Auditory
日安装量
0
总安装量
38
评分
1 0 0
版本
1.3.1
创建于
2025-02-17
更新于
2025-02-17
大小
4.3 KB
许可证
MIT
适用于
所有网站

🎥 Auto-PiP Tab Switch

This script automatically enters Picture-in-Picture (PiP) mode for playing videos when switching tabs and exits PiP when returning to the original tab.

✨ Features:

  • Auto-PiP on tab switch – No manual activation needed.
  • Exits PiP on return – Automatically restores the video.
  • Works on most video sites – Supports YouTube, Netflix, and more.
  • Skips if the video is paused – Only activates when the video is playing.

🔧 Installation:

  1. Install a userscript manager:
  2. Click the Install button.
  3. Enjoy seamless PiP switching!

📌 Notes:

  • Requires an initial click on the video to unlock PiP.
  • Works on Chromium-based browsers (Chrome, Edge, Brave, Opera).

Contributing & Reporting Issues

Contact

Contact on Telegram

Donate

If you appreciate this script and my work maintaining it, please consider donating. Your support helps me continue to improve and develop more userscripts.

Donate on Ko-fi

Thank you for your support!