]> gitweb.michael.orlitzky.com - firefox-user-prefs.git/commitdiff
ui: open search results in a new tab
authorMichael Orlitzky <michael@orlitzky.com>
Mon, 2 Oct 2023 19:56:23 +0000 (15:56 -0400)
committerMichael Orlitzky <michael@orlitzky.com>
Mon, 2 Oct 2023 19:57:25 +0000 (15:57 -0400)
ui

diff --git a/ui b/ui
index 5a33a5e1fea87297aeb6e91e7d90ee9f20b99796..4d5e63cc63ca212a6d52053857337563544ae769 100644 (file)
--- a/ui
+++ b/ui
@@ -74,3 +74,21 @@ 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);