Compare commits
	
		
			66 Commits
		
	
	
	| Author | SHA1 | Date | 
|---|---|---|
| 
							
							
								
								 | 
						b35829446f | |
| 
							
							
								
								 | 
						4cd6047df8 | |
| 
							
							
								
								 | 
						04ba5d2f8a | |
| 
							
							
								
								 | 
						c651fd6f8d | |
| 
							
							
								
								 | 
						7be51458ca | |
| 
							
							
								
								 | 
						c54db25da0 | |
| 
							
							
								
								 | 
						9d876d46d1 | |
| 
							
							
								
								 | 
						ea3378cb88 | |
| 
							
							
								
								 | 
						7f54d6c87f | |
| 
							
							
								
								 | 
						43a90594c4 | |
| 
							
							
								
								 | 
						1d242302f9 | |
| 
							
							
								
								 | 
						3e911c7b7c | |
| 
							
							
								
								 | 
						92279a80d3 | |
| 
							
							
								
								 | 
						cf73e39314 | |
| 
							
							
								
								 | 
						4dac1588a4 | |
| 
							
							
								
								 | 
						45ad8b7e95 | |
| 
							
							
								
								 | 
						efd61f7450 | |
| 
							
							
								
								 | 
						9ddd4e642e | |
| 
							
							
								
								 | 
						9cfe75ceb9 | |
| 
							
							
								
								 | 
						22d60e4d31 | |
| 
							
							
								
								 | 
						da17abbf02 | |
| 
							
							
								
								 | 
						400e88dca8 | |
| 
							
							
								
								 | 
						50aadf222d | |
| 
							
							
								
								 | 
						985ed0065a | |
| 
							
							
								
								 | 
						e2f472f0ca | |
| 
							
							
								
								 | 
						15f8634e55 | |
| 
							
							
								
								 | 
						980b94aaee | |
| 
							
							
								
								 | 
						8b24ac1e2b | |
| 
							
							
								
								 | 
						ee2c86c79a | |
| 
							
							
								
								 | 
						d4302a71bf | |
| 
							
							
								
								 | 
						06b46f98eb | |
| 
							
							
								
								 | 
						07358a6115 | |
| 
							
							
								
								 | 
						6b1e28bded | |
| 
							
							
								
								 | 
						7e2d2aed56 | |
| 
							
							
								
								 | 
						b915be1da1 | |
| 
							
							
								
								 | 
						4858cd671c | |
| 
							
							
								
								 | 
						0376240d5a | |
| 
							
							
								
								 | 
						c305234e74 | |
| 
							
							
								
								 | 
						474604586d | |
| 
							
							
								
								 | 
						b7287f7aaa | |
| 
							
							
								
								 | 
						56d420153c | |
| 
							
							
								
								 | 
						c5aae7d77b | |
| 
							
							
								
								 | 
						756e989195 | |
| 
							
							
								
								 | 
						c3b0fded72 | |
| 
							
							
								
								 | 
						474e81a1e3 | |
| 
							
							
								
								 | 
						dab1523e48 | |
| 
							
							
								
								 | 
						1145764d61 | |
| 
							
							
								
								 | 
						fbad6764d4 | |
| 
							
							
								
								 | 
						0f46b2298b | |
| 
							
							
								
								 | 
						d0653012f0 | |
| 
							
							
								
								 | 
						e2f3726514 | |
| 
							
							
								
								 | 
						cf4a8f067e | |
| 
							
							
								
								 | 
						f3b5c401e8 | |
| 
							
							
								
								 | 
						53ba71d810 | |
| 
							
							
								
								 | 
						5277e45557 | |
| 
							
							
								
								 | 
						8f6c07bd34 | |
| 
							
							
								
								 | 
						b55d29a98f | |
| 
							
							
								
								 | 
						0d32d82dc3 | |
| 
							
							
								
								 | 
						c777ff4178 | |
| 
							
							
								
								 | 
						96119112a2 | |
| 
							
							
								
								 | 
						78856791b0 | |
