Skip to content

3rdparty

Allow WebExtensions to configure policies. For more information, see Adding policy support to your extension. For GPO and Intune, the extension developer should provide an ADMX file.

FirefoxFirefox ESRFirefox Enterprise
Available since 68Available since 68Available since 149

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

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"
}
}
}
}
}
<dict>
<key>3rdparty</key>
<dict>
<key>Extensions</key>
<dict>
<key>uBlock0@raymondhill.net</key>
<dict>
<key>adminSettings</key>
<dict>
<key>selectedFilterLists</key>
<array>
<string>ublock-privacy</string>
<string>ublock-badware</string>
<string>ublock-filters</string>
<string>user-filters</string>
</array>
</dict>
</dict>
</dict>
</dict>
</dict>