搜尋 Mozilla 技術支援網站

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

了解更多

Firefox is always opening links in new tabs, and I can't change the default to open in the same tab.

  • 4 回覆
  • 1 有這個問題
  • 52 次檢視
  • 最近回覆由 telagraham

more options

I'm trying to keep the default as links open in the same tab, rather than a new tab or new window. I've tried Search Settings<Where Results Open, and I've gone into about:config. My configuration is: browser.search.openintab = false browser.urlbar.openintab = false browser.tabs.loadBookmarksInTabs = false </p>

Links keep opening in a new tab, and the "Open results in new tab" slider at the top of the page is always on by default (I can turn it off, but the next time I open a new tab, it's on again by default).

Thanks!

I'm trying to keep the default as links open in the same tab, rather than a new tab or new window. I've tried Search Settings<Where Results Open, and I've gone into about:config. My configuration is: browser.search.openintab = false browser.urlbar.openintab = false browser.tabs.loadBookmarksInTabs = false Links keep opening in a new tab, and the "Open results in new tab" slider at the top of the page is always on by default (I can turn it off, but the next time I open a new tab, it's on again by default). Thanks!

被選擇的解決方法

Did you try it? Some sites add a target="_blank" attribute to links. Links with these attributes are supposed to open in a new window when left clicked. However, Firefox by default opens these links in a new tab in the current window. By setting browser.link.open_newwindow to 1, these links will instead open in the current tab/window.

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

所有回覆 (4)

more options

Set browser.link.open_newwindow to 1. After that, perhaps set browser.link.open_newwindow.override.external to 3, so external links will then open in new tabs. That way opening multiple external links at one time won't load them in the current tab.

more options

I want links to open in the existing tab, not in a new tab or a new window. Right now clicking on a link opens an additional tab, rather than the current tab following the link.

more options

選擇的解決方法

Did you try it? Some sites add a target="_blank" attribute to links. Links with these attributes are supposed to open in a new window when left clicked. However, Firefox by default opens these links in a new tab in the current window. By setting browser.link.open_newwindow to 1, these links will instead open in the current tab/window.

more options

That seems to have fixed it (made it open links in the same tab). Thank you! The slider still defaults to "Open results in new tab", but it doesn't open in a new tab. Thanks again.