We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

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.

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

browser.tabs.insertRelatedAfterCurrent not working properly

  • 2 tontu
  • 0 am na jafe-jafe bii
  • 1 view
  • i mujjee tontu mooy zeroknight

more options

I have a new computer and browser.tabs.insertRelatedAfterCurrent is not working properly when set to "true" on this machine. I've been using Firefox for around 20 years now and never had a problem with this, it always worked as intended, like this: |Tab|Tab|Active Tab|Third New Tab|Second New Tab|First New Tab|Tab|

But now it's working like this, always inserting the new related tabs after the other related tabs, like this: |Tab|Tab|Active Tab|First New Tab|Second New Tab|Third New|Tab|

I searched Google for this bug and found out that a lot of people have this problem too, but haven't found any solutions. What should I do? Thank you in advance for any help, it's really appreciated, this is making my work quite annoying.

I have a new computer and browser.tabs.insertRelatedAfterCurrent is not working properly when set to "true" on this machine. I've been using Firefox for around 20 years now and never had a problem with this, it always worked as intended, like this: |Tab|Tab|Active Tab|Third New Tab|Second New Tab|First New Tab|Tab| But now it's working like this, always inserting the new related tabs after the other related tabs, like this: |Tab|Tab|Active Tab|First New Tab|Second New Tab|Third New|Tab| I searched Google for this bug and found out that a lot of people have this problem too, but haven't found any solutions. What should I do? Thank you in advance for any help, it's really appreciated, this is making my work quite annoying.

All Replies (2)

more options

browser.tabs.insertRelatedAfterCurrent applies to opening a link opened via JavaScript (event handler or onclick). A tab you open normally uses browser.tabs.insertAfterCurrent.

If that doesn't work then you may have an extension interfering.

Start Firefox in Troubleshoot Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration or if userChrome.css/userContent.css is causing the problem.

  • switch to the Default System theme: "3-bar" menu button or Tools -> Add-ons -> Themes
  • do NOT click the "Refresh Firefox" button on the Troubleshoot Mode start window
more options

It should still work as you expect if you don't do any external navigation.

There was a recent change in version 115 that resets the next opened tab position when you navigate with address bar/bookmarks/history to keep related tabs together (Bug 574385).

See also https://support.mozilla.org/en-US/questions/1417957.