mirror of
https://github.com/yokoffing/Betterfox.git
synced 2026-06-12 15:40:48 +05:30
Updated Optional Hardening (markdown)
+20
-8
@@ -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
|
### Downloads
|
||||||
|
|
||||||
Enforce Firefox to inform you of any download attempts.
|
|
||||||
|
|
||||||
#### Always ask where to save files
|
#### 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*
|
* `☰` *→ Settings → General → Files and Applications → Downloads → Always ask you where to save files*
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
@@ -99,6 +110,8 @@ user_pref("browser.download.useDownloadDir", false);
|
|||||||
|
|
||||||
#### Ask to open or save new file types
|
#### 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?*
|
* `☰` *→ Settings → General → Files and Applications → Applications → What should Firefox do with other files?*
|
||||||
|
|
||||||
```javascript
|
```javascript
|
||||||
@@ -106,15 +119,14 @@ user_pref("browser.download.useDownloadDir", false);
|
|||||||
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
user_pref("browser.download.always_ask_before_handling_new_types", true);
|
||||||
```
|
```
|
||||||
|
|
||||||
***
|
#### Display installation prompt for recommended extensions
|
||||||
|
|
||||||
### Disk Cache
|
Firefox will show a prompt even for [recommended extensions](https://support.mozilla.org/en-US/kb/recommended-extensions-program).
|
||||||
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
|
```javascript
|
||||||
// PREF: disable disk cache
|
// PREF: show prompt for recommended or privileged extensions
|
||||||
user_pref("browser.cache.disk.enable", false);
|
// [1] https://bugzilla.mozilla.org/buglist.cgi?bug_id=1659530,1681331
|
||||||
|
user_pref("extensions.postDownloadThirdPartyPrompt", false);
|
||||||
```
|
```
|
||||||
|
|
||||||
***
|
***
|
||||||
|
|||||||
Reference in New Issue
Block a user