This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

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

When I open a link from a tab or my bookmark bar, it opens a new tab overwhelming the tab bar now that I can't use Tab Mix Plus to open in the same tab - Help?

more options

After using Tab Mix Plus for many years, I got used to the setting where clicking on a bookmark or on a link in the displayed tab defaults to open the new tab in the same tab, without creating a new tab. I know you can still use this in some circumstances using the right-click context menu, but that's a PITA. How do I configure the new FF to default to using the same tab?

After using Tab Mix Plus for many years, I got used to the setting where clicking on a bookmark or on a link in the displayed tab defaults to open the new tab in the same tab, without creating a new tab. I know you can still use this in some circumstances using the right-click context menu, but that's a PITA. How do I configure the new FF to default to using the same tab?

All Replies (2)

more options

Ignore this one. I found a setting in about:config that was set wrong and links now open correctly. To open a new bookmark in the same window I still have to use the Context Menu "Open" option, an extra click, but I can live with it.

more options

Bookmarks and Tabs

Left-clicking a bookmark normally does open it in the same tab (unless you hold down the Ctrl key to direct it to a new tab, or the Shift key to direct it to a new window). There is a setting to switch that, so you could check whether it got switched:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste tabs and pause while the list is filtered

(3) If the browser.tabs.loadBookmarksInTabs preference is bolded and "modified" or "user set" to true, double-click it to restore the default value of false

Does that explain it?

Links and Tabs

By default, Firefox intercepts links that sites send to a new window and opens them in a new tab instead. Sites do that in two ways:

  • Setting a target attribute on the link, such as target="_blank"
  • Using the script method window.open(), which creates a popup window

There is a built-in setting to override this and force all links to open in the same tab. You can still open a regular link in a new tab or window when you want to using the right-click context menu items. (As far as I know, you can't do that reliably with scripted links.)

I don't use this setting, so let me know how it works out for you:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button promising to be careful or accepting the risk.

(2) In the search box above the list, type or paste neww and pause while the list is filtered

(3) Adjust the preferences as follows:

(A) browser.link.open_newwindow - for links in Firefox tabs

  • 3 = divert new window to a new tab (default)
  • 2 = allow link to open a new window
  • 1 = force new window into same tab <= Try this one

(B) browser.link.open_newwindow.restriction - for links in Firefox tabs

  • 0 = apply the setting under (A) to ALL new windows (even script windows) <= Try this one
  • 2 = apply the setting under (A) to normal windows, but NOT to script windows with features (default)
  • 1 = override the setting under (A) and always use new windows

(C) browser.link.open_newwindow.override.external - for links in other programs

  • -1 = apply the setting under (A) to external links (default)
  • 3 = open external links in a new tab in the last active window <= Try this one
  • 2 = open external links in a new window
  • 1 = open external links in the last active tab replacing the current page

To return to normal if things go haywire, right-click each "modified" preference and choose Reset.

If you need a test page: https://jeffersonscher.com/res/popit.html