為了改善您的使用體驗,本網站正在進行維護,部分功能暫時無法使用。若本站的文件無法解決您的問題,想要向社群發問的話,請到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 發問,我們的社群成員將很快會回覆您的疑問。

搜尋 Mozilla 技術支援網站

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

了解更多

Middle-click to open link in new tab will mostly open in background but sometimes switch to it immediately

more options

About 99% of the time when I middle-click a link in order to open it in a new tab, it will open the tab in the background. However, every once in a while middle-clicking will open the link in a new tab and switch to it immediately.

I want the tabs to be opened in the background, and my Firefox preferences are set accordingly (i.e., I have not enabled "When you open a link, image, or media in a new tab, switch to it immediately").

Is this a bug, or am I unknowingly modifying my middle click to trigger switch-immediately somehow? If I am, I'd like to know how because there are some times when I'd like to open a link in a new tab and switch to it immediately—just not at random 1% of the time.

About 99% of the time when I middle-click a link in order to open it in a new tab, it will open the tab in the background. However, every once in a while middle-clicking will open the link in a new tab and switch to it immediately. I want the tabs to be opened in the background, and my Firefox preferences are set accordingly (i.e., I have ''not'' enabled "When you open a link, image, or media in a new tab, switch to it immediately"). Is this a bug, or am I unknowingly modifying my middle click to trigger switch-immediately somehow? If I am, I'd like to know how because there are some times when I'd like to open a link in a new tab and switch to it immediately—just not at random 1% of the time.

所有回覆 (2)

more options

Hmm, I don't know how to get Firefox to switch. Possibly if a page has "look at me" code to focus itself that might trigger it? If you can think of some examples, support forum volunteers could look at those links.

Note: due to a spamming problem, posts with links to non-Mozilla sites need to go through a moderation queue. To bypass that, insert a space before the .com (or .org, etc.) so that the forum doesn't realize it's a link. For example:

https://www.example .com/

See next reply...

由 jscher2000 - Support Volunteer 於 修改

more options

Actually I forgot something: if you hold the Shift key while middle-clicking, Firefox will do the opposite of the default.

If "When you open a link, image or media in a new tab, switch to it immediately":

  • is not checked (default): adding shift switches immediately
  • is checked: adding shift stays on the tab where you middle-clicked the link