Home > XUL Apps > Suspend Tab

Suspend Tab Ver.1.0.2016061501 for Mozilla Firefox

What's this? ...abstract

This addon suspends background tabs to save the memory.

There are some existing addons for this purpose. However, this is defferent from others on the point: this addon unloads only the current contents and fastload caches for "Back"/"Forward", so it don't break metadata related to tabs and provides ability to suspend/restore tabs with less side effects. (On the other hand, because this addon calls very unstable/internal APIs of Firefox itself, this can be disabled by Firefox's update in the future.)

Other similar addons overwrites tab state or close the original tab after duplication, so they can break other tab related addons like Tree Style Tab. This is started to be developed to solve such compatibility issues.

Similar or Related Extensions

I cannot trust such an addon which calls internal APIs. Is there any other alternatives which is based on stable/public APIs?
Dormancy and UnloadTab suspend tabs via public APIs, so they are often stabler than this addon.
I hope to save my CPU resources instead of the memory.
Suspend background tabs doesn't unload tabs but stops scripts in background pages.

Download Links to XPI packages

If you see any problem, see FAQ at first. If there is no solution, post a report to the issue tracker on the GitHub please.

Including Language Packs

Released version includes following language packs:

  • English (en-US)
  • Japanese (ja)

History There is the updating history and the list of known problems.

1.0.2016061501
  • Don't select pending tab after suspending of the current tab, if possible.
  • Respect preferences for visibility of "Suspend Other Items" menu items.
1.0.2016020401
  • Works on Nightly 47.0a1.
  • Supports e10s.
  • Add "Don't suspend this site automatically" to the tab context menu.
  • Detect host name of web pages more correctly.
  • Visibility options for menu items work correctly.
  • Next focused tab after the current tab is suspended is now configurable.
  • Newly opened background tabs can be suspended by default.
  • Features are available from the context menu on the contents area.
  • Provide ability to limit the number of on-memory tabs.
0.2.2014050201
  • Works on Firefox 29 and Nightly 32.0a1.
  • Drop support for Firefox 25, 26, 27 and 28.
0.1.2013111801
  • Works on Firefox 25 and later.
  • Fixed: Background tabs are suspended correctly after a while, even if there is no exception. (by YosukeM, thanks!)
0.1.2013053101
  • Modified: Just to pass through AMO Editor's review, make codes free from "evalInSandbox()" and E4X. They were still there only for backward compatibilities so they never caused errors/security issues on lately Firefox, however, editors persecutive rejected those codes, then I've given up and removed them.
0.1.2013052901
  • Modified: Some codes depending on "evalInSandbox()" are just removed. AMO Editors always banned new releases, because an included library had codes with "evalInSandbox()" for backward compatibility - even if it is NEVER called on this addon.
  • Modified: Update codes around session store API.
0.1.2013040601
  • Fixed: Restore suspended tab automatically when it is reloaded.
0.1.2012122901
  • Released.
Last modified:2017/09/08 02:02:11