diff --git a/Optional-Hardening.md b/Optional-Hardening.md index 8cb0e06..e0fac7f 100644 --- a/Optional-Hardening.md +++ b/Optional-Hardening.md @@ -84,12 +84,23 @@ user_pref("dom.security.https_only_mode_error_page_user_suggestions", true); *** +### Disk Cache +Keep in mind that disabling the disk cache is only available on Firefox. It is not an option in any other browser. + +Disable the disk cache if you believe it helps your privacy or performance. +```javascript +// PREF: disable disk cache +user_pref("browser.cache.disk.enable", false); +``` + +*** + ### Downloads -Enforce Firefox to inform you of any download attempts. - #### Always ask where to save files +Make Firefox ask you where to save every download. + * `☰` *→ Settings → General → Files and Applications → Downloads → Always ask you where to save files* ```javascript @@ -99,6 +110,8 @@ user_pref("browser.download.useDownloadDir", false); #### Ask to open or save new file types +Firefox will ask you what to do with a download *only* if it is your first time encountering a file type. + * `☰` *→ Settings → General → Files and Applications → Applications → What should Firefox do with other files?* ```javascript @@ -106,15 +119,14 @@ user_pref("browser.download.useDownloadDir", false); user_pref("browser.download.always_ask_before_handling_new_types", true); ``` -*** +#### Display installation prompt for recommended extensions -### Disk Cache -Keep in mind that disabling the disk cache is only available on Firefox. It is not an option in any other browser. +Firefox will show a prompt even for [recommended extensions](https://support.mozilla.org/en-US/kb/recommended-extensions-program). -Disable the disk cache if you believe it helps your privacy or performance. ```javascript -// PREF: disable disk cache -user_pref("browser.cache.disk.enable", false); +// PREF: show prompt for recommended or privileged extensions +// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1659530,1681331 +user_pref("extensions.postDownloadThirdPartyPrompt", false); ``` ***