Site Visibility Control by SurgWaterfox
Keep selected websites seeing your page as visible when you switch tabs or minimize the browser. Helps stop sites like Twitch.tv from lowering video quality when you switch tabs or minimize the browser. Turn it on only for the websites you choose.
1 User1 User
Extension Metadata
About this extension
Control Page Visibility on websites you choose.
Site Visibility Control reports the page as visible and blocks visibility-change events on enabled websites. Every website starts disabled. Use the toolbar popup to enable an exact hostname, optionally include its subdomains, and remove saved rules. Your choices are saved across browser restarts.
How to use it:
1. Visit a website and open Site Visibility Control from the extensions menu.
2. Click “Enable for this website” and approve access to that hostname.
3. Reload the page to apply the change.
4. To turn it off, remove its rule and reload the page.
You can enable it only for Twitch or choose other websites.
Only the Page Visibility API is changed. Focus and blur detection, background timer throttling, system sleep, and other activity checks remain active. Embedded frames need their own matching hostname rule. Browser-protected pages cannot be changed.
Website access is requested separately for each enabled hostname. Site choices stay in local browser storage. There are no analytics, advertisements, remote scripts, accounts, or extension-initiated network requests.
Site Visibility Control reports the page as visible and blocks visibility-change events on enabled websites. Every website starts disabled. Use the toolbar popup to enable an exact hostname, optionally include its subdomains, and remove saved rules. Your choices are saved across browser restarts.
How to use it:
1. Visit a website and open Site Visibility Control from the extensions menu.
2. Click “Enable for this website” and approve access to that hostname.
3. Reload the page to apply the change.
4. To turn it off, remove its rule and reload the page.
You can enable it only for Twitch or choose other websites.
Only the Page Visibility API is changed. Focus and blur detection, background timer throttling, system sleep, and other activity checks remain active. Embedded frames need their own matching hostname rule. Browser-protected pages cannot be changed.
Website access is requested separately for each enabled hostname. Site choices stay in local browser storage. There are no analytics, advertisements, remote scripts, accounts, or extension-initiated network requests.
Rated 0 by 0 reviewers
Permissions and data
Optional permissions:
- Access your data for all websites
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Add-on Links
- Version
- 1.0.1
- Size
- 18.13 KB
- Last updated
- a month ago (Oct 19, 2026)
- Related Categories
- License
- MIT License
- Version History
- Add to collection
All executable code is readable in the XPI. There are no dependencies, build tools, minification, transpilation, bundling, eval, or remote scripts. Packaging consists only of ZIP compression.
Permissions:
- activeTab reads the current URL when the user opens the popup.
- storage saves selected hostname patterns locally.
- scripting registers the content script at document_start.
- Optional host permissions are requested for individual user-selected hostnames.
visibility.js uses Gecko’s wrappedJSObject/exportFunction bridge to expose constant visibility getters to page scripts. It overrides document and Document.prototype getters and stops visibilitychange events with capturing listeners.
To test: enable an ordinary website, approve permission, and reload. While the tab is in the background, page scripts should read document.hidden as false and document.visibilityState as "visible". Visibility-change callbacks should be suppressed. An unselected hostname should retain normal behavior. Remove the rule and reload to restore native behavior.
Automated syntax and logic checks passed. Real Firefox/Waterfox end-to-end testing could not be completed in the preparation environment. No website account or testing credentials are required.