Skip to content

Instantly share code, notes, and snippets.

@spirillen
Created September 12, 2023 23:52
Show Gist options
  • Save spirillen/711285f80cb739a43cd6a13293114a60 to your computer and use it in GitHub Desktop.
Save spirillen/711285f80cb739a43cd6a13293114a60 to your computer and use it in GitHub Desktop.
Example on a Firefox ESR setting files in relation to https://infosec.exchange/@iampytest1/111042104329673915
{
"policies": {
"AppAutoUpdate": true,
"AutoLaunchProtocolsFromOrigins": [
{
"protocol": "http",
"allowed_origins": [
"http://example.org"
]
}
],
"AllowedDomainsForApps": "invalid.test",
"BackgroundAppUpdate": true,
"BlockAboutAddons": false,
"BlockAboutProfiles": false,
"BlockAboutSupport": false,
"CaptivePortal": false,
"Cookies": {
"Allow": [
"http://example.org",
"https://mypdns.org"
],
"AllowSession": [
"http://example.org",
"https://mypdns.org"
],
"Block": [
"https://google.com/"
],
"ExpireAtSessionEnd": true,
"Locked": false,
"Behavior": "reject-tracker-and-partition-foreign",
"BehaviorPrivateBrowsing": "reject-tracker-and-partition-foreign"
},
"DefaultDownloadDirectory": "${HOME}/Downloads",
"DisableDefaultBrowserAgent": true,
"DisableFeedbackCommands": true,
"DisableFirefoxAccounts": false,
"DisableFirefoxScreenshots": false,
"DisableFirefoxStudies": true,
"DisableMasterPasswordCreation": true,
"DisablePasswordReveal": false,
"DisablePocket": true,
"DisablePrivateBrowsing": false,
"DisableSafeMode": false,
"DisableSecurityBypass": {
"InvalidCertificate": false,
"SafeBrowsing": false
},
"DisableSetDesktopBackground": true,
"DisableSystemAddonUpdate": false,
"DisableTelemetry": true,
"DisplayBookmarksToolbar": false,
"DisplayMenuBar": "default-off",
"DNSOverHTTPS": {
"Enabled": false,
"ProviderURL": "https://dns10.quad9.net/dns-query",
"Locked": false,
"ExcludedDomains": [
"http://example.org",
"https://mypdns.org"
]
},
"DontCheckDefaultBrowser": true,
"EnableTrackingProtection": {
"Value": true,
"Locked": false,
"Cryptomining": true,
"Fingerprinting": true
},
"Extensions": {
"Uninstall": [
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]",
"[email protected]"
]
},
"ExtensionSettings": {
"@canvas-shadow": {
"installation_mode": "force_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/no-canvas-fingerprinting/latest.xpi",
"allowed_types": [
"extension"
]
},
"{73a6fe31-595d-460b-a920-fcc0f8843232}": {
"installation_mode": "normal_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/noscript/latest.xpi",
"allowed_types": [
"extension"
]
},
"[email protected]": {
"installation_mode": "normal_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/ublock-origin/latest.xpi"
},
"[email protected]": {
"installation_mode": "normal_installed",
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/cookie-autodelete/latest.xpi"
},
"jid1-BoFifL9Vbdl2zQ@jetpack": {
"installation_mode": "normal_installed",
"allowed_types": [
"extension"
],
"install_url": "https://addons.mozilla.org/firefox/downloads/latest/decentraleyes/latest.xpi"
},
"[email protected]": {
"installation_mode": "blocked"
},
"[email protected]": {
"installation_mode": "blocked"
},
"[email protected]": {
"installation_mode": "blocked"
},
"[email protected]": {
"installation_mode": "blocked"
},
"[email protected]": {
"installation_mode": "blocked"
},
"[email protected]": {
"blocked_install_message": "No thanks, we like privacy.",
"install_sources": [
"https://addons.mozilla.org/*"
],
"installation_mode": "blocked",
"allowed_types": [
"extension"
]
},
"[email protected]": {
"blocked_install_message": "No thanks, we like privacy.",
"install_sources": [
"https://addons.mozilla.org/*"
],
"installation_mode": "blocked",
"allowed_types": [
"extension"
]
},
"[email protected]": {
"blocked_install_message": "No thanks, we like privacy.",
"install_sources": [
"https://addons.mozilla.org/*"
],
"installation_mode": "blocked",
"allowed_types": [
"extension"
]
},
"[email protected]": {
"blocked_install_message": "No thanks Elon Musk.",
"install_sources": [
"https://addons.mozilla.org/*"
],
"installation_mode": "blocked",
"allowed_types": [
"extension"
]
},
"[email protected]": {
"blocked_install_message": "No thanks, we like privacy.",
"install_sources": [
"https://addons.mozilla.org/*"
],
"installation_mode": "blocked",
"allowed_types": [
"extension"
]
}
},
"ExtensionUpdate": true,
"FirefoxHome": {
"Search": true,
"TopSites": false,
"SponsoredTopSites": false,
"Highlights": false,
"Pocket": false,
"SponsoredPocket": false,
"Snippets": false,
"Locked": true
},
"InstallAddonsPermission": {
"Allow": [
"https://mypdns.org",
"https://example.org"
],
"Default": true
},
"GoToIntranetSiteForSingleWordEntryInAddressBar": true,
"HardwareAcceleration": false,
"Homepage": {
"URL": "https://mypdns.org/",
"Locked": false,
"Additional": [
"https://mypdns.org/",
"http://example.org/"
],
"StartPage": "previous-session"
},
"EncryptedMediaExtensions": {
"Enabled": false,
"Locked": true
},
"ManualAppUpdateOnly": false,
"NetworkPrediction": false,
"NoDefaultBookmarks": false,
"OfferToSaveLogins": false,
"OverrideFirstRunPage": "http://example.org",
"OverridePostUpdatePage": "http://example.org",
"PasswordManagerEnabled": false,
"PDFjs": {
"Enabled": false,
"EnablePermissions": false
},
"Permissions": {
"Camera": {
"BlockNewRequests": true,
"Locked": false
},
"Microphone": {
"BlockNewRequests": true,
"Locked": false
},
"Location": {
"Allow": [
"https://example.org"
],
"BlockNewRequests": true,
"Locked": false
},
"Notifications": {
"Allow": [
"http://example.org",
"https://mypdns.org"
],
"BlockNewRequests": true,
"Locked": false
},
"Autoplay": {
"Allow": [
"http://example.org",
"https://mypdns.org"
],
"Default": "block-audio-video",
"Locked": false
}
},
"PictureInPicture": {
"Enabled": false,
"Locked": true
},
"PopupBlocking": {
"Default": false,
"Locked": true,
"Allow": [
"http://example.org",
"https://mypdns.org"
]
},
"Preferences": {
"accessibility.force_disabled": {
"Value": 1,
"Status": "default"
},
"browser.tabs.warnOnClose": {
"Value": false,
"Status": "locked"
}
},
"PrimaryPassword": false,
"PromptForDownloadLocation": true,
"RequestedLocales": [
"en-GB"
],
"SanitizeOnShutdown": {
"Cache": true,
"Cookies": true,
"Downloads": true,
"FormData": true,
"History": false,
"Sessions": false,
"SiteSettings": false,
"OfflineApps": true,
"Locked": false
},
"SearchBar": "unified",
"SearchEngines": {
"Default": "DuckDuckGo",
"Add": [
{
"Name": "My Privacy DNS",
"URLTemplate": "https://mypdns.org/search?scope=issues&search={searchTerms}",
"Method": "POST",
"IconURL": "https://mypdns.org/favicon.ico",
"Alias": "@m",
"Description": "My Privacy DNS Domain searcher",
"PostData": "name=value&q={searchTerms}"
}
],
"Remove": [
"Amazon.com",
"Amazon.de",
"Bing",
"eBay",
"Google",
"Twitter",
"Wikipedia (de)",
"Wikipedia (en)"
]
},
"SearchSuggestEnabled": false,
"SupportMenu": {
"Title": "Support Menu",
"URL": "https://example.org",
"AccessKey": "S"
},
"UserMessaging": {
"WhatsNew": true,
"ExtensionRecommendations": true,
"FeatureRecommendations": true,
"UrlbarInterventions": true,
"SkipOnboarding": true,
"MoreFromMozilla": true
},
"WebsiteFilter": {
"Block": [
"*://google.*/",
"*://*.google.*/"
],
"Exceptions": [
"https://mypdns.org/",
"https://*.mypdns.org/"
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment