JavaScript Restrictor
Browser extension that improves privacy and security
|
Wrappers for Media Capture and Streams standard. More...
Wrappers for Media Capture and Streams standard.
This file contains wrapper for MediaDevices.enumerateDevices https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices
The goal is to prevent fingerprinting by modifying return value of enumerateDevices.
This wrapper operates with three levels of protection:
Shuffling approach is 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/modules/mediastream/media_devices.cc