mirror of
https://github.com/gorhill/uBlock.git
synced 2026-03-11 09:04:36 +00:00
Updated Deploying uBlock Origin: configuration (markdown)
parent
057e959335
commit
f56a45625e
1 changed files with 18 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue