YouTube Background Player EN
Script Smith · Firefox
Keep YouTube playing in the background — blocks "still watching?" prompts, with sleep timer and native Picture-in-Picture.
截图
简介
Keeps YouTube (and YouTube Music) playing in the background when you minimize the browser, or switch apps — blocks "still watching?" prompts, provides a sleep timer and a native Picture-in-Picture features.
Runs on youtube.com, youtube-nocookie.com (embedded players) and music.youtube.com.
Tested on:
✔ Windows & Mac: Chrome, Firefox
✔ Android: Kiwi & Yandex
✨ Key Features
⚡ Keep playing in the background — Stops YouTube's own JavaScript from pausing the video when the tab is switched, browser minimized, or device is locked.
⚡ Sleep timer — Pauses the video player after a specified duration, with an optional timer to automatically resume playback.
⚡ Auto-dismiss "Are you still watching?" prompts — Clears long-session confirmation prompts automatically.
⚡ Auto-advance in the background — Keeps a playlist, mix, or "Up next" queue moving while the tab is hidden.
⚡ Prevent tab discarding — Keeps the tab from being unloaded while a video is playing.
⚡ Picture-in-Picture button — Embedded in the player controls; pops the video into an always-on-top window that survives switching or closing the tab.
⚡ Save pause position to URL — Writes the paused timestamp into the URL's t= parameter so reloading resumes where you left off.
🎯 How to Use
1⃣Turn on the features you want
Each row is its own toggle
💡 Note: Changes apply instantly — no page reload needed unless stated otherwise in the popup.
🔄 Stay Updated
This extension is actively maintained. Your feedback on features, bugs, or suggestions is always welcome via the popup's buttons.
⚠ Note
This extension relies on YouTube's current interface and internal player APIs. Significant changes to YouTube's site may affect functionality — if you notice any issues, please let us know.
🔒 Privacy
Your privacy matters. This extension does not collect or share your personal data.
• All settings are stored locally in your browser.
• A random, anonymous install id is generated locally to let the developer respond to your bug reports or feature requests, if you choose to send any — it is not linked to your name, email, Google account, or browsing history.
• No video titles, watch history, or browsing activity are ever collected or transmitted.
• You have full control over your data — uninstalling removes it immediately.
📄 Disclaimer
This extension is not affiliated or endorsed by YouTube or Google.
📌 Changelog
For release notes, check the changelog:
https://scriptsmith.dev/en/youtube-background-player/changelog
YouTube Background Player 是做什么的
YouTube Background Player 是一款面向 Firefox 的资讯订阅类扩展,主要用来订阅 RSS、聚合新闻、跟踪博客更新。官方对它的介绍是:Keep YouTube playing in the background — blocks "still watching?" prompts, with sleep timer and native Picture-in-Picture.在Firefox 附加组件商店(AMO)上,它当前版本 1.1.3,评分 5(3 人评价),约 77 名用户。
适合什么人用
从功能定位看,YouTube Background Player 更适合想摆脱算法推荐、自己掌控信息源的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。
怎么安装 YouTube Background Player
- 打开Firefox 附加组件商店(AMO)上的官方页面;
- 点「添加到浏览器」并确认权限提示;
- 装好后在扩展列表里固定图标,方便随时开关。
本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。
常见问题
YouTube Background Player 是免费的吗?
YouTube Background Player 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。
YouTube Background Player 安全吗?
它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。
YouTube Background Player 支持哪些浏览器?
当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。
怎么卸载 YouTube Background Player?
在扩展管理页找到 YouTube Background Player,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。
权限清单 来自 manifest.json 原文
接口权限 2
alarmsstorage




