diff --git a/Common-Overrides.md b/Common-Overrides.md index 16604a3..561a3d2 100644 --- a/Common-Overrides.md +++ b/Common-Overrides.md @@ -98,6 +98,41 @@ user_pref("permissions.default.desktop-notification", 0); *** +### Downloads + +#### Download files directly without user permission. + +(Less security, more convenience.) + +```javascript +// PREF: download files directly without asking +// Do not ask where to download. +// Do not enforce user interaction for greater security. +// [SETTING] General>Downloads>Always ask you where to save files +// [DIALOGUE] "Ask whether to open or save files" +// true=direct download (default) +// false=the user is asked what to do +user_pref("browser.download.useDownloadDir", true); +``` + +#### Do not display the download panel after every download. + +```javascript +// PREF: disable downloads panel opening on every download +// Control whether to open the downloads panel every time a download begins. +// The first download ever ran in a new profile will still open the panel. +user_pref("browser.download.alwaysOpenPanel", false); +``` + +#### Choose where your downloads save to by default. + +```javascript +// PREF: choose download location +// [SETTING] To set your default "downloads": General>Downloads>Save files to... +// 0=desktop, 1=downloads (default), 2=last used +//user_pref("browser.download.folderList", 1); +``` + ### Public Key Pinning :warning: Override if your antivirus software — or some other [source](https://github.com/yokoffing/Betterfox/issues/232#issuecomment-1732346856) — won't let you open websites ([example](https://www.reddit.com/r/firefox/comments/16mlv15/kaspersky_cant_scan_encrypted_connections_with/)).