aboutsummaryrefslogtreecommitdiff
path: root/dev/debugging
diff options
context:
space:
mode:
authorBeatLink <beatlink@protonmail.com>2019-07-04 04:38:49 -0500
committerBeatLink <beatlink@protonmail.com>2019-07-04 04:38:49 -0500
commit1d255bde58e5fe834f060cc642632b8b09e1da4b (patch)
tree270459f453b40bab6b766057acd1a657ee6db814 /dev/debugging
parentReorganize build script (diff)
downloadlibrewolf-linux-1d255bde58e5fe834f060cc642632b8b09e1da4b.tar.gz
librewolf-linux-1d255bde58e5fe834f060cc642632b8b09e1da4b.tar.bz2
librewolf-linux-1d255bde58e5fe834f060cc642632b8b09e1da4b.zip
Implement Policies update
Add search engines. Add templates for extension management and web blocking
Diffstat (limited to 'dev/debugging')
-rw-r--r--dev/debugging/policies.examples.json47
1 files changed, 0 insertions, 47 deletions
diff --git a/dev/debugging/policies.examples.json b/dev/debugging/policies.examples.json
deleted file mode 100644
index 244ee24..0000000
--- a/dev/debugging/policies.examples.json
+++ /dev/null
@@ -1,47 +0,0 @@
-// 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)"]
- }
-}
bgstack15