Tab Mix Plus

Official Home of TMP
It is currently Fri May 24, 2013 1:16 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 13 posts ] 
Author Message
 Post subject: Unload Tab feature
PostPosted: Tue Jun 07, 2011 9:10 am 
Offline

Joined: Tue Jun 07, 2011 8:55 am
Posts: 2
Hello,

As the "Tab Mix Plus" plugin is often used by people heavily relying on tabs, I think it would be a good idea to add an "Unload Tab" feature to let users ease on computer resources. One possible way to access this feature could be by right-clicking a tab and choosing the "Unload" option.

Thanks!


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Tue Jun 07, 2011 10:13 am 
Offline
Admin

Joined: Wed Aug 03, 2005 1:13 am
Posts: 5194
Location: Rocky Mountains
What's 'Unload'?

_________________
VistaHP/Fx latest beta/TMP latest dev.build/Troubleshooting TMP/My styles


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Tue Jun 07, 2011 11:24 am 
Offline

Joined: Tue Jun 07, 2011 8:55 am
Posts: 2
In Firefox 4 it is possible to set the option "browser.sessionstore.max_concurrent_tabs" in about:config to 0 (zero), so when one opens the browser with lots of tabs saved from the last session, only the currently selected tab actually loads, all other don't and remain not loaded, thus not taking memory, not running their javascript code, flash and etc - they remain in "inactive" state until one is being clicked - then it goes active and loads its content. By "unloading" I mean making a tab that is in "active" state go inactive and thus free the memory it consumes, stop running its javascript, flash, etc.


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Fri Mar 02, 2012 12:10 pm 
Offline

Joined: Sun Feb 12, 2012 4:56 am
Posts: 3
Location: Germany
Seconded.

This is/was a feature of BarTab/UnloadTab or something. This would make TMP perfect.


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Sat Mar 10, 2012 6:36 pm 
Offline

Joined: Sat Mar 10, 2012 6:20 pm
Posts: 1
Thirded.

The add-ons that add 'Unload Tab' to the tab context menu seem to all be going away. FF will keep them from loading initially, and I don't care about unloading tabs after an inactivity timeout, I just want to be able to unload the occasional misbehaving tab.

This is the only feature I know of that I would like to add to Tab Mix Plus. Thanks for the hard work!


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Sat Jun 16, 2012 9:51 am 
Offline

Joined: Sat Jun 16, 2012 9:43 am
Posts: 1
I'm "fourthing" this suggestion. I routinely have so many tabs in my FF session now that I could really use the Unload Tab feature. Could the Developers consider adding this?

Staskorz described it very well: By "unloading" I mean making a tab that is in "active" state go inactive and thus free the memory it consumes, stop running its javascript, flash, etc.

Thanks much!


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Mon Jun 18, 2012 7:27 am 
Offline
Admin
User avatar

Joined: Thu Aug 04, 2005 1:12 pm
Posts: 7295
try this
https://addons.mozilla.org/en-US/firefo ... ound-tabs/

_________________
Tab Mix Plus 0.4.1.0
latest Dev-Build
Forum RSS, Troubleshooting


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Mon Nov 19, 2012 6:07 am 
Offline

Joined: Sat Oct 27, 2012 4:58 am
Posts: 7
onemen wrote:
try this
https://addons.mozilla.org/en-US/firefo ... ound-tabs/ (Add-on Suspend background tabs)

I tried this and it works nice. But it has one big disadvantage: It suspends background tabs immediately with no time delay. This is something unfortunately I can't use.


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Wed Dec 19, 2012 2:35 pm 
Offline

Joined: Wed Dec 19, 2012 2:18 pm
Posts: 16
I'm "fifthing"

for the time being, I use the above addon


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Sun Dec 23, 2012 7:41 pm 
Offline

Joined: Sun Dec 23, 2012 7:19 pm
Posts: 3
I LUUURVE TabMixPlus and am a long-time user, but I have temporarily switched to Tab Utilities because TMP is missing this feature, called "Restart Tab" / "Restart All Tabs" in Tab Utilities.

You'd totally make my (new) year if you included this feature!

Would also be nice to have the option to have newly-opened background tabs start out in the unloaded state, either as a setting for certain tab sources, or as a separate, new menu item called something like, "Open link in unloaded tab."


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Thu Dec 27, 2012 2:16 pm 
Offline

Joined: Wed Dec 19, 2012 2:18 pm
Posts: 16
tab utilities has this option?

gonna try to extract the code and add it to TMP


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Thu Dec 27, 2012 3:41 pm 
Offline

Joined: Wed Dec 19, 2012 2:18 pm
Posts: 16
this is the code

Code:
tabutils._restartTab = function() {
  gBrowser.restartTab = function restartTab(aTab) {
    var tabState = tabutils._ss.getTabState(aTab);
    var bTab = this.addTab();
    bTab.collapsed = true;
    bTab.linkedBrowser.stop();
    bTab.linkedBrowser.docShell;
    this.swapBrowsersAndCloseOther(aTab, bTab);
    tabutils._ss.setTabState(aTab, tabState);
  };


Top
 Profile  
 
 Post subject: Re: Unload Tab feature
PostPosted: Sun Jan 13, 2013 8:16 am 
Offline

Joined: Fri Nov 27, 2009 10:36 am
Posts: 7
onemen wrote:


There's also an [Experimental] add-on called Dormancy (https://addons.mozilla.org/en-us/firefo ... y/reviews/) that claims to 'retire' long unused background tabs (sort of a reverse tabs on demand). It sort of works, but alas, it has at least one killer quirk in that it renames tabs with nondescript gobbledegook like "data:text/html...xyz</title>".

As far as I can tell, Dormancy and Suspend-Backgrounds perform different tasks. If the developers of the two could co-operate to produce a single 'killer' add-on, it could produce a significant performance boost. It would be nice to see this sort of functionality incorporated into Mozilla Firefox proper. For all the tinkering they've done with Firefox v4.0, it's still a lumbering beast when it has a tab clogged session running for more than an hour or two (especially when using TMP's otherwise superior session manager).

Thanks @onemen for the above tip by the way. It has definitely sped up my browser no end. I suspect that their may be some blow back for certain fringe cases where I actually want background tabs to continue executing 'actions'. That said, I haven't found one yet.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 13 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group