Hello,
is there a way to remove the document/web content from a tab’s linkedBrowser? Currently I am implementing a tab “unloading” feature in All Tabs Helper, using the /grab tab data/remove tab/add new tab/restore tab with data/ method inspired by Bar Tab. This method seems to be very effective, although it is a bit clumsy. I have explored other tab “unloading” implementation done by other addons, but from what I see they are either messy and fragile, or just not very effective.
Maybe this is an age-old question, but I am looking for the least impacting way to unload tabs especially a way that actually unloads the tab in place, while still getting the effectiveness I am getting with my current method. I see a tab/browser is loaded using nsIWebNavigation interface but I find no corresponding “unload” method. I have naively experimented with approaches such as removing the docShell from the browser, but I am not having success.
Any input on this would be much appreciated.
Allasso