Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Search Support

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?

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

Chosen solution

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

Seçilmiş Həll

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 :)