JavaScript Restrictor
Browser extension that improves privacy and security
|
Wrappers for navigator.deviceMemory property. More...
Wrappers for navigator.deviceMemory property.
This file contains wrapper for navigator.deviceMemory https://developer.mozilla.org/en-US/docs/Web/API/Navigator/deviceMemory
The goal is to prevent fingerprinting by modifying return value of navigator.deviceMemory parameter.
This wrapper operates with three levels of protection:
These approaches are inspired by the algorithms created by Brave Software https://brave.com available at https://github.com/brave/brave-core/blob/master/chromium_src/third_party/blink/renderer/core/frame/navigator_device_memory.cc