From 7fe020b1142dfe66bd1980f5fcb4366c0496ba3f Mon Sep 17 00:00:00 2001 From: yokoffing <11689349+yokoffing@users.noreply.github.com> Date: Wed, 28 Aug 2024 12:29:32 -0400 Subject: [PATCH] Updated Common Overrides (markdown) --- Common-Overrides.md | 42 ++++++++++-------------------------------- 1 file changed, 10 insertions(+), 32 deletions(-) diff --git a/Common-Overrides.md b/Common-Overrides.md index 4872972..5d66d62 100644 --- a/Common-Overrides.md +++ b/Common-Overrides.md @@ -21,44 +21,21 @@ To enable certain functions, `copy+paste` the appropriate prefs to the `MY OVERR ### Color Theme -By default, Firefox follows the operating system [theme](https://support.mozilla.org/en-US/kb/use-themes-change-look-of-firefox#w_managing-themes) (Light or Dark) for buttons, menus, and windows, but not for settings pages and websites. Betterfox ensures sub-pages and websites also match your system theme. +By default, Firefox follows the operating system [theme](https://support.mozilla.org/en-US/kb/use-themes-change-look-of-firefox#w_managing-themes) for buttons, menus, and windows, but not for settings pages and websites. However, you can override this and force Firefox's settings pages and websites to use a Light or Dark theme. +> [!NOTE] +> Betterfox already ensures both sub-pages and websites match your operating system theme (option `2`), but you may want to force the Light or Dark theme. + * `☰` *→ Settings → General → Language and Appearance → Website appearance* ```javascript // PREF: preferred color scheme for websites and sub-pages -// Dark (0), Light (1), System (2), Browser (3) -user_pref("layout.css.prefers-color-scheme.content-override", 0); -``` - -*** - -### Downloads - -Betterfox's default download settings balance user experience and security. However, some users prefer to customize these prefs. You can read about them on [#267](https://github.com/yokoffing/Betterfox/issues/267#issuecomment-1864575868). - -#### Ask where to save files - -* `☰` *→ Settings → General → Files and Applications → Downloads → Always ask you where to save files* - -```javascript -// PREF: always ask where to download -// true = Direct download -// false = The user is asked what to do -user_pref("browser.download.useDownloadDir", false); -``` - -#### New file types - -* `☰` *→ Settings → General → Files and Applications → Applications → What should Firefox do with other files?* - -```javascript -// PREF: always ask how to handle new mimetypes -// false = Save files -// true = Ask whether to open or save files -user_pref("browser.download.always_ask_before_handling_new_types", false); +// 0 = Dark theme +// 1 = Light theme +// 2 = match OS theme [Betterfox user.js] +user_pref("layout.css.prefers-color-scheme.content-override", 2); ``` *** @@ -178,7 +155,8 @@ user_pref("privacy.userContext.enabled", true); ### GPU-accelerated Canvas2D Add this pref if you use a dedicated GPU on a Windows PC. (It's already enabled on macOS and Linux.) -:warning: May cause issues on some Windows machines using [integrated](https://github.com/yokoffing/Betterfox/issues/153) [GPUs](https://github.com/yokoffing/Betterfox/issues/198). +> [!WARNING] +> This pref may cause issues on some Windows machines using [integrated](https://github.com/yokoffing/Betterfox/issues/153) [GPUs](https://github.com/yokoffing/Betterfox/issues/198). ```javascript // PREF: enable GPU-accelerated Canvas2D [WINDOWS]