greatsuspender / thegreatsuspender

A chrome extension for suspending all tabs to free up memory
https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg/
GNU General Public License v2.0
5.04k stars 905 forks source link

Auto-close mode for all tabs in a specific window #647

Open eMPee584 opened 6 years ago

eMPee584 commented 6 years ago

When looking for procrastination mitigation strategies, I stumbled over this peculiar extension: https://chrome.google.com/webstore/detail/this-tab-will-self-destru/aohhnbhpkopmfemfonachenhjohjojnj. Auto-killing tabs for nice flow of www research bursts, perfectly cool — but. There are also some other extensions which try to provide tab-auto-close such as https://chrome.google.com/webstore/detail/tab-wrangler/egnjhciaieeiiohknchakcodbpgjnchh, https://chrome.google.com/webstore/detail/tab-auto-close/fhojgodcjhfemegffifhopilpfokceoj, https://chrome.google.com/webstore/detail/tab-autoclose-timer/imihgjohpadebbpnoddkoafdkmlbojpn or https://chrome.google.com/webstore/detail/tabs-timer/dbomhhonepgocfbaecobbjkndkmookjn. But they are either not maintained for several years or have usability weaknesses.

Now TGS has sophisticated tab management skills, and I simply trust this code much better. Sure, this is quite a different functionality from suspending tabs. But maybe you can have a look at it.

Possible usage scenario: per-window state of either auto-destroying or suspending, clearly discernible by icon or even small red bomb CSS overlay in corner of tab :laughing: Auto-destruction would be activated f.e. for tabs which have been opened in such a window, have been looked at at least once, and haven't been active again within a customizable time frame (15min). Tabs with unsent form entries or active audio wouldn't be shot down.

?

eMPee584 commented 6 years ago

:warning: when installing https://chrome.google.com/webstore/detail/this-tab-will-self-destru/aohhnbhpkopmfemfonachenhjohjojnj, the timer will be fused on all existing tabs with the default of 60 minutes! So when trying it out, make sure you haven't got hundreds of tabs open because they would all be destroyed an hour after installing the extension.

deanoemcke commented 6 years ago

I think this can probably be classified as a duplicate of #317 (Auto close suspended tab after certain amount of time). See also #281 (Ability to close all suspended tabs).

There is a few subtle differences however:

I think the first step would be to address the other issues. And then maybe come back to this at a later date.