为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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

  • 5 个回答
  • 0 人有此问题
  • 1 次查看
  • 最后回复者为 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 ?