This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

ابحث في الدعم

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 4 ردود
  • 1 has this problem
  • 213 views
  • آخر ردّ كتبه 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.

Modified by 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}

Read this answer in context 👍 1

All Replies (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 :)