Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

搜尋 Mozilla 技術支援網站

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

了解更多
Solved 封存

Middle-click opens link in new tab and switches to it — how to stop the auto-switch?

mb98

When I middle-click a link in Firefox, it opens in a new tab, but it also switches me to that new tab immediately.

I’d prefer to stay on the current tab after middle-clicking, and just have the new tab open in the background just like google chrome does. Is there a setting to stop it from automatically switching?

Thanks!

When I middle-click a link in Firefox, it opens in a new tab, but it also switches me to that new tab immediately. I’d prefer to stay on the current tab after middle-clicking, and just have the new tab open in the background just like google chrome does. Is there a setting to stop it from automatically switching? Thanks!

所有回覆 (2)

Hi,

  1. Click the menu button Fx89menuButton and select Settings.
  2. Select the General panel and go to the Tabs section.
  3. Uncheck When you open a link, image or media in a new tab, switch to it immediately.

For reference, see Tab preferences and settings.

選擇的解決方法

Denys said

Hi,
  1. Click the menu button Fx89menuButton and select Settings.
  2. Select the General panel and go to the Tabs section.
  3. Uncheck When you open a link, image or media in a new tab, switch to it immediately.
For reference, see Tab preferences and settings.

That's for media only. I actually found the solution myself.

about:config browser.tabs.loadBookmarksInBackground true