1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-09-28 21:57:12 +02:00

Fix links in <details> (markdown doesn't seem to work properly in <details>)

iam-py-test 2024-03-12 20:27:15 -04:00
parent cb156d70dd
commit 1be956717d

@ -15,7 +15,7 @@ For **Firefox**, the setting can be configured in ["Native manifests"](https://d
For **Chrome**, see <https://www.chromium.org/administrators/configuring-policy-for-extensions/>. For **Chrome**, see <https://www.chromium.org/administrators/configuring-policy-for-extensions/>.
<details><summary>Deprecated approach -- avoid if you can</summary> <details><summary>Deprecated approach -- avoid if you can</summary>
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). 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 <a href="https://github.com/uBlockOrigin/uBlock-issues/issues/1547">#1547</a>, <a href="https://github.com/uBlockOrigin/uBlock-issues/issues/1608">#1608</a>.
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. 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.