
Disable Page Visibility API by Frank Dreßler
This add-on disables the Page Visibility API.
Extension Metadata
The Page Visibility API is used by webpages to detect if they are visible.
Some websites, among them Twitch, use this information to pause video playback in background tabs. This add-on disables the API for all pages.
Pausing playback of a video or other processing in a background tab is useful to save energy. So only enable this add-on if you can afford it.
There are other ways to detect if a webpage is visible, e.g. onblur/onfocus. This add-on does not disable any of those other ways. So do not assume that this add-on will enhance your privacy.
Some websites, among them Twitch, use this information to pause video playback in background tabs. This add-on disables the API for all pages.
Pausing playback of a video or other processing in a background tab is useful to save energy. So only enable this add-on if you can afford it.
There are other ways to detect if a webpage is visible, e.g. onblur/onfocus. This add-on does not disable any of those other ways. So do not assume that this add-on will enhance your privacy.
Report this add-on for abuse
If you think this add-on violates Mozilla's add-on policies or has security or privacy issues, please report these issues to Mozilla using this form.
Please don't use this form to report bugs or request add-on features; this report will be sent to Mozilla and not to the add-on developer.
- Version
- 1.1
- Size
- 4.78 KB
- Last updated
- 3 years ago (Dec 19, 2017)
- License
- BSD License
- Version History
* Force 'document.visibilityState' to return "visible". Before only 'document.hidden' was overridden by the add-on.
* The attributes 'configurable' and 'enumerable' of the overridden properties 'document.hidden' and 'document.visibilityState' are now 'true' to reflect their untampered state.
* The attributes 'configurable' and 'enumerable' of the overridden properties 'document.hidden' and 'document.visibilityState' are now 'true' to reflect their untampered state.
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet
- There are no ratings yet