Make "Close other tabs" and "Close tabs to the right" buttons less problematic

If you don’t have buttons to close tabs, which happens when you have many open as I do, you may have to right-click a tab to close it. The “Close other tabs” and “Close tabs to the right” buttons are right by it and do their thing right away. Before you know it, most of your tabs are gone. And unlike when you accidentaly close a whole window, you can’t bulk reopen tabs like this.

This just happened to me, and Ctrl + Shift + T was insufficient to get all my tabs back. A simple popup are you sure might be all that is needed, as if there are really that many tabs to be closed then two clicks would be as good a reduction as the one right now.

For 5+ tabs, yes. this is an extremely common occurrence. Many people have 10-20 open. Some people have upwards of 40 in a window. I know I have problems lol, but this should at least be a setting I can enable on my own if I want for the other tabs and to the right buttons.

If you find yourself with too many tabs and accidentally close some, don’t worry! Immediately press Ctrl + Shift + T (or Cmd + Shift + T on a Mac) to reopen the last closed tab. If you’ve closed several, repeatedly pressing this combination will continue reopening your recently closed tabs. Additionally, your browser history is a handy place to recover any lost tabs. If you are prone to closing tabs accidentally, consider exploring browser extensions or add-ons that allow for bulk reopening or offer enhanced tab management features to prevent this from happening in the future.

This will only work on a large but finite number of tabs