1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

Updated Deploying uBlock Origin (markdown)

Saitama 2018-06-28 00:44:03 +05:30
parent ad4ee883b0
commit 007e5f36b8

@ -6,11 +6,11 @@ I do not know much about that administrator stuff, so I will let a knowledgeable
Administrators can force specific configurations to deployed uBlock Origin ("uBO"). At launch time, uBO will look for a setting named `adminSettings`, and if it exists, it will parse, extract and overwrite a user's settings with the administrator-assigned ones.
For Firefox, refer to this specific comment - https://github.com/gorhill/uBlock/issues/2986#issuecomment-333198882
For **Firefox**, refer to this specific comment - https://github.com/gorhill/uBlock/issues/2986#issuecomment-333198882
For Firefox-legacy, the `adminSettings` entry must be added to `about:config`, the key name is `extensions.ublock0.adminSettings`, and the value is a plain string -- which must be JSON-parseable.
For **Firefox-legacy**, the `adminSettings` entry must be added to `about:config`, the key name is `extensions.ublock0.adminSettings`, and the value is a plain string -- which must be JSON-parseable.
For Chrome, `adminSettings` must be an entry part of the policy for the extension. See <http://www.chromium.org/administrators/configuring-policy-for-extensions>.
For **Chrome**, `adminSettings` must be an entry part of the policy for the extension. See <http://www.chromium.org/administrators/configuring-policy-for-extensions>.
This is still a work in progress, there are limitations. For example, it is not possible to merge an admin's settings with the user's ones -- a setting can only be overwritten. Hopefully I will address this limitation eventually, as time permit. (See https://github.com/gorhill/uBlock/issues/832#issuecomment-248138558).