JavaScript Restrictor
Browser extension that improves privacy and security
|
Code that updates configuration stored by the user after upgrades. More...
Functions | |
function async | installUpdate () |
function async | checkAndSaveConfig (conf, check_default=true) |
Code that updates configuration stored by the user after upgrades.
function async checkAndSaveConfig | ( | conf, | |
check_default = true |
|||
) |
function async installUpdate | ( | ) |
0.3+ storage { default: 2, // Default protection level version: 2.2, // The version of this storage custom_levels: {}, // associative array of custom level (key, its id => object) {level_id: short string used for example on the badge level_text: Short level description level_description: Full level description ... wrapping_params (key-value pairs), see wrapping_groups for the list of params and supported values } domains: {}, // associative array of levels associated with specific domains (key, the domain => object) {level_id: short string of the level in use } nbsWhitelist: {} // associative array of hosts that are removed from http protection control (hostname => boolean) requestShieldOn: {} // Boolean, if it's TRUE or undefined, the http request protection is turned on, if it's FALSE, the protection si turned off fpDetectionOn: {} // Boolean, if it's TRUE, the fingerprint detection is turned on, if it's FALSE or undefined, the protection si turned off