Skip to content

Firefox port of a chrome extension for suspending all tabs to free up memory

License

Notifications You must be signed in to change notification settings

dvalter/ff-thegreatsuspender

 
 

Repository files navigation

Unofficial The Great Suspender for Firefox

This is a work-in-progress port of "The Great Suspender" WebExtension for Mozilla Firefox and compatible browsers. Current TODO could be found in TODO. You may also submit a bug or pull request via Github.

Debugging

You may load it as a temporary extension at about:debugging

Building from source

There are two options

  1. Use npm as described in the original README and rename zip/crx into xpi
  2. Use pack_xpi.sh or do the same manually

NOTE: to install an unsigned xpi you should use Developer or custom build of Firefox with disabled extension signing enforcement. It may also work on some GNU/Linux distros. Search for it yourself if required.

The rest of README file carried from the original project without change. However do not submit bug reports about this project to original author's repository.

The Great Suspender

"The Great Suspender" is a free and open-source Google Chrome extension for people who find that chrome is consuming too much system resource or suffer from frequent chrome crashing. Once installed and enabled, this extension will automatically suspend tabs that have not been used for a while, freeing up memory and cpu that the tab was consuming.

If you have suggestions or problems using the extension, please submit a bug or a feature request. For other enquiries you can email me at [email protected].

New release!

I am currently rolling out a new chrome webstore release.

If you have lost tabs from your browser: I have written a guide for how to recover your lost tabs here.

Chrome Web Store

The Great Suspender is available via the official Chrome Web Store.

Please note that the webstore version may be behind the latest version here. That is because I try to keep webstore updates down to a minimum due to their disruptive effect.

For more information on the permissions required for the extension, please refer to this gitHub issue: (greatsuspender#213)

Install as an extension from source

  1. Download the latest available version and unarchive to your preferred location (whichever suits you).
  2. Using Google Chrome browser, navigate to chrome://extensions/ and enable "Developer mode" in the upper right corner.
  3. Click on the Load unpacked extension... button.
  4. Browse to the src directory of the unarchived folder and confirm.

If you have completed the above steps, the "welcome" page will open indicating successful installation of the extension.

Be sure to unsuspend all suspended tabs before removing any other version of the extension or they will disappear forever!

Build from github

Dependencies: openssl, npm.

Clone the repository and run these commands:

npm install
npm run generate-key
npm run build

It should say:

Done, without errors.

The extension in crx format will be inside the build/crx/ directory. You can drag it into [extensions] (chrome://extensions) to install locally.

Integrating with another Chrome extension or app

This extension has a small external api to allow other extensions to request the suspension of a tab. See this issue for more information. And please let me know about it so that I can try it out!

Contributing to this extension

Contributions are very welcome. Feel free to submit pull requests for new features and bug fixes. For new features, ideally you would raise an issue for the proposed change first so that we can discuss ideas. This will go a long way to ensuring your pull request is accepted.

License

This work is licensed under a GNU GENERAL PUBLIC LICENSE (v2)

Shoutouts

This package uses the html2canvas library written by Niklas von Hertzen.
It also uses the indexedDb wrapper db.js written by Aaron Powell.
Thank you also to BrowserStack for providing free chrome testing tools.

About

Firefox port of a chrome extension for suspending all tabs to free up memory

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 93.9%
  • HTML 4.1%
  • CSS 2.0%