搜尋 Mozilla 技術支援網站

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

Learn More

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

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

被選擇的解決方法

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.

從原來的回覆中察看解決方案 👍 0

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

選擇的解決方法

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 ?