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

搜尋 Mozilla 技術支援網站

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

了解更多

Forcing Cmd/Ctrl+click to ALWAYS open the link in a background tab - even in Google Docs?

  • 1 回覆
  • 0 有這個問題
  • 1 次檢視
  • 最近回覆由 hmijail

more options

My preferences are set so that "When you open a link, image or media in a new tab, switch to it immediately" is OFF. Therefore most of the time when I Cmd+click on a link, it opens on a new tab that loads in the background. This is what I want.

However, some websites break that behavior. 2 high-profile examples:

  • In Google Docs, if a piece of text links to an URL, clicking on the text shows a small window with the URL. Cmd+click on that URL opens it in a new tab, and takes me to that tab.
  • In Facebook Messenger, if I Cmd+click on a chat, again the chat opens in a new tab and I'm taken there. Additionally, the original tab activates that chat.

Interestingly, in both these cases, I get the right behavior if I right-click on the URL or in the chat and in the contextual menu choose "Open link in new window/tab/container tab": the new tab stays in the background.

So my question is: does anyone know of a way to always make cmd+click behave just like "Open link in new tab", no matter the website?

I'm on Firefox 115b4 on macOS, but this has been like this for years at least.

My preferences are set so that "When you open a link, image or media in a new tab, switch to it immediately" is OFF. Therefore ''most of the time'' when I Cmd+click on a link, it opens on a new tab that loads in the background. This is what I want. However, some websites break that behavior. 2 high-profile examples: * In '''Google Docs''', if a piece of text links to an URL, clicking on the text shows a small window with the URL. Cmd+click on that URL opens it in a new tab, '''and takes me to that tab'''. * In '''Facebook Messenger''', if I Cmd+click on a chat, again the chat opens in a new tab and '''I'm taken there'''. '''Additionally''', the original tab activates that chat. Interestingly, in both these cases, I get the right behavior if I right-click on the URL or in the chat and in the contextual menu choose "Open link in new window/tab/container tab": the new tab stays in the background. So my question is: does anyone know of a way to always make cmd+click behave just like "Open link in new tab", no matter the website? I'm on Firefox 115b4 on macOS, but this has been like this for years at least.

被選擇的解決方法

I found older posts addressing this!

Confirmed solution: in about:config, ensure that browser.tabs.loadDivertedInBackground is true.

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

所有回覆 (1)

more options

選擇的解決方法

I found older posts addressing this!

Confirmed solution: in about:config, ensure that browser.tabs.loadDivertedInBackground is true.