搜尋 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