cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Reopening a tab you closed by accident

metroart
Making moves

I'm using Firefox Version 158.0 on Win 11 -- with vertical tabs on the left side of the screen -- and I keep clicking by accident on the X at the upper left of the tab circle. And then I can't reopen the **bleep** tab.

It's driving me nuts. There has to be a fix. How about adding a simple setting to require a double-click to close the tab instead of a single click?

Or am I the only one experiencing this problem?

1 ACCEPTED SOLUTION

dftf
Collaborator

@metroart : I use horizontal tabs, but if you close a tab there you can do the following:
•  right-click any other tab, and choose "Reopen closed tab"
•  use the keyboard shortcut CONTROL + SHIFT + T  (CMD + SHIFT + T if you're on a Mac)

I should think they should work too for vertical tabs?

You can allow double-clicks to close tabs, if you want:
•  in the URL bar, type about:config then press ENTER
•  accept any warning, if shown, and continue
•  search for browser.tabs.closeTabByDblclick and change it to "true"

Though that setting then just means "a double-click can also be used to close a tab", not
"a double-click is required to close tabs", which is what you're after.

There is a way to hide the X entirely on tabs, but it involves creating a file called "userChrome.css",
so you may be best to ask an AI to assist you, or do a web-search for steps.

View solution in original post

2 REPLIES 2

dftf
Collaborator

@metroart : I use horizontal tabs, but if you close a tab there you can do the following:
•  right-click any other tab, and choose "Reopen closed tab"
•  use the keyboard shortcut CONTROL + SHIFT + T  (CMD + SHIFT + T if you're on a Mac)

I should think they should work too for vertical tabs?

You can allow double-clicks to close tabs, if you want:
•  in the URL bar, type about:config then press ENTER
•  accept any warning, if shown, and continue
•  search for browser.tabs.closeTabByDblclick and change it to "true"

Though that setting then just means "a double-click can also be used to close a tab", not
"a double-click is required to close tabs", which is what you're after.

There is a way to hide the X entirely on tabs, but it involves creating a file called "userChrome.css",
so you may be best to ask an AI to assist you, or do a web-search for steps.

Yes, CONTROL + SHIFT + T does the trick. No need to change a config file. Or create a .css.

Thanks.