搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How to open links in a new neighboring tab next to the current tab?

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 WMagicModel

more options

Whenever I open a link, it opens a new tab to the far right. Is there an option to open the link right next to the current tab like Google Chrome and Microsoft Edge?

Solution (Credit: @mskessler1) (Copied to avoid dead link):
1. In the address bar, type about:config and press the Enter key;
2. The about:config "This might void your warranty!" warning page may appear;
3. Click I accept the risk! to continue to the about:config page;
4. In the search box at the top, type "browser.tabs.insertAfterCurrent" and "browser.tabs.insertRelatedAfterCurrent" respectively;
5. Double-click on the first item that appears in the list to change the value to [true].

Thank you @WMagicModel, @Blindley, and @cor-el.

Whenever I open a link, it opens a new tab to the far right. Is there an option to open the link right next to the current tab like Google Chrome and Microsoft Edge? Solution (Credit: @mskessler1) (Copied to avoid dead link):<br /> 1. In the address bar, type about:config and press the Enter key;<br /> 2. The about:config "This might void your warranty!" warning page may appear;<br /> 3. Click I accept the risk! to continue to the about:config page;<br /> 4. In the search box at the top, type "browser.tabs.insertAfterCurrent" and "browser.tabs.insertRelatedAfterCurrent" respectively;<br /> 5. Double-click on the first item that appears in the list to change the value to [true]. Thank you @WMagicModel, @Blindley, and @cor-el.

由 Wei 於 修改

被選擇的解決方法

Hi Wei4Green,

Do you have other tabs open and whenever you click a link it creates a gap between the tabs?

Check out the solution as I think it may answer your question. These settings can be changed in about:config : How do I make tabs open on the right by default? {link}

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

選擇的解決方法

Hi Wei4Green,

Do you have other tabs open and whenever you click a link it creates a gap between the tabs?

Check out the solution as I think it may answer your question. These settings can be changed in about:config : How do I make tabs open on the right by default? {link}

more options

Thanks, WMagicModel.

more options

Note that there are two browser.tabs.insert prefs present on the about:config page.

  • browser.tabs.insertAfterCurrent = true
  • browser.tabs.insertRelatedAfterCurrent = true

The former is about opening a new tab via the '+' button on the tab bar or otherwise (Ctrl+T). The latter is about opening a link in a new tab.

more options

You are welcome! I am just happy we got this resolved :)