| 
							
							
								
								 | 
						30530e81b0 | |
| 
							
							
								
								 | 
						bfed908469 | |
| 
							
							
								
								 | 
						11c957ea65 | |
| 
							
							
								
								 | 
						099b001a83 | |
| 
							
							
								
								 | 
						718708d926 | 
							
								
								
									
										59
									
								
								README.md
								
								
								
								
							
							
						
						
									
										59
									
								
								README.md
								
								
								
								
							| 
						 | 
				
			
			@ -1,16 +1,57 @@
 | 
			
		|||
# mozilla.cfg | Firefox
 | 
			
		||||
## Best Use:
 | 
			
		||||
 | 
			
		||||
The files contained here are used to configure Firefox in the safest and fastest way possible.
 | 
			
		||||
To realize this project I was inspirated by various authors of `user.js` and I've implemented some preferences of mine.
 | 
			
		||||
These files has been designed exclusively for Firefox Desktop.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## WARNING:
 | 
			
		||||
 | 
			
		||||
This repo has been archived due to insecurities flaws that every Gecko View based browsers have.
 | 
			
		||||
WE CAN'T HARDEN AN INSECURE BROWSER, IT'S AN ILLUSION AND YOU CAN STAND OUT FROM OTHER USERS TALKING ABOUT FINGERPRINT.
 | 
			
		||||
## Settings Protection:
 | 
			
		||||
 | 
			
		||||
https://grapheneos.org/usage#web-browsing
 | 
			
		||||
Important settings are enforced/locked within `mozilla.cfg`, those settings cannot be changed by addons/updates/Firefox or unwanted/accidental manipulation; To change those settings you can easily do it by editing `mozilla.cfg`.
 | 
			
		||||
 | 
			
		||||
https://madaidans-insecurities.github.io/security-privacy-advice.html#browser
 | 
			
		||||
 | 
			
		||||
https://madaidans-insecurities.github.io/firefox-chromium.html
 | 
			
		||||
 | 
			
		||||
## Installation:
 | 
			
		||||
 | 
			
		||||
### Windows
 | 
			
		||||
 | 
			
		||||
- Download and install the last version of Firefox release
 | 
			
		||||
- Clone or download zip file and extract it
 | 
			
		||||
- Locate Firefox's installation directory (where the firefox.exe is located) `C:\Program Files\Mozilla Firefox\` or `C:\Program Files (x86)\Mozilla Firefox\`
 | 
			
		||||
- Copy the files contained in `config` folder to the install directory
 | 
			
		||||
- Start Firefox and test if config was applied browsing to `about:config`.
 | 
			
		||||
 | 
			
		||||
### Linux
 | 
			
		||||
 | 
			
		||||
- Download and extract the last version of Firefox release
 | 
			
		||||
- Clone or download zip file and extract it
 | 
			
		||||
- Locate Firefox's installation directory `/usr/lib/firefox/`
 | 
			
		||||
- Copy the files contained in `config` folder to the install directory
 | 
			
		||||
- You can use directly Firefox by running `firefox/firefox`
 | 
			
		||||
- You can as well create a shortcut to `firefox/firefox` to open Firefox easily
 | 
			
		||||
- Start Firefox and test if config was applied browsing to `about:config`.
 | 
			
		||||
 | 
			
		||||
### Mac
 | 
			
		||||
 | 
			
		||||
- Download and install the last version of Firefox
 | 
			
		||||
- Clone or download zip file and extract it
 | 
			
		||||
- Locate Firefox's installation directory `Applications/Firefox.app/Contents/Resources/`
 | 
			
		||||
- Copy the files contained in `config` folder to the install directory
 | 
			
		||||
- Start Firefox and test if config was applied browsing to `about:config`.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
### Uninstall:
 | 
			
		||||
 | 
			
		||||
- To uninstall, just remove the files you added to your Firefox's install directory; then restart Firefox.
 | 
			
		||||
 | 
			
		||||
