We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 4 replies
  • 1 has this problem
  • 1 view
  • Paskiausią atsakymą parašė 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!

Chosen solution

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.

Skaityti atsakymą kartu su kontekstu 👍 0

All Replies (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

Chosen Solution

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.