JavaScript Restrictor
Browser extension that improves privacy and security
|
Wrappers for NetworkInformation. More...
Functions | |
function | add_wrappers (wrappers) |
Wrappers for NetworkInformation.
This file contains a wrapper for NetworkInformation.
NetworkInformation allows sites to learn about local network conditions by querying navigator.connection
. Fingerprinters can misuse the feature. Long-term observers may learn about traveling patterns through observation of repeated values (for example a network at work, home, travel, etc.).
We implement the same protection as Brave: https://github.com/brave/brave-browser/issues/20122.
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.