rNeomy / auto-tab-discard

Use native tab discarding method to automatically reduce memory usage of inactive tabs

Home Page:https://webextension.org/listing/tab-discard.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[ Feature ] Never switch to a discarded tab automatically

a-pav opened this issue · comments

  • Open a temporary blank page when all tabs in an inactive window are discarded (to be able to discard the active tab on this window)

This is a very useful option and currently available in Auto Tab Discard.

While it's enabled and I manually Discard the last active tab, it indeed opens a temporary blank page and waits for action (switching to or opening another tab). But whenever I Close the last active tab, it automatically switches to the previous tab, even if it's been already discarded.

I think it would be more consistent to open the same temporary blank page in the later scenario as well. That is, when the last active tab is Closed, recursively check and if all previous tabs have been already discarded, open the temporary blank page.

Very useful, I highly need it.

Useful indeed. And more consistent with the overall behavior of Auto Tab Discard extension. I see only now that the behavior I explain in the second paragraph of my OP happens regardless of whether the option I mentioned is enabled or not.

So, this is the default behavior, but only for when the last active tab is Discarded and not for when it is Closed.