JavaScript Restrictor
Browser extension that improves privacy and security
|
Wrappers for Battery Status API. More...
Functions | |
function | add_wrappers (wrappers) |
Wrappers for Battery Status API.
The navigator.getBattery()
reports the state of the battery and can be misused to fingerprint users for a short term. The API was removed from Firefox, but is still supported in browsers derived from Chromium. The wrapper mimics Firefox behaviour.
BatteryManager.prototype
getters and setters. function add_wrappers | ( | wrappers | wrappers | ) |
Adds a list of wrapping objects to the build_wrapping_code.
This function is called from each wrapper in its file.