JavaScript Restrictor
Browser extension that improves privacy and security
|
Wrappers for Web Audio API. More...
Functions | |
function | audioFarbleInt (array) |
function | whiteNoiseInt (array) |
function | whiteNoiseFloat (array) |
Variables | |
var | audioFarbleBody = audioFarble |
var | wrappers |
Wrappers for Web Audio API.
This file contains wrappers for AudioBuffer and AnalyserNode related calls
The goal is to prevent fingerprinting by modifying the values from functions which are reading/copying from AudioBuffer and AnalyserNode. So the audio content of wrapped objects is the same as intended.
The modified content can be either a white noise based on domain key or a fake audio data that is modified according to domain key to be different than the original albeit very similar (i.e. the approach 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/execution_context/execution_context.cc.)
function audioFarbleInt | ( | array | ) |
function whiteNoiseFloat | ( | array | ) |
function whiteNoiseInt | ( | array | ) |
String audioFarbleBody = audioFarble |
Contains functions for modyfing audio data according to chosen level of protection - (0) - replace by white noise (range <0,0.1>) based on domain key (1) - multiply array by fudge factor based on domain key
var wrappers |