|
JavaScript Restrictor
Browser extension that improves privacy and security
|
Main file handling wrappers. More...
Functions | |
| function | add_wrappers (wrappers) |
| function | noise_function (numberToChange, precision) |
Variables | |
| var | build_wrapping_code = {} |
| var | rounding_function |
| var | noise_function = `let lastValue = 0 |
Main file handling wrappers.
| function add_wrappers | ( | wrappers | ) |
Adds a list of wrapping objects to the build_wrapping_code.
This function is called from each wrapper in its file.
| function noise_function | ( | numberToChange, | |
| precision | |||
| ) |
| var build_wrapping_code = {} |
The object carrying all the wrappers
| var noise_function = `let lastValue = 0 |
Function to be used by wrapped code for adding randomized noise
| var rounding_function |
Function to be used by wrapped code used for rounding