This is a brilliant piece of work. As someone who has thousands of tabs open, I've always wanted to "close all tabs with a single command", or view all the open tabs and mass select them and close, for years. Otherwise, going through them one by one and deleting takes forever. Now somebody make a vim pluggin so I can delete tabs by visual selecting a bunch of them and typing "d".
I keep a few tabs open, and close the browser regularly. A friend of mine keeps basically infinity tabs open. I sort of rolled my eyes, but accepted his rare behavior. However as time has gone on, I've been surprised to find I may have the rare behavior and it is common for people to work this way. So.. maybe this is a way he can backup his "filesystem" and not suffer a nervous breakdown when his machine reboots or s…
For those in the comments who are like myself (and parent's friend) and have hundreds or even thousands of tabs open, I highly recommend the Panorama Tab Groups extension for Firefox:
https://addons.mozilla.org/en-US/firefox/addon/panorama-tab-...
This extension adds back in the functionality that was removed from Firefox half a decade ago. It gives you a visual, 2D-map of arbitrary groups of tabs in a tile layout you can view with "Ctrl-Shift-F". Combined with the backup feature (just in case it crashes or gets corrupted, although this has yet to happen to me) and Firefox's built-in tab session saving option, so long as you have enough memory (I bought 40 gigs of RAM for this laptop after terrible memories of running Firefox on a Chromebook with 4GB of soldered RAM), you can basically browse as though you'll never have to close a tab again, AND also be able to stay organized.