From 0b0790975e763d74cbb183b4fa42ae1d5ce899ab Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Wed, 6 Jan 2021 12:21:55 -0500 Subject: [PATCH] Updated Deploying uBlock Origin: configuration (markdown) --- Deploying-uBlock-Origin:-configuration.md | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/Deploying-uBlock-Origin:-configuration.md b/Deploying-uBlock-Origin:-configuration.md index 273d636..150d7fd 100644 --- a/Deploying-uBlock-Origin:-configuration.md +++ b/Deploying-uBlock-Origin:-configuration.md @@ -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.