X-Git-Url: http://gitweb.michael.orlitzky.com/?p=firefox-user-prefs.git;a=blobdiff_plain;f=ui;h=d5dd753b28b48c3fa9ff0f5b765a213432557ab8;hp=4d5e63cc63ca212a6d52053857337563544ae769;hb=refs%2Fheads%2Fmaster;hpb=aed5c816439f00a3ab2a8ff752dda6a7013095c6 diff --git a/ui b/ui index 4d5e63c..1049ee6 100644 --- a/ui +++ b/ui @@ -92,3 +92,17 @@ user_pref("browser.link.open_newwindow.restriction", 0); * */ user_pref("browser.search.openintab", true); + + +/* Don't close the window when the last tab closes. + * + * The behavior of Ctrl-W shouldn't be context-dependent, and + * surprise-quit is especially dangerous if Firefox is configured to + * delete your history when it closes. + * + * References: + * + * 1. https://support.mozilla.org/en-US/questions/1205166 + * + */ +user_pref("browser.tabs.closeWindowWithLastTab", false);