forked from greatsuspender/thegreatsuspender
-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
92 changed files
with
10,655 additions
and
15,214 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,2 @@ | ||
**/Thumbs.db | ||
**/*.pem | ||
/node_modules | ||
/assets/* | ||
/build/* | ||
/.idea/* | ||
/.debris/* | ||
build/zip/thegreatsuspender-6.30-dev/welcome.html | ||
.DS_Store |
This file was deleted.
Oops, something went wrong.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,23 @@ | ||
# The Great Suspender | ||
# The Marvellous Suspender | ||
|
||
<img src="/src/img/suspendy-guy.png" width="100px" /> | ||
"**The Marvellous 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. Totally based on the original "[The Great Suspender](https://github.com/greatsuspender/thegreatsuspender)" but without ADS tracking and problems explained [in this GitHub issue](https://go.gioxx.org/tgs-ads). | ||
|
||
"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. | ||
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](https://github.com/greatsuspender/thegreatsuspender/issues/). For other enquiries you can email me at [email protected]. | ||
If you have suggestions or problems using the extension, please [submit a bug or a feature request](https://github.com/gioxx/MarvellousSuspender/issues/). | ||
|
||
**If you have lost tabs from your browser:** I have written a guide for how to recover your lost tabs [here](https://github.com/deanoemcke/thegreatsuspender/issues/526 | ||
**If you have lost tabs from your browser** you can read a guide for how to recover them [here](https://github.com/deanoemcke/thegreatsuspender/issues/526 | ||
). | ||
|
||
### Chrome Web Store | ||
## Chrome Web Store | ||
|
||
The Great Suspender is [available via the official Chrome Web Store](https://chrome.google.com/webstore/detail/the-great-suspender/klbibkeccnjlkjkiokjodocebajanakg). | ||
|
||
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](https://github.com/greatsuspender/thegreatsuspender/issues/526). | ||
The Marvellous Suspender is [available via the official Chrome Web Store](https://go.gioxx.org/tgs). | ||
|
||
For more information on the permissions required for the extension, please refer to this gitHub issue: (https://github.com/greatsuspender/thegreatsuspender/issues/213) | ||
|
||
### Install as an extension from source | ||
|
||
1. Download the **[latest available version](https://github.com/greatsuspender/thegreatsuspender/releases)** and unarchive to your preferred location (whichever suits you). | ||
1. Download the **[latest available version](https://github.com/gioxx/MarvellousSuspender/releases)** 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 <kbd>Load unpacked extension...</kbd> button. | ||
4. Browse to the src directory of the unarchived folder and confirm. | ||
|
@@ -28,65 +26,17 @@ If you have completed the above steps, the "welcome" page will open indicating s | |
|
||
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](https://github.com/greatsuspender/thegreatsuspender/issues/276) for more information. And please let me know about it so that I can try it out! | ||
## Contributing to this extension | ||
|
||
### Windows Group Policies | ||
|
||
It is possible to force settings by defining group policies on Microsoft | ||
Windows. | ||
|
||
The whitelist is stored internally as a string, with one URL per line. | ||
|
||
The following settings can be defined: | ||
|
||
* `SCREEN_CAPTURE` (string, default: '0') | ||
* `SCREEN_CAPTURE_FORCE` (boolean, default: false) | ||
* `SUSPEND_IN_PLACE_OF_DISCARD` (boolean, default: false) | ||
* `DISCARD_IN_PLACE_OF_SUSPEND` (boolean, default: false) | ||
* `USE_ALT_SCREEN_CAPTURE_LIB` (boolean, default: false) | ||
* `DISCARD_AFTER_SUSPEND` (boolean, default: false) | ||
* `IGNORE_WHEN_OFFLINE` (boolean, default: false) | ||
* `IGNORE_WHEN_CHARGING` (boolean, default: false) | ||
* `UNSUSPEND_ON_FOCUS` (boolean, default: false) | ||
* `IGNORE_PINNED` (boolean, default: true) | ||
* `IGNORE_FORMS` (boolean, default: true) | ||
* `IGNORE_AUDIO` (boolean, default: true) | ||
* `IGNORE_ACTIVE_TABS` (boolean, default: true) | ||
* `IGNORE_CACHE` (boolean, default: false) | ||
* `ADD_CONTEXT` (boolean, default: true) | ||
* `SYNC_SETTINGS` (boolean, default: true) | ||
* `SUSPEND_TIME` (string (minutes), default: '60') | ||
* `NO_NAG` (boolean, default: false) | ||
* `WHITELIST` (string (one URL per line), default: '') | ||
* `THEME` (string, default: 'light') | ||
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. | ||
|
||
### Contributing to this extension | ||
### Localization (l10n) | ||
|
||
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. | ||
Feel free to help me to localize this extension in any language, you can do it using Crowdin connecting to https://crowdin.com/project/tms. If your mothertongue language is not available please "ping me" on [Twitter](https://twitter.com/Gioxx) or [submit a feature request](https://github.com/gioxx/MarvellousSuspender/issues/). | ||
|
||
### License | ||
## License | ||
|
||
This work is licensed under a GNU GENERAL PUBLIC LICENSE (v2) | ||
This work is licensed under a GNU GENERAL PUBLIC LICENSE (v3) | ||
|
||
### Shoutouts | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
files: | ||
- source: /src/_locales/en/messages.json | ||
translation: /src/_locales/%locale%/messages.json |
Oops, something went wrong.
f784295
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀👏🏼🥳