JavaScript Restrictor
Browser extension that improves privacy and security
|
Operations and data structures connected to protection levels. More...
Functions | |
function | is_api_undefined (api) |
function | are_all_api_unsupported (wrappers) |
function | init_levels () |
function | updateLevels (res) |
function | changedLevels (changed, area) |
function | setDefaultLevel (level) |
function | saveDomainLevels () |
function | getCurrentLevelJSON (url) |
function | getTweaksForLevel (level_id, tweaks_obj) |
Variables | |
var | wrapping_groups |
const | L0 = "0" |
const | L1 = "1" |
const | L2 = "2" |
const | L3 = "3" |
const | L_EXPERIMENTAL = "Experiment" |
var | level_0 |
Built-in levels. | |
var | level_1 |
var | level_2 |
var | level_3 |
var | level_experimental |
var | modify_builtin_levels = modify_builtin_levels || (() => null) |
var | levels = {} |
var | default_level = {} |
var | domains = {} |
let | levels_initialised = false |
let | fp_levels_initialised = false |
let | levels_updated_callbacks = [] |
var | tweak_domains = tweak_domains || {} |
Operations and data structures connected to protection levels.
function are_all_api_unsupported | ( | wrappers | ) |
Returns true if all given API wrappers are unsuported.
function changedLevels | ( | changed, | |
area | |||
) |
function getCurrentLevelJSON | ( | url | ) |
function getTweaksForLevel | ( | level_id, | |
tweaks_obj | |||
) |
function init_levels | ( | ) |
function is_api_undefined | ( | api | ) |
Check if the given API is supported by the browser
String | to the object which presence to check. |
function saveDomainLevels | ( | ) |
function setDefaultLevel | ( | level | ) |
function updateLevels | ( | res | ) |
var default_level = {} |
var domains = {} |
let fp_levels_initialised = false |
const L0 = "0" |
const L1 = "1" |
const L2 = "2" |
const L3 = "3" |
const L_EXPERIMENTAL = "Experiment" |
var level_0 |
var level_1 |
var level_2 |
var level_3 |
var level_experimental |
var levels = {} |
let levels_initialised = false |
let levels_updated_callbacks = [] |
var modify_builtin_levels = modify_builtin_levels || (() => null) |
var tweak_domains = tweak_domains || {} |
var wrapping_groups |
Wrapping groups
Used to control the built-in levels and GUI (e.g. level tweaks).