افزونه‌های مرورگر فایرفاکس
  • افزونه‌ها
  • پوسته‌ها
    • برای فایرفاکس
    • واژه‌نامه‌ها و بسته‌های زبان
ورود
پیش‌نمایش KeepPlaying

KeepPlaying Shakib Bin Kabir توسط

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

0 (۰ بررسی)0 (۰ بررسی)
۳۶ کاربر۳۶ کاربر
فایرفاکس را دریافت کنید و افزونه را بگیرید
دریافت فایل

فرادادهٔ افزونه

دربارهٔ این افزونه
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
- Source code: https://github.com/shakibbinkabir/keepplaying
- Changelog: https://github.com/shakibbinkabir/keepplaying/blob/main/CHANGELOG.md
نظرات توسعه‌دهنده
KeepPlaying focuses on neutralizing tab visibility/focus detection to prevent auto-pause. It does not block or remove ads, alter network requests, or inject remote code.

Note: Because unload/beforeunload/pagehide are blocked, some sites may not show “unsaved changes” prompts while the extension is active. If you rely on those prompts, temporarily disable the extension.

No permissions, no data collection, no telemetry. Issues and feedback are welcome on GitHub.
امتیاز ۰ توسط ۱ بررسی‌کننده
وارد شوید تا به این افزونه امتیاز دهید
هنوز هیچ امتیازی ثبت نشده است

امتیاز ستاره‌ای ذخیره شد

۵
۰
۴
۰
۳
۰
۲
۰
۱
۰
هنوز بررسی‌ای ثبت نشده است
دسترسی‌ها و داده‌ها

دسترسی‌های الزامی:

  • دسترسی به داده‌های شما در همهٔ وب‌سایت‌ها
اطلاعات بیشتر
اطلاعات بیشتر
پیوند‌های افزونه
  • سایت پشتیبانی
  • ایمیلٔ پشتیبانی
  • کپی شناسه افزونه
نسخه
3.1.0
اندازه
۲۲٫۸۴ کیلوبایت
آخرین به‌روزرسانی
یک سال پیش (۲۰ اکتبر ۲۰۲۵)
دسته‌بندی‌های مرتبط
  • حریم خصوصی و امنیت
  • عکس، موسیقی و ویدیو
  • زبانه‌ها
مجوز
مجوز MIT
تاریخچهٔ نسخه‌ها
  • نمایش همه نسخه‌ها
افزودن به مجموعه
گزارش این افزونه
رفتن به صفحه اصلی موزیلا

افزونه‌ها

  • درباره
  • وبلاگ افزونه‌های فایرفاکس
  • کارگاه افزونه
  • مرکز توسعه‌دهندگان
  • سیاست‌های توسعه‌دهنده
  • وبلاگ انجمن
  • انجمن
  • گزارش خطا
  • راهنمای بررسی

بارگیری

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

آخرین نسخه‌های ساخت

  • Nightly
  • Beta

فایرفاکس برای کسب‌وکار

  • Enterprise

انجمن

  • Connect
  • Contribute
  • Developer

دنبال کردن

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • حریم‌خصوصی
  • کوکی‌ها
  • حقوقی

غیر از مواردی که مشخص شده، محتوای این سایت تحت گواهینامه Creative Commons Attribution Share-Alike License v3.0 یا هر نسخه بعدی خواهد بود.