Updated Deploying uBlock Origin: configuration (markdown)

Raymond Hill 2021-01-06 12:21:55 -05:00
parent 6573b784aa
commit 0b0790975e

@ -3,11 +3,7 @@ uBO supports being configured through central policies, see browser documentatio
- Chromium: ["Configuring Apps and Extensions by Policy"](https://www.chromium.org/administrators/configuring-policy-for-extensions)
- Firefox: ["Managed storage manifests"](https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/Native_manifests#Managed_storage_manifests)
## toOverwrite
The properties in the `toOverwrite` branch will wholly replace the corresponding local settings. Currently, the following subset of properties are supported:
### advancedSettings
## advancedSettings
The purpose of the `advancedSettings` property is to set the values of various [advanced settings](./Advanced-settings).
@ -18,18 +14,16 @@ Every valid entry will be used to overwrite the corresponding default advanced s
Example:
{
"toSet": {
"advancedSettings": [
[ "disableWebAssembly", "true" ]
]
}
"advancedSettings": [
[ "disableWebAssembly", "true" ]
]
}
### disableDashboard
## disableDashboard
Set to `true` to prevent access to uBO's dashboard.
### disabledPopupPanelParts
## disabledPopupPanelParts
An array of strings, where each string refer to a part of the popup panel which should be removed from view. Current supported named parts:
@ -38,6 +32,10 @@ An array of strings, where each string refer to a part of the popup panel which
- `extraTools`: remove access to [per-site switches](./Quick-guide:-popup-user-interface#the-per-site-switches).
- `firewall`: remove access to the [overview pane](./Quick-guide:-popup-user-interface#the-overview-panel).
## toOverwrite
The properties in the `toOverwrite` branch will wholly replace the corresponding local settings. Currently, the following subset of properties are supported:
### trustedSiteDirectives
The `trustedSiteDirectives` property is an array of string, which of which must resolve into a valid trusted-site directive, used to dictate where uBO must be disabled. All the directives will be used to wholly replace the local trusted-site directives, including the built-in ones.