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

Config for left click open in same tab, middle mouse open in new tab

  • 5 replies
  • 0 have this problem
  • 1 view
  • Paskiausią atsakymą parašė cor-el

more options

Currently i found the configuration for opening in the same tab, and that middle mouse will open a new tab. However, the new tab from middle mousing, just opens the same tab as where I middle moused. It does not appear to be loading/opening the link I clicked. Ive tried a few items in about:config but havent found one that makes it load the middle moused link.

Currently i found the configuration for opening in the same tab, and that middle mouse will open a new tab. However, the new tab from middle mousing, just opens the same tab as where I middle moused. It does not appear to be loading/opening the link I clicked. Ive tried a few items in about:config but havent found one that makes it load the middle moused link.

Chosen solution

When i first installed the default was, left click opened in a new tab and middle mouse did nothing. Im unsure why if what i want is supposed to be the default setup, I havent changed any setting previously, and i only just installed firefox on this PC. I was unaware of troubleshoot mode, but i will try that in the future.

I was able to find the config items i needed to get what I wanted,or get it back to default apparently.

Skaityti atsakymą kartu su kontekstu 👍 0

All Replies (5)

more options

A middle-click with the mouse scroll wheel always opens the link in a new tab, there is no config possible. Whether you open the link in the background is controlled by "When you open a link in a new tab, switch to it immediately" in "Settings -> General -> Tabs".

Like you probably found, the behavior for a left-click is set via a pref on the about:config page. Normal links:

  • browser.link.open_newwindow
    1:current tab; 2:new window; 3:new tab

JavaScript Links:

  • browser.link.open_newwindow.restriction
    0:divert always; 1:divert never; 2:divert no features
more options

No, i do not want to switch to the newly opened tab, i know that is in the basic settings.

When I middle mouse, it is opening a2nd tab, that is a copy of the tab i already have open. It is not opening the link itself.

I have left click as (1) for browser.link.open_newwindow. What I essentially need is middle mouse set to (3) for that. So the intended result will be, left click opens a link in the same tab, middle mouse will open in a new tab.

more options

DrunkPhionex M said

So the intended result will be, left click opens a link in the same tab, middle mouse will open in a new tab.

That is the default behavior. Does it still happen in Troubleshoot Mode?

more options

Chosen Solution

When i first installed the default was, left click opened in a new tab and middle mouse did nothing. Im unsure why if what i want is supposed to be the default setup, I havent changed any setting previously, and i only just installed firefox on this PC. I was unaware of troubleshoot mode, but i will try that in the future.

I was able to find the config items i needed to get what I wanted,or get it back to default apparently.

more options

Can you tell us what changes to had to change/undo to restore how this should work ?