aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-03-30 17:13:37 +0200
committerPatrick Spek <p.spek@tyil.nl>2021-08-14 11:59:34 +0200
commit2d638e8419131d8747eea23cfce17ec82841882b (patch)
tree63bcfe7c30a48ac298e135c48a3c0cc01c4dd306 /.config
parentec7287ce75a0db477fca6cd2190116fba299d4e7 (diff)
Configure firefox to unload tabs when low on memory
Diffstat (limited to '.config')
-rw-r--r--.config/firefox/user.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/.config/firefox/user.js b/.config/firefox/user.js
index 8a702c4..08d62a7 100644
--- a/.config/firefox/user.js
+++ b/.config/firefox/user.js
@@ -19,6 +19,9 @@ user_pref("general.smoothScroll", false);
user_pref("media.autoplay.default", 5); // Disable autoplay for both sound and video
user_pref("privacy.donottrackheader.enabled", true);
+// Unload browser tabs when low on memory
+user_pref("browser.tabs.unloadOnLowMemory", true);
+
// Make Firefox load userChrome.css again...
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);