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

new tab opens always on the right

  • 6 replies
  • 1 has this problem
  • 2 views
  • Last reply by cor-el

more options

When I pressed the "+" symbol at the right side of my tabs with the left mouse button, a new tab opens at the most right place. So far, so easy.

When I pressed the same "+" symbol using the middle mouse button, the new tab opened right beside the active tab. Now, middle mouse button and left mouse button do the same thing.

Work around could be to open the context menu (right mouse button) of a tab, choose "new tab" an get a new tab right beside the tab chosen with the mouse pointer while pressing the right mouse button.

Did something recently change?

When I pressed the "+" symbol at the right side of my tabs with the left mouse button, a new tab opens at the most right place. So far, so easy. When I pressed the same "+" symbol using the middle mouse button, the new tab opened right beside the active tab. Now, middle mouse button and left mouse button do the same thing. Work around could be to open the context menu (right mouse button) of a tab, choose "new tab" an get a new tab right beside the tab chosen with the mouse pointer while pressing the right mouse button. Did something recently change?

Chosen solution

There are these middleclick prefs that you can look at (both true for me).

  • browser.tabs.opentabfor.middleclick true
  • browser.tabs.searchclipboardfor.middleclick true
Read this answer in context 👍 0

All Replies (6)

more options

Go to about:config in the address bar and make sure browser.tabs.insertRelatedAfterCurrent is default true.

more options

Thanks for watching and replying.

It is set as it should, the default. And the old behavior is partly back. Could this be theme related? That's the only thing I changed as far as I remember.

Now the middle click opens a new tab (right position of the active one), but my standard search machine is shown searching for the content in my clipboard (strg+c)?

more options

Chosen Solution

There are these middleclick prefs that you can look at (both true for me).

  • browser.tabs.opentabfor.middleclick true
  • browser.tabs.searchclipboardfor.middleclick true
more options

Thank you very much. Setting the last one

browser.tabs.searchclipboardfor.middleclick false

seems to do the trick and the old behaviour (at least for me?!) seems to be back.

more options

In a new profile without any modifications, browser.tabs.searchclipboardfor.middleclick doesn't make any difference to where new tabs are created when middle-clicking the new tab button.

more options

See also:

// Does middleclick paste of clipboard to new tab button
#ifdef UNIX_BUT_NOT_MAC
pref("browser.tabs.searchclipboardfor.middleclick", true);
#else
pref("browser.tabs.searchclipboardfor.middleclick", false);
#endif

  • 1418462 - Middle clicking on new tab should search or open what's in the selection clipboard on linux [115]

See also:

  • 1841763 - Firefox 115 broke "New tab next to current tab" middle mouse click functionality of the new tab button

Modified by cor-el