### BUGS:
 | 
			
		||||
 | 
			
		||||
- Enabling a string with the value defaultPref("browser.contentblocking.category", "strict/standard/custom"); doesn't work and breaks TCP.
 | 
			
		||||
Nevertheless, by using LockPref instead works. Anyway, I prefer not locking this, for example if you want to block all cookies.
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
## Thanks:
 | 
			
		||||
 | 
			
		||||
* [arkenfox](https://github.com/arkenfox/user.js) - The mayority content of this mozilla.cfg.
 | 
			
		||||
* [QUINDECIM](https://git.nixnet.services/quindecim/mozilla.cfg) - Original mozilla.cfg and design.
 | 
			
		||||
* [Librewolf](https://librewolf.net) - Some strings.
 | 
			
		||||
* [celenity](https://codeberg.org/celenity/Phoenix) - More strings.
 | 
			
		||||
| 
						 | 
				
			
			@ -1,20 +1,16 @@
 | 
			
		|||
//
 | 
			
		||||
/**********************************************************************************
 | 
			
		||||
 * local-settings.js | Firefox                                                    *
 | 
			
		||||
 *                                                                                *
 | 
			
		||||
 * https://github.com/quindecim/mozilla.cfg                                       *
 | 
			
		||||
 *********************************************************************************/
 | 
			
		||||
// ********************************************************************************
 | 
			
		||||
//
 | 
			
		||||
// Author    : quindecim    : https://github.com/quindecim/
 | 
			
		||||
// local-settings.js | Firefox
 | 
			
		||||
//
 | 
			
		||||
//           
 | 
			
		||||
// License   : https://github.com/quindecim/mozilla.cfg/blob/master/LICENSE.txt    
 | 
			
		||||
// 
 | 
			
		||||
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
 | 
			
		||||
// Section : Startup
 | 
			
		||||
// ********************************************************************************
 | 
			
		||||
//
 | 
			
		||||
// Startup
 | 
			
		||||
// >>>>>>>>>>>>>>>>>>>>>
 | 
			
		||||
// Pref : Load the config. file
 | 
			
		||||
// Load the config. file
 | 
			
		||||
pref("general.config.filename", "mozilla.cfg");
 | 
			
		||||
// -------------------------------------
 | 
			
		||||
// Pref : Do not obscure the content with ROT-13
 | 
			
		||||
// Do not obscure the content with ROT-13
 | 
			
		||||
pref("general.config.obscure_value", 0);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,188 +1,54 @@
 | 
			
		|||
{
 | 
			
		||||
	"policies": {
 | 
			
		||||
 | 
			
		||||
  "policies": {
 | 
			
		||||
    
 | 
			
		||||
    "AppAutoUpdate": false,
 | 
			
		||||
 | 
			
		||||
    "CaptivePortal": false,
 | 
			
		||||
 | 
			
		||||
    "Certificates": {
 | 
			
		||||
      "ImportEnterpriseRoots": false
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "Cookies": {
 | 
			
		||||
      "Allow": ["http://example.org/"],
 | 
			
		||||
      "Block": ["http://example.edu/"],
 | 
			
		||||
      "ExpireAtSessionEnd": true,
 | 
			
		||||
      "Locked": false
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "DisableSetDesktopBackground": true,
 | 
			
		||||
 | 
			
		||||
    "DisableMasterPasswordCreation": true,
 | 
			
		||||
 | 
			
		||||
    "DisabledCiphers": {
 | 
			
		||||
      "TLS_DHE_RSA_WITH_AES_128_CBC_SHA": false,
 | 
			
		||||
      "TLS_DHE_RSA_WITH_AES_256_CBC_SHA": false,
 | 
			
		||||
      "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA": false,
 | 
			
		||||
      "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA": false,
 | 
			
		||||
      "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256": true,
 | 
			
		||||
      "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256": true,
 | 
			
		||||
      "TLS_RSA_WITH_AES_128_CBC_SHA": false,
 | 
			
		||||
      "TLS_RSA_WITH_AES_256_CBC_SHA": false,
 | 
			
		||||
      "TLS_RSA_WITH_3DES_EDE_CBC_SHA": false,
 | 
			
		||||
      "TLS_RSA_WITH_AES_128_GCM_SHA256": true,
 | 
			
		||||
      "TLS_RSA_WITH_AES_256_GCM_SHA384": true
 | 
			
		||||
    },
 | 
			
		||||
    "DisableAppUpdate": false,
 | 
			
		||||
 | 
			
		||||
    "DisableDefaultBrowserAgent": true,
 | 
			
		||||
 | 
			
		||||
    "DisableFeedbackCommands": true,
 | 
			
		||||
 | 
			
		||||
    "DisableFirefoxScreenshots": true,
 | 
			
		||||
 | 
			
		||||
    "DisableFirefoxAccounts": true,
 | 
			
		||||
 | 
			
		||||
    "DisableFirefoxStudies": true,
 | 
			
		||||
 | 
			
		||||
    "DisablePasswordReveal": true,
 | 
			
		||||
 | 
			
		||||
    "DisableFormHistory": true,
 | 
			
		||||
 | 
			
		||||
    "DisablePocket": true,
 | 
			
		||||
 | 
			
		||||
    "DisableProfileImport": true,
 | 
			
		||||
 | 
			
		||||
    "DisableProfileRefresh": true,
 | 
			
		||||
 | 
			
		||||
    "DisableSafeMode": true,
 | 
			
		||||
 | 
			
		||||
    "DisableSecurityBypass": {
 | 
			
		||||
      "InvalidCertificate": true,
 | 
			
		||||
      "SafeBrowsing": true
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "DisableSystemAddonUpdate": false,
 | 
			
		||||
 | 
			
		||||
    "DisableTelemetry": true,
 | 
			
		||||
 | 
			
		||||
    "DontCheckDefaultBrowser": true,
 | 
			
		||||
 | 
			
		||||
    "EnableTrackingProtection": {
 | 
			
		||||
      "Value": false,
 | 
			
		||||
      "Locked": true,
 | 
			
		||||
      "Cryptomining": false,
 | 
			
		||||
      "Fingerprinting": false
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "EncryptedMediaExtensions": {
 | 
			
		||||
      "Enabled": false,
 | 
			
		||||
      "Locked": true
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "Extensions": {
 | 
			
		||||
      "Uninstall": ["startpage@search.mozilla.org", "twitter@search.mozilla.org", "yahoo@search.mozilla.org"]
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "ExtensionUpdate": true,
 | 
			
		||||
 | 
			
		||||
    "FlashPlugin": {
 | 
			
		||||
      "Allow": ["http://example.org/"],
 | 
			
		||||
      "Block": ["http://example.edu/"],
 | 
			
		||||
      "Default": false,
 | 
			
		||||
      "Locked": true
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "FirefoxHome": {
 | 
			
		||||
      "Search": false,
 | 
			
		||||
      "TopSites": false,
 | 
			
		||||
      "Highlights": false,
 | 
			
		||||
      "Pocket": false,
 | 
			
		||||
      "Snippets": false,
 | 
			
		||||
      "Locked": true
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "Homepage": {
 | 
			
		||||
      "URL": "about:blank",
 | 
			
		||||
      "Locked": true,
 | 
			
		||||
      "StartPage": "none"
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "NetworkPrediction": false,
 | 
			
		||||
 | 
			
		||||
    "NewTabPage": false,
 | 
			
		||||
 | 
			
		||||
    "NoDefaultBookmarks": true,
 | 
			
		||||
 | 
			
		||||
    "OfferToSaveLogins": false,
 | 
			
		||||
 | 
			
		||||
    "OfferToSaveLoginsDefault": false,
 | 
			
		||||
 | 
			
		||||
    "OverrideFirstRunPage": "",
 | 
			
		||||
    "SearchSuggestEnabled": false,
 | 
			
		||||
 | 
			
		||||
    "OverridePostUpdatePage": "",
 | 
			
		||||
 | 
			
		||||
    "PasswordManagerEnabled": false,
 | 
			
		||||
 | 
			
		||||
    "PDFjs": {
 | 
			
		||||
      "Enabled": false,
 | 
			
		||||
      "EnablePermissions": false
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "Permissions": {
 | 
			
		||||
      "Camera": {
 | 
			
		||||
        "Allow": ["https://example.org"],
 | 
			
		||||
        "Block": ["https://example.edu"],
 | 
			
		||||
        "BlockNewRequests": true,
 | 
			
		||||
        "Locked": true
 | 
			
		||||
      },
 | 
			
		||||
      "Microphone": {
 | 
			
		||||
        "Allow": ["https://example.org"],
 | 
			
		||||
        "Block": ["https://example.edu"],
 | 
			
		||||
        "BlockNewRequests": true,
 | 
			
		||||
        "Locked": true
 | 
			
		||||
      },
 | 
			
		||||
      "Location": {
 | 
			
		||||
        "Allow": ["https://example.org"],
 | 
			
		||||
        "Block": ["https://example.edu"],
 | 
			
		||||
        "BlockNewRequests": true,
 | 
			
		||||
        "Locked": true
 | 
			
		||||
      },
 | 
			
		||||
      "Notifications": {
 | 
			
		||||
        "Allow": ["https://example.org"],
 | 
			
		||||
        "Block": ["https://example.edu"],
 | 
			
		||||
        "BlockNewRequests": true,
 | 
			
		||||
        "Locked": true
 | 
			
		||||
      },
 | 
			
		||||
      "Autoplay": {
 | 
			
		||||
        "Allow": ["https://example.org"],
 | 
			
		||||
        "Block": ["https://example.edu"],
 | 
			
		||||
        "Default": "block-audio-video",
 | 
			
		||||
        "Locked": true
 | 
			
		||||
      }
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "PictureInPicture": false,
 | 
			
		||||
 | 
			
		||||
    "PopupBlocking": {
 | 
			
		||||
      "Allow": ["http://example.org/",
 | 
			
		||||
                "http://example.edu/"],
 | 
			
		||||
      "Default": true,
 | 
			
		||||
    "FirefoxHome": {
 | 
			
		||||
      "SponsoredTopSites": false,
 | 
			
		||||
      "Pocket": false,
 | 
			
		||||
      "SponsoredPocket": false,
 | 
			
		||||
      "Snippets": false,
 | 
			
		||||
      "Locked": true
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "SanitizeOnShutdown": true,
 | 
			
		||||
 | 
			
		||||
    "SearchEngines": {
 | 
			
		||||
	    	"PreventInstalls": false,
 | 
			
		||||
	    	"Remove": ["Amazon.com", "Bing", "eBay", "Google", "Twitter"]
 | 
			
		||||
    "FirefoxSuggest": {
 | 
			
		||||
      "WebSuggestions": false,
 | 
			
		||||
      "SponsoredSuggestions": false,
 | 
			
		||||
      "ImproveSuggest": false,
 | 
			
		||||
      "Locked": true
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
    "SearchSuggestEnabled": false,
 | 
			
		||||
 | 
			
		||||
    "UserMessaging": {
 | 
			
		||||
      "ExtensionRecommendations": false,
 | 
			
		||||
      "FeatureRecommendations": false,
 | 
			
		||||
      "UrlbarInterventions": false
 | 
			
		||||
    "SearchEngines": {
 | 
			
		||||
      "PreventInstalls": false,
 | 
			
		||||
      "Remove": [
 | 
			
		||||
        "Google",
 | 
			
		||||
        "Bing",
 | 
			
		||||
        "Amazon.com"
 | 
			
		||||
      ]
 | 
			
		||||
    }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										3958
									
								
								config/mozilla.cfg
								
								
								
								
							
							
						
						
									
										3958
									
								
								config/mozilla.cfg
								
								
								
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
		Reference in New Issue