summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2018-08-22 15:53:24 +0200
committerGitHub <noreply@github.com>2018-08-22 15:53:24 +0200
commit00ae76ee758186bac11071900bd9215ce9e3307a (patch)
treee7a46cc4018254a090827a3c3959e4e91f7ec91e /modules
parent6ded9a001fddf501efb96b7e68dc9dabbe0ade22 (diff)
parentc6498fe688515413144376dc59b728905c72b34e (diff)
downloadUXP-00ae76ee758186bac11071900bd9215ce9e3307a.tar
UXP-00ae76ee758186bac11071900bd9215ce9e3307a.tar.gz
UXP-00ae76ee758186bac11071900bd9215ce9e3307a.tar.lz
UXP-00ae76ee758186bac11071900bd9215ce9e3307a.tar.xz
UXP-00ae76ee758186bac11071900bd9215ce9e3307a.zip
Merge pull request #720 from JustOff/PR_ShouldAddToSessionHistory
Update ShouldAddToSessionHistory() rules for "about:newtab" and "about:logopage"
Diffstat (limited to 'modules')
-rw-r--r--modules/libpref/init/all.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/libpref/init/all.js b/modules/libpref/init/all.js
index 6eddfe7a2..1a67293e4 100644
--- a/modules/libpref/init/all.js
+++ b/modules/libpref/init/all.js
@@ -247,6 +247,10 @@ pref("dom.compartment_per_addon", true);
// of content viewers to cache based on the amount of available memory.
pref("browser.sessionhistory.max_total_viewers", -1);
+// Whether to store 'about:newtab' in the session history, disabled by default.
+// See https://github.com/MoonchildProductions/UXP/issues/719
+pref("browser.newtabpage.add_to_session_history", false);
+
pref("ui.use_native_colors", true);
pref("ui.click_hold_context_menus", false);
// Duration of timeout of incremental search in menus (ms). 0 means infinite.