Skip to content

Instantly share code, notes, and snippets.

@vsubhash
Last active July 14, 2022 05:13
Show Gist options
  • Save vsubhash/be8845fd8bf009cf06bf900db50f45c9 to your computer and use it in GitHub Desktop.
Save vsubhash/be8845fd8bf009cf06bf900db50f45c9 to your computer and use it in GitHub Desktop.
V. Subhash's Firefox Annoyances Reduction Template (policies.json)
{
"policies": {
"Cookies": {
"ExpireAtSessionEnd": true,
"Behavior": "reject-foreign",
"BehaviorPrivateBrowsing": "reject-foreign"
},
"DisableAppUpdate": true,
"DisableBuiltinPDFViewer": true,
"DisableFirefoxStudies": true,
"FirefoxHome": {
"Search": false,
"TopSites": false,
"Highlights": false,
"Pocket": false,
"Snippets": false,
"Locked": true
},
"DisableFirefoxAccounts": true,
"DisablePocket": true,
"DisableTelemetry": true,
"DisplayMenuBar": "always",
"DNSOverHTTPS": {
"Enabled": false
},
"DontCheckDefaultBrowser": true,
"Homepage": {
"URL": "",
"Locked": true,
"StartPage": "none"
},
"ManualAppUpdateOnly": true,
"NetworkPrediction": false,
"NoDefaultBookmarks": true,
"OverrideFirstRunPage": "",
"OverridePostUpdatePage":"",
"PDFjs": { "Enabled": false },
"Permissions": {
"Camera": { "BlockNewRequests": true, "Locked": true },
"Microphone": { "BlockNewRequests": true, "Locked": true },
"Location": { "BlockNewRequests": true, "Locked": true },
"Notifications": { "BlockNewRequests": true, "Locked": true },
"VirtualReality": { "BlockNewRequests": true, "Locked": true },
"Autoplay": { "Default": "block-audio-video", "Locked": true }
},
"Preferences": {
"browser.safebrowsing.downloads.enabled": {
"Value": false,
"Status": "locked"
},
"browser.sessionstore.resume_from_crash": {
"Value": false,
"Status": "locked"
},
"browser.tabs.closeWindowWithLastTab": {
"Value": false,
"Status": "locked"
},
"dom.event.clipboardevents.enabled": {
"Value": false,
"Status": "locked"
},
"dom.event.contextmenu.enabled": {
"Value": false,
"Status": "locked"
},
"browser.search.suggest.enabled": {
"Value": false,
"Status": "locked"
},
"media.mediasource.enabled": {
"Value": false,
"Status": "locked"
}
},
"NewTabPage": false,
"SanitizeOnShutdown": {
"Cache": true,
"Cookies": true,
"Downloads": true,
"History": true,
"Sessions": true,
"OfflineApps": true
},
"SearchBar": "separate",
"SearchSuggestEnabled": false,
"UserMessaging": {
"WhatsNew": false,
"ExtensionRecommendations": false,
"FeatureRecommendations": false,
"UrlbarInterventions": false,
"SkipOnboarding": false,
"MoreFromMozilla": false
},
"comments": {
"c":" ╒═════════════════════════════════════════════════════════════╕",
"o":" | Name: V. Subhash's Firefox Annoyances Reduction Template |",
"m":" | Version: 2022.06.22 |",
"m":" | Usage: Copy this policies.json file to |",
"e":" | /etc/firefox/policies directory and then create |",
"n":" | your Firefox installations and profiles |",
"t":" ╞═════════════════════════════════════════════════════════════╡",
"s":" | Website: http://www.VSubhash.com |",
"e":" ╘═════════════════════════════════════════════════════════════╛"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment