[Firefox Tip] Always Open Address Bar URLs and Search Box Results in New Tab

 

NOTE: Currently this tip will work in Firefox 60.0 Nightly build only. The tip will start working in Firefox public releases once the Firefox 60.0 version is released to public.

In Mozilla Firefox web browser, if you are visiting a web page and if you type another website URL in the address bar and press Enter key, the web page starts loading in the same tab and you lose access to the previous web page. Same thing happens with the search box. If you are working on a web page and type something in the search box and press Enter, it opens the search results page in the same tab.

Related: [Firefox Tip] Restore Search Box on Toolbar

To open websites or search results in new tab, you need to first open a new tab by clicking on new tab icon in tab bar or by pressing Ctrl+T keys together.

Wouldn't it be great if Firefox always opened address bar URLs and search box results in new tabs without overwriting the opened tab?

Don't worry! Firefox 60.0 and later versions come with a new preference which allows you to force Firefox to always open address bar URLs and search results in new tabs. You can enable this feature using the hidden secret advanced configuration page i.e. about:config page.

If you are using the latest build of Firefox and want Firefox to always open address bar and search results in new tabs, following steps will help you:

1. Open Mozilla Firefox and type about:config in the addressbar and press Enter. It'll show you a warning message, click on "I accept the risk!" button.

2. Now type openintab in Search filter box and it'll show following preferences in the window:

browser.search.openintab
browser.urlbar.openintab

3. Both preferences are set to False by default i.e. disabled.

The first preference "browser.search.openintab" preference can be enabled to launch search box results in new tab.

The second preference "browser.urlbar.openintab" can be enabled to open address bar URLs in new tab.

https://j9c5q6r6.stackpathcdn.com/wp-content/uploads/2018/02/Addresses_Search_Results_Open_New_Tab_Firefox.png

To enable desired feature, double-click on the preference and change its value to True. Alternatively, you can right-click on the preference and select Toggle option.

That's it. Once you enable the preference, try to type something in address bar or search box and press Enter key. Firefox will open the URL or search results page in new tab and your current tab will remain opened in the browser.

Source