Hello there,
My name is Aleks and I am a tab hoarder. I have a lot of stuff opened, 50+ at of moment of writing this. So I thought to create an extension to help me battle my demons and learn something new while I am at it.
The purpose of the extension is to collect all opened tabs and store them in local storage. Each tab would have a timer that when expired, would delete the tab from the storage or move it to bookmarks instead.
This way I won’t have to manage every single one. If I am not done with that tab in one or two sittings it is probably going to hang there for all eternity or until FF crashes and loses all the opened tabs.
Right now the extension can save tabs one by one, save all opened tabs, delete one by one, delete all and move a selected one tab to bookmarks.
Next step is to add timers and I am a bit at a loss with how to proceed. I intend to use alarms. The issue is, I am not entirely sure that is the best thing to do.
I would appreciate your thoughts and considerations. Feel free to suggest any other tidbits regarding the extension or the code.
Github link for the extension
It is not published. You will need to add the extension manually. Open some tabs and press a few buttons to see what it does.
P.S.
Right now, the extension is made with vanilla Javascript and CSS. Nothing fancy, although I am planning on rewriting the extension with something more fun in the future, once I am done with all the planned functionality.