1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-10-06 09:37:12 +02:00

Firefox WebExt deploying tip

gwarser 2018-06-27 20:13:48 +02:00
parent fe05368153
commit fa34d1f69c

@ -6,7 +6,7 @@ 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, 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 (for uBO WebExtension, Firefox 57+ read https://github.com/gorhill/uBlock/issues/2986#issuecomment-333198882 ), 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>.
@ -29,4 +29,4 @@ Now, the value for `adminSettings` must itself be a plain string, and this means
Here are issues related to the customization of settings for deployed uBO, there might be advises in there which you may find useful:
- https://github.com/gorhill/uBlock/issues/832
- https://github.com/gorhill/uBlock/issues/531
- https://github.com/gorhill/uBlock/issues/2986#issuecomment-364035002
- https://github.com/gorhill/uBlock/issues/2986#issuecomment-333198882