diff options
author | BeatLink <beatlink@protonmail.com> | 2019-07-03 20:34:59 -0500 |
---|---|---|
committer | BeatLink <beatlink@protonmail.com> | 2019-07-03 20:34:59 -0500 |
commit | 0c329e115fa24c1dd87f9f045416916da950d933 (patch) | |
tree | 2a09ce12ccf2be8bdad8d8db50dc11585117be69 /dev/debugging/policies.examples.json | |
parent | Revert last commit (diff) | |
download | librewolf-linux-0c329e115fa24c1dd87f9f045416916da950d933.tar.gz librewolf-linux-0c329e115fa24c1dd87f9f045416916da950d933.tar.bz2 librewolf-linux-0c329e115fa24c1dd87f9f045416916da950d933.zip |
Rename archive folder to dev
Diffstat (limited to 'dev/debugging/policies.examples.json')
-rw-r--r-- | dev/debugging/policies.examples.json | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/dev/debugging/policies.examples.json b/dev/debugging/policies.examples.json new file mode 100644 index 0000000..244ee24 --- /dev/null +++ b/dev/debugging/policies.examples.json @@ -0,0 +1,47 @@ +// https://github.com/mozilla/policy-templates/blob/master/README.md + +// Extensions + +// This policy controls the installation, uninstallation and locking of extensions. +// Locked extensions cannot be disabled or uninstalled. For Install, you specify a +// list of URLs or paths. For Uninstall and Locked, you specify extension IDs. + + +"policies": { + "Extensions": { + "Install": ["https://addons.mozilla.org/firefox/downloads/somefile.xpi", "//path/to/xpi"], + "Uninstall": ["addon_id@mozilla.org"], + "Locked": ["addon_id@mozilla.org"] + } +} + +"policies": { + "WebsiteFilter": { + "Block": ["<all_urls>"], + "Exceptions": ["http://example.org/*"] + } +} + +"policies": { + "SanitizeOnShutdown": [true|false] +} + +// Does not seems to work to remove engines +"policies": { + "SearchEngines": { + "Add": [ + { + "Name": "", + "URLTemplate": "URL including {searchTerms} to substitute for the terms", + "Method": ["GET", "POST"], + "IconURL": "URL to icon", + "Alias": "Alias that can be used to access the engine", + "Description": "Description", + "SuggestURLTemplate": "URL for suggestions using {searchTerms}" + } + ], + "Default": "Name of engine", + "PreventInstalls": [true|false], + "Remove": ["Twitter", "Wikipedia (en)"] + } +} |