KeepPlaying Firefox

KeepPlaying

Keeps videos and ads playing when you switch tabs by neutralizing Page Visibility, focus, and lifecycle events

Features & Capabilities

KeepPlaying keeps videos, ads, and other media playing when you switch tabs. Many sites and ad players pause automatically when they detect the tab is hidden or unfocused. KeepPlaying neutralizes those signals so playback continues uninterrupted.

What it does

  • Prevents auto-pause when switching tabs on sites like YouTube and players embedded in iframes (e.g., Google Ads SafeFrame)
  • Blocks visibility, focus, and certain lifecycle events used to detect tab changes
  • Works automatically on all websites at document start
  • No permissions required

Key features

  • Page Visibility API blocking (visibilitychange, hidden, visibilityState)
  • Focus signal blocking (blur, focus, focusin, focusout)
  • Lifecycle event blocking (unload, beforeunload, pagehide) to avoid “permissions policy violation” errors
  • Deprecated Mutation Events blocking to eliminate console noise on modern sites
  • Injects into all frames, including SafeFrames used by Google Ads

How it works (technical)

  • Intercepts EventTarget.addEventListener for a curated list of events across visibility, focus, lifecycle, and deprecated mutation categories
  • Overrides document.visibilityState/document.hidden (and webkit-prefixed variants) to simulate an always-visible tab
  • Overrides document.hasFocus() to always return true
  • Runs at document_start; all_frames enabled for iframe/SafeFrame coverage
  • No background scripts, no remote code, no data collection

Compatibility

  • Firefox (WebExtensions)
  • Works on all websites, including iframe-based ad players

Privacy & permissions

  • No data collection, telemetry, or analytics
  • No permissions requested

Known limitations

  • Sites that rely on unload/beforeunload prompts (e.g., “You have unsaved changes”) will not show those prompts while the extension is active.

Changelog highlights (v3.1.0 — 2025-10-20)

  • CRITICAL: all_frames enabled to cover iframes/SafeFrames (fixes Google Ads pausing on tab switch)
  • CRITICAL: resolves “Permissions policy violation: unload is not allowed in this document”
  • Adds blocking for blur/focus events; overrides document.hasFocus()
  • Blocks unload, beforeunload, pagehide; clearer event categorization; now blocks 15 event types total

Links

User Growth & Download Statistics

Contact the developer

Chrome-Stats does not own this Firefox add-on. Please use these information below to contact the Firefox add-on developer.
Developed by:
Shakib Bin Kabir
Firefox Add-ons Store
https://addons.mozilla.org/firefox/addon/keepplaying/
Email:
co*****@shakibbinkabir.me
Website:
https://github.com/shakibbinkabir/keepplaying

Is KeepPlaying Safe?

Risk impact
Risk impact measures the level of extra permissions an extension has access to. A low risk impact extension cannot do much harms, whereas a high risk impact extension can do a lot of damage like stealing your password, bypassing your security settings, and accessing your personal data. High risk impact extensions are not necessarily malicious. However, if they do turn malicious, they can be very harmful.

KeepPlaying requires a few sensitive permissions. Exercise caution before installing.

Risk impact analysis details
  • Critical Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
  • High ******* ******* **** *** ****** ***** *** ***** ** ******* **** ********* ********* ** * *********** *****
Risk likelihood
Risk likelihood measures the probability that a Firefox add-on may turn malicious. This is determined by the publisher and the Firefox add-on reputation on Firefox Add-ons Store, the amount of time the Firefox add-on has been around, and other signals about the Firefox add-on. Our algorithms are not perfect, and are subject to change as we discover new ways to detect malicious extensions. We recommend that you always exercise caution when installing a Firefox add-on.

KeepPlaying is probably trust-worthy. Prefer other publishers if available. Exercise caution when installing this add-on.

Risk likelihood analysis details
  • High This extension has low user count. Unpopular extensions may not be stable or safe.
  • Low **** ********* *** ******* **** **** * ****** **** ***** ******** *** **** ****** ** ** ****** *** *****
  • Low **** ********* *** ***** **** **** * ****** **** ***** ********** *** **** ****** ** ** ****** *** *****
Extension Guard
Extension Guard

Discover every extension in use, analyze risks, and enforce blocking policies with Extension Guard

Secure Your Browser
Upgrade to see full risk analysis details

Best KeepPlaying Alternatives

Here are some Firefox add-ons that are similar to KeepPlaying: