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


注意: Currently this tip will work in 火狐浏览器 60.0 Nightly build only. The tip will start working in Firefox public releases once the Firefox 60.0 version is released to public.

Mozilla 火狐浏览器 web 浏览器, 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.

相关: [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 页面.

If you are using the latest build of Firefox and want Firefox to always open address bar and search results in new tabs, 以下步骤将帮助您:

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. 现在,键入 openintabSearch filter box and it'll show following preferences in the window:


3. Both preferences are set to by default i.e. 禁用.

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.


To enable desired feature, double-click on the preference and change its value to 真正. 或者, you can right-click on the preference and select Toggle 选项.

而已. 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.