Implement Policies update
Add search engines. Add templates for extension management and web blocking
This commit is contained in:
parent
8a1d57ca5f
commit
1d255bde58
2 changed files with 85 additions and 65 deletions
|
|
@ -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)"]
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -3,21 +3,88 @@
|
||||||
"AppUpdateURL": "",
|
"AppUpdateURL": "",
|
||||||
"DisableAppUpdate": true,
|
"DisableAppUpdate": true,
|
||||||
"OverridePostUpdatePage": "",
|
"OverridePostUpdatePage": "",
|
||||||
|
|
||||||
"DisableSystemAddonUpdate": true,
|
"DisableSystemAddonUpdate": true,
|
||||||
|
|
||||||
"DisableFirefoxAccounts": true,
|
"DisableFirefoxAccounts": true,
|
||||||
"DisableProfileImport": false,
|
"DisableProfileImport": false,
|
||||||
"DisableMasterPasswordCreation": true,
|
"DisableMasterPasswordCreation": true,
|
||||||
|
|
||||||
"DisableFirefoxStudies": true,
|
"DisableFirefoxStudies": true,
|
||||||
"DisableTelemetry": true,
|
"DisableTelemetry": true,
|
||||||
"DisableFeedbackCommands": true,
|
"DisableFeedbackCommands": true,
|
||||||
|
|
||||||
"DisablePocket": true,
|
"DisablePocket": true,
|
||||||
|
|
||||||
"DisableSetDesktopBackground": false,
|
"DisableSetDesktopBackground": false,
|
||||||
|
"DisableDeveloperTools": true,
|
||||||
|
|
||||||
"DisableDeveloperTools": true
|
"WebsiteFilter": {
|
||||||
|
"Block": [""],
|
||||||
|
"Exceptions": [""]
|
||||||
|
},
|
||||||
|
|
||||||
|
"Extensions": {
|
||||||
|
"Install": ["https://addons.mozilla.org/firefox/downloads/file/3027669/ublock_origin-1.20.0-an+fx.xpi"],
|
||||||
|
"Uninstall": [""],
|
||||||
|
"Locked": [""]
|
||||||
|
},
|
||||||
|
|
||||||
|
"SearchEngines": {
|
||||||
|
"PreventInstalls": false,
|
||||||
|
"Default": "DuckDuckGo",
|
||||||
|
"Remove": ["Google", "Bing", "Amazon.com", "eBay", "Twitter"],
|
||||||
|
"Add": [
|
||||||
|
{
|
||||||
|
"Name": "Searx",
|
||||||
|
"Alias": "",
|
||||||
|
"Description": "A privacy-respecting, hackable metasearch engine",
|
||||||
|
"URLTemplate": "https://www.searx.me/?q={searchTerms}",
|
||||||
|
"SuggestURLTemplate": "https://www.searx.me/?q={searchTerms}",
|
||||||
|
"IconURL": "https://www.searx.me/static/themes/oscar/img/favicon.png",
|
||||||
|
"Method": "GET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "StartPage",
|
||||||
|
"Alias": "",
|
||||||
|
"Description": "The world's most private search engine",
|
||||||
|
"URLTemplate": "https://www.startpage.com/do/search?query={searchTerms}",
|
||||||
|
"SuggestURLTemplate": "https://www.startpage.com/do/search?query={searchTerms}",
|
||||||
|
"IconURL": "https://www.startpage.com/assets/images/logo-180x180.png",
|
||||||
|
"Method": "GET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "Jive Search",
|
||||||
|
"Alias": "",
|
||||||
|
"Description": "A search engine that doesn't track you.",
|
||||||
|
"URLTemplate": "https://jivesearch.com/?q={searchTerms}",
|
||||||
|
"SuggestURLTemplate": "https://jivesearch.com/?q={searchTerms}",
|
||||||
|
"IconURL": "https://jivesearch.com/static/icons/favicon.ico",
|
||||||
|
"Method": "GET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "Quant",
|
||||||
|
"Alias": "",
|
||||||
|
"Description": "The search engine that respects your privacy.",
|
||||||
|
"URLTemplate": "https://www.qwant.com/?q={searchTerms}",
|
||||||
|
"SuggestURLTemplate": "https://www.qwant.com/?q={searchTerms}",
|
||||||
|
"IconURL": "https://www.qwant.com/favicon-196.png",
|
||||||
|
"Method": "GET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "MetaGer",
|
||||||
|
"Alias": "",
|
||||||
|
"Description": "MetaGer: Privacy Protected Search & Find",
|
||||||
|
"URLTemplate": "https://metager.org/meta/meta.ger3?eingabe={searchTerms}",
|
||||||
|
"SuggestURLTemplate": "https://metager.org/meta/meta.ger3?eingabe={searchTerms}",
|
||||||
|
"IconURL": "https://metager.org/favicon.ico",
|
||||||
|
"Method": "GET"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"Name": "Invidious",
|
||||||
|
"Alias": "",
|
||||||
|
"Description": "Invidious is an alternative front-end to YouTube",
|
||||||
|
"URLTemplate": "https://invidio.us/search?q={searchTerms}",
|
||||||
|
"SuggestURLTemplate": "https://invidio.us/search?q={searchTerms}",
|
||||||
|
"IconURL": "https://invidio.us/favicon-32x32.png",
|
||||||
|
"Method": "GET"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue