Compare commits

..

No commits in common. "master" and "master" have entirely different histories.

4 changed files with 3066 additions and 1090 deletions

View File

@ -1,56 +1,16 @@
## Best Use:
# mozilla.cfg | Firefox
These files has been designed exclusively for Firefox Desktop.
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.
## WARNING:
## Settings Protection:
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.
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://grapheneos.org/usage#web-browsing
https://madaidans-insecurities.github.io/security-privacy-advice.html#browser
## 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.
https://madaidans-insecurities.github.io/firefox-chromium.html

View File

@ -1,16 +1,20 @@
//
// ********************************************************************************
/**********************************************************************************
* local-settings.js | Firefox *
* *
* https://github.com/quindecim/mozilla.cfg *
*********************************************************************************/
//
// local-settings.js | Firefox
// Author : quindecim : https://github.com/quindecim/
//
// ********************************************************************************
//
// Startup
//
// License : https://github.com/quindecim/mozilla.cfg/blob/master/LICENSE.txt
//
// >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
// Section : Startup
// >>>>>>>>>>>>>>>>>>>>>
// Load the config. file
// Pref : Load the config. file
pref("general.config.filename", "mozilla.cfg");
// -------------------------------------
// Do not obscure the content with ROT-13
// Pref : Do not obscure the content with ROT-13
pref("general.config.obscure_value", 0);

View File

@ -1,5 +1,188 @@
{
"policies": {
"DisableAppUpdate": true
"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
},
"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": "",
"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,
"Locked": true
},
"SanitizeOnShutdown": true,
"SearchEngines": {
"PreventInstalls": false,
"Remove": ["Amazon.com", "Bing", "eBay", "Google", "Twitter"]
},
"SearchSuggestEnabled": false,
"UserMessaging": {
"ExtensionRecommendations": false,
"FeatureRecommendations": false,
"UrlbarInterventions": false
}
}
}
}

File diff suppressed because it is too large Load Diff