From f56a45625e2ba7987d06a64aab1eb74d81f84d52 Mon Sep 17 00:00:00 2001 From: Raymond Hill Date: Sun, 27 Jun 2021 08:07:08 -0400 Subject: [PATCH] Updated Deploying uBlock Origin: configuration (markdown) --- Deploying-uBlock-Origin:-configuration.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Deploying-uBlock-Origin:-configuration.md b/Deploying-uBlock-Origin:-configuration.md index 6506b02..2e6c3a8 100644 --- a/Deploying-uBlock-Origin:-configuration.md +++ b/Deploying-uBlock-Origin:-configuration.md @@ -98,6 +98,24 @@ The properties in the `toAdd` branch will append to the already present local se The `trustedSiteDirectives` property is an array of string, each of which must resolve into a valid trusted-site directive, used to dictate where uBO must be disabled. +Here is an example of how adding `example.com` and `example.org` would look like for managed storage on Chromium/Linux: + + xxxxx@xxxxx:~$ cat /etc/chromium/policies/managed/ubo.json + { + "3rdparty": { + "extensions": { + "cjpalhdlnbpafiamejdnhcphjbkeiagm": { + "toAdd": { + "trustedSiteDirectives": [ + "example.com", + "example.org" + ] + } + } + } + } + } + The directives will be appended to the local ones. See documentation on how to create valid trusted-site directives: ["How to mark a web site as trusted"](./How-to-mark-a-web-site-as-trusted)