JavaScript Restrictor
Browser extension that improves privacy and security
Loading...
Searching...
No Matches
levels_browser.js File Reference

Modifies the levels.js data structures to accomodate for Firefox-specific configuration. More...

Variables

var modify_wrapping_groups
 

Detailed Description

Modifies the levels.js data structures to accomodate for Firefox-specific configuration.

Author
Copyright (C) 2022 Libor Polcak
License:
SPDX-License-Identifier: GPL-3.0-or-later

Variable Documentation

◆ modify_wrapping_groups

var modify_wrapping_groups
Initial value:
= function() {
wrapping_groups.groups.forEach(function (group) {
if (group.name === "windowname") {
group.description2.push(browser.i18n.getMessage("jssgroupPersistentIdentifierOfTheBrowserTabFirefox88"))
}
else if (group.name === "wasm") {
group.params = [
{
short: browser.i18n.getMessage("jssgroupWASMDisabled"),
description: browser.i18n.getMessage("jssgroupWASMDisabledDescription"),
config: [0],
},
{
short: browser.i18n.getMessage("jssgroupWASMEnabled"),
description: browser.i18n.getMessage("jssgroupWASMEnabledDescription"),
config: [1],
},
];
}
});
}
var wrapping_groups
Definition levels.js:32