Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

搜尋 Mozilla 技術支援網站

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

了解更多

browser.tabs.insertRelatedAfterCurrent not working properly

  • 2 回覆
  • 0 有這個問題
  • 8 次檢視
  • 最近回覆由 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.

所有回覆 (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.