rNeomy / auto-tab-discard

Use native tab discarding method to automatically reduce memory usage of inactive tabs
https://webextension.org/listing/tab-discard.html
Mozilla Public License 2.0
906 stars 79 forks source link

Feature request: Discard background tabs *Before* Load #270

Open megamorphg opened 2 years ago

megamorphg commented 2 years ago

This option exists already when right-clicking a link and then clicking "Open in a New Discarded Tab."

Would it be possible to have an option to have this behavior occur by default for tabs opened in background any other way? (via middle click or bookmarks)

Right clicking a link every single link every time to open discarded is not possible especially when opening a folder of bookmarks.

This is different from the current option to "Discard all newly opened inactive tabs after they get loaded" because Chrome does not even waste resources rendering the tab (until it is activated).

rNeomy commented 2 years ago

because Chrome does not even waste resources rendering the tab (until it is activated).

When I have the "Discard all newly opened inactive tabs after they get loaded" plug-in enabled, even if I open multiple tabs from a bookmarks folder, Chrome still loads them, and hence they get discarded. I am not sure how to reproduce the issue

p.s.: forcing the tabs to get loaded is not a good idea. It looks like the browser detects limited resource availability, so it prevented rendering these new tabs.

megamorphg commented 2 years ago

@rNeomy I switched to Firefox. It is possible to unload before load as this extension is able to do it: image

Only problem is that ATD does everything else much better. If possible please add this for Firefox when right-clicking bookmarks. It is really useful in Firefox when opening 100 bookmarks especially since Firefox has some weird memory leak issues with too many tabs sometimes.