搜尋 Mozilla 技術支援網站

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

了解更多

Disable Switch To Tab Function when clicking a link

  • 5 回覆
  • 9 有這個問題
  • 63 次檢視
  • 最近回覆由 cor-el

more options

When i click some links particularly in gmail, for instance if i get an email from youtube about a video being uploaded and i click said video, firefox opens this link in a new tab but the problem is that it automaticly switches to that tab which i hate. this happens with other links that want to open in a new tab to.

Switch to tab no more or switch to tab blacklist does not work. i did have a fix for it within the about:config page but i recently refreshed firefox and it removed the function. preferably i dont want to use an extension to solve this


(edited title for clarity - c)

When i click some links particularly in gmail, for instance if i get an email from youtube about a video being uploaded and i click said video, firefox opens this link in a new tab but the problem is that it automaticly switches to that tab which i hate. this happens with other links that want to open in a new tab to. Switch to tab no more or switch to tab blacklist does not work. i did have a fix for it within the about:config page but i recently refreshed firefox and it removed the function. preferably i dont want to use an extension to solve this ''(edited title for clarity - c)''

由 cor-el 於 修改

被選擇的解決方法

Sorry, I got distracted by the title of the question.

You can check the setting for the Tab bar in Options/Preferences > Tabs.

  • [ ] "When I open a link in a new tab, switch to it immediately"

There are three prefs, accessible via the about:config page, to control the focus if you click a link.

  • browser.tabs.loadInBackground (normal links)
  • browser.tabs.loadDivertedInBackground (javascript)
  • browser.tabs.loadBookmarksInBackground (bookmarks)
從原來的回覆中察看解決方案 👍 2

所有回覆 (5)

more options

You can remove the checkmark on "Open Tabs" in the location bar settings.


Note that you can hold down the Alt or Shift key while an entry in the drop down list is highlighted to disable "Switch to tab" and see the URL of all entries instead.

  • Alt + Enter opens the highlighted URL in a new tab.
  • Shift + Enter opens the highlighted URL in the current tab.
  • Cursor Right copies the highlighted URL to the location bar in case you want to edit it.

由 cor-el 於 修改

more options

you didnt read what i said did you? i said when i CLICK A LINK not the location bar.

more options

選擇的解決方法

Sorry, I got distracted by the title of the question.

You can check the setting for the Tab bar in Options/Preferences > Tabs.

  • [ ] "When I open a link in a new tab, switch to it immediately"

There are three prefs, accessible via the about:config page, to control the focus if you click a link.

  • browser.tabs.loadInBackground (normal links)
  • browser.tabs.loadDivertedInBackground (javascript)
  • browser.tabs.loadBookmarksInBackground (bookmarks)
more options

yup that fixed it for me set all 3 of the to true and it worked. thanks a lot, i spent all day yesterday trying to figure that out.

more options

You're welcome.