What is the "Auto Tab Discard" extension and how does it work?
"Auto Tab Discard" extension aims to reduce both memory and CPU usage of inactive tabs when they have not been used for a specified period of time. The extension basically monitors tab inactivity period and request discarding if the tab that is not been used for that period. A tab that goes to the discarded state actually gets wiped up from memory and hence can not run any background scripts at all. This significantly improves browser performance and prevents unwanted background activities when they are not really needed.
Can I help translating this extension into other languages?
Yes, please join the team https://www.transifex.com/open-source-dev/auto-tab-discard/dashboard/.
How can I prevent a certain website from being discarded?
If a tab is playing media or has unsaved form data, by default the extension does not request discarding of the tab (there are other conditions too. check the options page to visit all available ones). So normally there is no need to whitelist a hostname. But if you need to whitelist a hostname for any reason, you can use the right-click item over the toolbar button to append the hostname. If a hostname is in the list, all tabs originated from this hostname will not go to the discarded state. You can add multiple hostnames from the options page or even remove one hostname from the whitelist.
What's new in this version?
Please check the Logs section.
When I select "Discard all inactive tabs" from the toolbar context menu, some tabs do not go the discarded state. Is there any reason for this?
By default the extension does not request discarding of a tab when it has unsaved form data or a media is playing. You can use the options page to alter this behavior or add new conditions like do not discard tabs when they are pinned.
What does happen if I have a few discarded tabs and my browser crashes?
Basically nothing at all. Since this extension uses the native method, your browser will restore all the discarded tabs like all other opened tabs.
What is the difference between the native method and the method that is used by other similar extensions?
In the native method, the extension requests tab discarding from your browser and browser handles the rest. Basically, when this request is received, tab data (like scroll position or its HTML content) is stored in a binary object and tab is wiped out completely so there will be no activity related to this tab what so ever. In the non-native methods, the tab is being replaced with an internal resource page which is lighter than the actual tab definitely but this method has many drawbacks like restoring the actual tab needs to be handled at the extension level or still, the tab uses memory (like a normal light tab) and is not actually been wiped from tab list.
[Firefox Only] Can I use this extension to discard tabs when multiprocessor support is disabled?
Unfortunately not. If
browser.tabs.remote.autostart is set to
false in the about:config, this extension is not operating correctly. For more info see https://github.com/rNeomy/auto-tab-discard/issues/66
|Please keep reviews clean, avoid the use of improper language and do not post any personal information.|
|idle||to resume timers after when system is restored from idle state|
|storage||to keep internal preferences and the user-defined ones|
|tabs||to inject monitoring script into tabs|
|*://*/*||to have permission to injecting monitoring script into tabs|
|contextMenus||to add items to the right-click context menu over the toolbar button and tab elements|
|notifications||to display notifications|