Skip to content

3rdparty

Provide configuration to WebExtensions, which they can read through the storage.managed API. If you want an extension to support enterprise policy, point its developer to Adding policy support to your extension. For GPO and Intune, the extension developer should provide an ADMX file.

  • Extensions: An object keyed by extension ID. The value for each ID is the configuration passed to that extension. Firefox does not define those keys and values, the extension does, so check the extension's documentation for what it accepts.
policies.json
{
"policies": {
"3rdparty": {
"Extensions": {
"some-extension@example.com": {
"theseKeysAndValuesAreExtensionSpecific": true,
"advancedLayerRandomization": true,
"transmogrifyImmediately": false,
"hypnotizeUsersIfNeeded": true,
"numberOfSemiShuffles": 123,
"baseConfiguration": {
"showHelp": "sometimes",
"honestyRatio": 0.876
}
},
"{869A1003-0452-414C-9E4B-EF6BAA7D79E0}": {
"lightness": 3,
"darkness": 2
}
}
}
}
}
JSON schema
3rdparty JSON schema
{
"type": "object",
"properties": {
"Extensions": {
"type": "object",
"patternProperties": {
"^.*$": {
"type": [
"object",
"array"
],
"contentMediaType": "application/json"
}
}
}
}
}

This configuration force installs uBlock Origin and sets the filter lists it uses. The keys, such as toOverwrite.filterLists are the extension's keys defined by uBlock Origin. Here, the filterLists are set to use the ublock-filters and ublock-privacy lists:

{
"policies": {
"ExtensionSettings": {
"uBlock0@raymondhill.net": {
"installation_mode": "force_installed"
}
},
"3rdparty": {
"Extensions": {
"uBlock0@raymondhill.net": {
"toOverwrite": {
"filterLists": ["ublock-filters", "ublock-privacy"]
}
}
}
}
}
}
<dict>
<key>3rdparty</key>
<dict>
<key>Extensions</key>
<dict>
<key>uBlock0@raymondhill.net</key>
<dict>
<key>toOverwrite</key>
<dict>
<key>filterLists</key>
<array>
<string>ublock-filters</string>
<string>ublock-privacy</string>
</array>
</dict>
</dict>
</dict>
</dict>
</dict>
FirefoxFirefox ESRFirefox Enterprise
Available since 68Available since 68Available since 149

CCK2 Equivalent: N/A
Preferences Affected: N/A

  • ExtensionSettings to install extensions and manage their permissions.
  • Managed storage manifests on MDN, another way to provide storage.managed data. If this policy has an entry for an extension, Firefox ignores any manifest for it. Users can override a system-wide manifest with a per-user one, but they can't override this policy.
  • Deploying uBlock Origin: configuration for the settings uBlock Origin accepts.