From 37f6379fdfc2b620efa77a2a6fceff615e973a78 Mon Sep 17 00:00:00 2001 From: gwarser Date: Wed, 13 Mar 2024 08:17:10 +0100 Subject: [PATCH]
requires additional new lines around the content --- Deploying-uBlock-Origin.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Deploying-uBlock-Origin.md b/Deploying-uBlock-Origin.md index 0b6f94c..339b0d0 100644 --- a/Deploying-uBlock-Origin.md +++ b/Deploying-uBlock-Origin.md @@ -15,7 +15,8 @@ For **Firefox**, the setting can be configured in ["Native manifests"](https://d For **Chrome**, see .
Deprecated approach -- avoid if you can -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. Note that Chromium managed storage is not always ready on first browser start after change, and up to three restarts may be needed for settings to be applied to uBO, see #1547, #1608. + +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. Note that Chromium managed storage is not always ready on first browser start after change, and up to three restarts may be needed for settings to be applied to uBO, see [#1547](https://github.com/uBlockOrigin/uBlock-issues/issues/1547), [#1608](https://github.com/uBlockOrigin/uBlock-issues/issues/1608). The content of `adminSettings` is pretty straightforward: configure uBO as you wish for your users, then create a backup using the _"Backup to file"_ in the _Settings_ pane. Now open this backup file using a text editor, and remove all entries you do not want to overwrite while taking care to end up with a valid JSON file (mind trailing commas, etc.). All the entries left are the ones that will become overwritten on the user's side. @@ -30,6 +31,7 @@ For example, I created a backup file after having customized uBO and removed eve Now, this JSON object can be used as the value for `adminSettings`. For managing **Chrome** via **Google Workspace**, you can use [this apps-script](https://github.com/Landsil/apps_script--GoogleWorkspace-API/blob/master/uBlock_Origin_GSuite_policy.gs) to generate a policy JSON that will modify Trusted Sites for all designated users. +
### Modifying the list of stock assets