X-Git-Url: https://git.p6c8.net/policy-templates.git/blobdiff_plain/02a62d15c5695dae5d9a66ce5b8f590e4e713f99..1ded7919669d2b6da6f672bbff7525b6ac7b97ea:/README.md diff --git a/README.md b/README.md index ada3d52..9938b1a 100644 --- a/README.md +++ b/README.md @@ -351,12 +351,12 @@ This policy sets domains for which pop-up windows are allowed. It also set the d } } ``` -### InstallAddons +### InstallAddonsPermission This policy sets domains that can install extensions, as well as the default behavior. ``` { "policies": { - "InstallAddons": { + "InstallAddonsPermission": { "Allow": ["http://example.org/", "http://example.edu/"] "Default": [true|false], /* If this is set to false, add-ons cannot be installed by the user */ @@ -454,3 +454,13 @@ This policy can be used to determine if the search bar is separate or combined w } } ``` +### WebsiteFilter +Blocks websites from being visited. The parameters take an array of Match Patterns, as documented in https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Match_patterns. Only http/https accesses are supported at the moment. The arrays are limited to 1000 entries each. +``` +{ + "policies": { + "Block": [""], + "Exceptions": ["http://example.org/*"] + } +} +```