Freeze active content in background tabs

Bug reports and enhancement requests
Post Reply
RichZzz
Posts: 13
Joined: Sat May 29, 2010 10:04 pm

Freeze active content in background tabs

Post by RichZzz »

I would like to have the possibility to freeze all scripts, active content and reloading in background tabs.
Is this possible?
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100406 Fedora/3.5.9-1.fc10
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Freeze active content in background tabs

Post by Giorgio Maone »

In latest development build this happens for refreshes/reloads on untrusted pages.
Doing this with all the background tabs and all the active content may be very cumbersome, hurt performance and lead to very unwanted side effect on many sites (GMail is the first coming to mind, but anything AJAX will probably fit as well).
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
RichZzz
Posts: 13
Joined: Sat May 29, 2010 10:04 pm

Re: Freeze active content in background tabs

Post by RichZzz »

stopping reloads is a great step forward but for various reasons I think it would be a good idea to freeze scripts in inactive tabs. Sure, not without exceptions like gmail - even though I use the plain html interface which I guess will be broken anyway because it relies on reloading?

The top reasons I want to freeze inactive tabs:
* privacy - just too much information leaking, makes it harder to isolate rogue sites when many tabs do requests
* performance, network load, some folks on mobile connections have limited traffic allowances
* restart behaviour: a while ago I tried to restart a crashed session which contained a dozen or so tabs with various embedded videos. Upon restart the plugins attempted to videos start playing all at once.. resulting in another crash
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100406 Fedora/3.5.9-1.fc10
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: Freeze active content in background tabs

Post by Alan Baxter »

I use the BarTab extension to freeze inactive tabs. Have you checked it out yet?
https://addons.mozilla.org/en-US/firefox/addon/67651
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100527 Firefox/3.6.4
RichZzz
Posts: 13
Joined: Sat May 29, 2010 10:04 pm

Re: Freeze active content in background tabs

Post by RichZzz »

The BarTab extension looks really interesting, thanks.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100406 Fedora/3.5.9-1.fc10
Alan Baxter
Ambassador
Posts: 1586
Joined: Fri Mar 20, 2009 4:47 am
Location: Colorado, USA

Re: Freeze active content in background tabs

Post by Alan Baxter »

RichZzz wrote:The BarTab extension looks really interesting, thanks.
You're welcome.
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.4) Gecko/20100527 Firefox/3.6.4
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Freeze active content in background tabs

Post by therube »

To point out, the current BarTab, Beta 2.1b2 works in SeaMonkey (& FF4).

(I've only used it in SeaMonkey 2.0.x so far. And it's great! It may not be fully functional, like I think there should be context menu's <?>, but who cares. It significantly speeds up browser <session restore> load to use times (main incentive for me) while at the same time keeps memory requirements down.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.17) Gecko/20110123 SeaMonkey/2.0.12
dhouwn
Bug Buster
Posts: 968
Joined: Thu Mar 19, 2009 12:51 pm

Re: Freeze active content in background tabs

Post by dhouwn »

Firefox 4 has a BarTab-like behavior concerning session restore when browser.sessionstore.max_concurrent_tabs is set to 0.
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0b12pre) Gecko/20110218 Firefox/4.0b12pre
Post Reply