Option to unload all tabs other than active tab
Could you make the amount of time configurable and include a way to white list domains from the tab context menu?
Would be also nice to have on tab context menu a command to instantly unload all tabs, selected tab and tabs to the left/right
Exactly what I came here to request myself.
Editable timeout and suspend all except the front tab would be great.
Hey! Thanks for reporting this :)
Configuring tab timeout is #9 and whitelisting domains is #7, making this about:
"Would be also nice to have on tab context menu a command to instantly unload all tabs, selected tab and tabs to the left/right"
IIRC there's no API for adding context menu items to tabs in WebExtensions APIs yet, only to web content context menu.
Web extensions have the ability to have tab context menus. Here is an example

Also Undo close tab button https://addons.mozilla.org/en-US/firefox/addon/undo-close-tab-button/ has the option to display the closed tabs in the tab context menu
There is also page context menu support in web extensions if somehow you are not able to do the tab context menu

Thanks!!! I'd searched all over MDN and couldn't find the docs for those. Turns out they're not a contextMenu and you don't do them through tabs APIs, they're an entirely different thing: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/menus/ContextType
On Mon, Jan 8, 2018 at 11:54 AM rayman89 [email protected] wrote:
Web extensions have the ability to have tab context menus. Here are some examples
[image: imagen] https://user-images.githubusercontent.com/5449042/34689509-5e761bca-f47b-11e7-9d78-a9368ff5a2ea.png
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/autonome/Dormancy/issues/11#issuecomment-356077396, or mute the thread https://github.com/notifications/unsubscribe-auth/AADDt50wAwRsBxPqffJc0Q3Os7Foz0eIks5tInJ4gaJpZM4QsHt6 .
Did you imagine this as unloading on a timer still, or immediately after a tab is not one of active, right-of-active, left-of-active?
The idea of a "turbo" mode where we unload tabs hyperactively is interesting.
Ok, re-read the request, and you're describing this as a one-time thing. Filed #32 for turbo mode.