KeepPlaying version history - 3 versions
KeepPlaying by Shakib Bin Kabir
KeepPlaying version history - 3 versions
Be careful with old versions! These versions are displayed for testing and reference purposes.You should always use the latest version of an add-on.
Latest version
Version 3.1.0
Released Oct 20, 2025 - 22.84 KBWorks with firefox 58.0 and laterKeepPlaying 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.Source code released under MIT License
Older versions
Version 3.0.1
Released Jul 19, 2025 - 22.32 KBWorks with firefox 58.0 and laterVersion 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.Source code released under MIT License
Version 3.0.0
Released Jun 18, 2025 - 22.19 KBWorks with firefox 58.0 and laterSource code released under MIT License