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

Close tab and return to previously viewed tab

  • 5 replies
  • 1 has this problem
  • 304 views
  • Last reply by McCoy

I am running Firefox 62 on Linux.I am trying to figure out how, when I delete a tab, it will return to the previous one I was viewing. I used to have this capability but for some reason I no longer have it.

I am using Tree Style Tab and New Tab Override, if that makes any difference.

I am running Firefox 62 on Linux.I am trying to figure out how, when I delete a tab, it will return to the previous one I was viewing. I used to have this capability but for some reason I no longer have it. I am using Tree Style Tab and New Tab Override, if that makes any difference.

All Replies (5)

try to disable them on by one to see if its cause the problem

Chosen Solution

Does the position in which the new tab opens have any influence on it?

Firefox's native (uncustomized) behavior is:

  • Open related tabs next to current (e.g., from a link in the current tab)
  • Open new/unrelated tabs at the end of the bar

There are now preferences to manage both of those (in Firefox 61 and later):

(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 insert and pause while the list is filtered

(3) Then set:

Open Related Tabs Next to Current, Others at the End of the Bar:

browser.tabs.insertAfterCurrent = false (default) browser.tabs.insertRelatedAfterCurrent = true (default)

Open All Tabs Next to Current - if you previously used Tab Mix Plus to get everything to open next to the current tab, try this one:

browser.tabs.insertAfterCurrent => true browser.tabs.insertRelatedAfterCurrent = whatever

Open All Tabs at the End of the Bar

browser.tabs.insertAfterCurrent = false (default) browser.tabs.insertRelatedAfterCurrent => false

To switch a boolean-type preference between true and false, double-click it.

Does that affect what happens when you close the tab?

The "Select After Closing Current" extension works great (well, so far)! Thanks for the help!

LeeU said

The "Select After Closing Current" extension works great (well, so far)! Thanks for the help!

My pleasure, LeeU  !