A lightweight JavaScript browser script that keeps Snapchat Web reporting the page as visible and focused by overriding visibility APIs and intercepting focus-loss events.
-
Updated
Jul 18, 2026 - JavaScript
A lightweight JavaScript browser script that keeps Snapchat Web reporting the page as visible and focused by overriding visibility APIs and intercepting focus-loss events.
Intercepts all JS-based tab-switch detection before the page loads. Page Visibility API, blur/focus events, hasFocus(), and more.
Chrome extension that stops sites from pausing video when you click away from the window. Optionally auto-clicks Next between chapters. Per-site, no tracking.
Add a description, image, and links to the page-visibility-api topic page so that developers can more easily learn about it.
To associate your repository with the page-visibility-api topic, visit your repo's landing page and select "manage topics."