Mozilla will shut down Pocket’s services on July 8, 2025. At that time users will no longer be able to access the Pocket website, apps and API. You can export your saved items and API data until October 8, 2025 before they are permanently removed. For more information, see this article.

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

详细了解

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

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)

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于修改

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