Install UBlock Origin, set homepage, etc in Firefox via policies.json

This commit is contained in:
Adam Goldsmith 2020-02-03 23:19:48 -05:00
parent e38027803e
commit ba5c73b594
2 changed files with 33 additions and 0 deletions

27
firefox-policies.json Normal file
View File

@ -0,0 +1,27 @@
{
"policies": {
"DisablePocket": true,
"DontCheckDefaultBrowser": true,
"ExtensionSettings": {
"uBlock0@raymondhill.net": {
"installation_mode": "force_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
}
},
"Homepage": {
"URL": "https://claremontmakerspace.org"
},
"FirefoxHome": {
"Search": true,
"TopSites": false,
"Highlights": false,
"Pocket": false,
"Snippets": false
},
"OverrideFirstRunPage": "",
"OverridePostUpdatePage": "",
"SearchEngines": {
"Default": "DuckDuckGo"
}
}
}

View File

@ -23,6 +23,12 @@ Upgrade All:
- require:
- chocolateyBootstrap
Firefox Policies:
file.managed:
- name: 'C:\\Program Files\\Mozilla Firefox\distribution\policies.json'
- source: 'salt://firefox-policies.json'
- makedirs: true
# windowsUpdates:
# wua.uptodate:
# - drivers: true