搜尋 Mozilla 技術支援網站

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

Learn More

How can I customize the behaviour of clicking a link with the middle mouse button?

  • 4 回覆
  • 2 有這個問題
  • 294 次檢視
  • 最近回覆由 Joshua Smith

more options

I just upgraded to Firefox 24ESR as part of an update of CentOS 5 (RHEL5) and now middle clicking on a link opens the link in a tab and not in a new window (like it did with Firefox 17ESR). I want to restore the middle click on a link behaviour to what it was under Firefox 17ESR. I *hate* tabs and don't want them, ever.

I just upgraded to Firefox 24ESR as part of an update of CentOS 5 (RHEL5) and now middle clicking on a link opens the link in a tab and not in a new window (like it did with Firefox 17ESR). I want to restore the middle click on a link behaviour to what it was under Firefox 17ESR. I *hate* tabs and don't want them, ever.

被選擇的解決方法

Hello,

To fix this, please go to the Firefox Preferences panel, and make sure the Tabs > Open new windows in a new tab instead preference is not checked.

Then, type "about:config" in your location bar. In the page that appears, please click the "I'll be careful" button. In the search bar at the top of the page, type "browser.tabs.opentabfor.middleclick." Set the preference that is shown to false by double-clicking it.

Hope this helps!
- Josh

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

所有回覆 (4)

more options

選擇的解決方法

Hello,

To fix this, please go to the Firefox Preferences panel, and make sure the Tabs > Open new windows in a new tab instead preference is not checked.

Then, type "about:config" in your location bar. In the page that appears, please click the "I'll be careful" button. In the search bar at the top of the page, type "browser.tabs.opentabfor.middleclick." Set the preference that is shown to false by double-clicking it.

Hope this helps!
- Josh

由 Joshua Smith 於 修改

more options

Ah, forgot to upload the second image :)

more options

Note that if you edit a reply to add more images that it can take minutes before those images appear, so be patient and come back later and the image(s) will show (now you have three of them).
Maybe a bug needs to be filed on this issue.

more options

Thanks for the info cor-el! I just filed Bug 958285 to address this issue.