]> gitweb.michael.orlitzky.com - firefox-user-prefs.git/blobdiff - ui
makefile: sort SRCS alphabetically
[firefox-user-prefs.git] / ui
diff --git a/ui b/ui
index 5a33a5e1fea87297aeb6e91e7d90ee9f20b99796..1049ee6d24924fa229a1b9b79bc7b459a46eafc5 100644 (file)
--- a/ui
+++ b/ui
@@ -74,3 +74,35 @@ user_pref("permissions.default.shortcuts", 2);
  *
  */
 user_pref("browser.link.open_newwindow.restriction", 0);
+
+
+/* Open search results (from the search bar) in a new tab.
+ *
+ * If you're reading a page and want to (say) Ctrl-k to the search bar
+ * to look up a word, then you probably don't want the search results
+ * to overwrite the page you're in the middle of reading. This is the
+ * safe choice in any case.
+ *
+ * This setting does not affect searches from within the URL bar.
+ *
+ * References:
+ *
+ * 1. https://support.mozilla.org/en-US/questions/954276
+ * 2. https://support.mozilla.org/en-US/questions/1309754
+ *
+ */
+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);