KeepPlaying 版本历史 - 3 个版本
KeepPlaying 作者: Shakib Bin Kabir
KeepPlaying 版本历史 - 3 个版本
小心旧版本!显示这些版本是为了测试和参考目的。您应该始终使用附加组件的最新版本。
最新版本
版本 3.1.0
发布于 2025年10月20日 - 22.84 KB适用于 firefox 58.0 及更高版本KeepPlaying v3.1.0 (2025-10-20)
KeepPlaying prevents videos, ads, and other media from pausing when you switch tabs by neutralizing the Page Visibility API and related focus/lifecycle signals.
Highlights
CRITICAL: Added all_frames: true to inject into all iframes and SafeFrames (required for Google Ads), fixing cases where ads paused on tab switch.
CRITICAL: Prevented “Permissions policy violation: unload is not allowed in this document” errors by silently blocking page lifecycle events.
Expanded protection: now blocks 15 event types across visibility, focus, lifecycle, and deprecated mutation categories.
Stronger support for Google Ads, SafeFrame, and other iframe-based content.
Clearer logging and documentation; improved event categorization.
What’s new
Manifest: Enable all_frames: true for full iframe/SafeFrame coverage.
Focus signals: Block blur, focus, focusin, focusout; override document.hasFocus() to always return true.
Lifecycle signals: Block unload, beforeunload, pagehide to avoid permissions policy violations.
Documentation: Clear categorization of blocked events and improved descriptions.
Fixes
CRITICAL: Google Ads continue playing on tab switch (previously missed iframe injection).
CRITICAL: Resolved “Permissions policy violation: unload is not allowed in this document” on YouTube and other sites.
Prevented console errors when pages attempt to register blocked lifecycle events.
Better compatibility with modern sites using strict permissions policies.
Other changes
Renamed deprecatedEvents to blockedEvents for clarity.
Updated console messages to reflect all blocked event types.
Increased total blocked event types from 8 to 15.
Browser support
Firefox: WebExtensions (Manifest V2). No new permissions added.源代码遵循 MIT 许可证 发布
较早版本
版本 3.0.1
发布于 2025年7月19日 - 22.32 KB适用于 firefox 58.0 及更高版本Version 3.0.1 Changes
✅ Official Firefox Add-ons Store release
📚 Added comprehensive documentation and changelog
🔧 Updated repository structure and documentation
🐛 Fixed version consistency across all files
This is a maintenance release focused on documentation improvements and preparing for wider distribution.源代码遵循 MIT 许可证 发布