From aed5c816439f00a3ab2a8ff752dda6a7013095c6 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Mon, 2 Oct 2023 15:56:23 -0400 Subject: [PATCH] ui: open search results in a new tab --- ui | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/ui b/ui index 5a33a5e..4d5e63c 100644 --- 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); -- 2.44.2