23

I tested browser.tabs.insertRelatedAfterCurrent in about:config but this works only for opening new tabs using mouse middle button.

1

5 Answers 5

26

As of Firefox 61 this behavior is available natively:

  1. Navigate to about:config
  2. Find the browser.tabs.insertAfterCurrent row
  3. Toggle it to true by double-clicking the row
2
  • 2
    The other answers are outdated, it's unfortunate that this one hasn't yet received any attention (aside from my vote).
    – user198350
    Jan 22, 2019 at 15:31
  • @user598527 : your comment at the question will solve this issue in a few years
    – Tinmarino
    Oct 15, 2019 at 9:05
5

You could try Tab Mix Plus, an add-on I've been using since forever-ish.

https://addons.mozilla.org/en-us/firefox/addon/tab-mix-plus/

Once installed, in the Tab Mix Plus options, Events -> New Tabs -> "Open new tabs next to current one". The option below it, "Open other tabs next to current one", doesn't do exactly what you're looking for.

1
  • 1
    In fact, I had to uncheck "Only if related to current tab" under checked "Open other tabs next to current one".
    – Athari
    Jan 29, 2015 at 19:02
2

Here is a relevant bug report:

Bug 528005 - Provide ways of opening new tabs next to the current tab

Here are some more suggested extensions:

Personally I'm using the second one.

1

I'm using the Tab Control addon for the similar reason.

https://addons.mozilla.org/en-us/firefox/addon/tab-control/

There is a setting: Position new tabs to right of current tab.

1

As another answer mentioned, this can be enabled by the browser.tabs.insertAfterCurrent option in about:config.

If one wants to sync this setting across devices, one needs to turn on services.sync.prefs.dangerously_allow_arbitrary. This syncs all custom settings in about:config. It looks like insertAfterCurrent does not have a separate services.sync setting for it, so sync needs to be turned on for all settings.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .