Skip to content

Commit

Permalink
Merge pull request #1135 from deanoemcke/feature/small-tidyups
Browse files Browse the repository at this point in the history
Feature/small tidyups
  • Loading branch information
deanoemcke authored May 23, 2020
2 parents 524b44f + e01643d commit 9730c09
Show file tree
Hide file tree
Showing 30 changed files with 293 additions and 520 deletions.
15 changes: 0 additions & 15 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,6 @@ module.exports = function(grunt) {
],
},
},
noticeTgut: {
files: {
'<%= config.tempDir %>src/js/':
'<%= config.tempDir %>src/js/background.js',
},
options: {
replacements: [
{
pattern: /greatsuspender\.github\.io\/notice\.json/,
replacement: 'greatsuspender.github.io/notice-tgut.json',
},
],
},
},
},
crx: {
public: {
Expand Down Expand Up @@ -124,7 +110,6 @@ module.exports = function(grunt) {
'copy',
'string-replace:debugon',
'string-replace:localesTgut',
'string-replace:noticeTgut',
'crx:public',
'crx:private',
'clean',
Expand Down
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

"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](https://github.com/deanoemcke/thegreatsuspender/issues/). For other enquiries you can email me at greatsuspender@gmail.com.
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 greatsuspender@gmail.com.

**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
).
Expand All @@ -13,13 +13,13 @@ If you have suggestions or problems using the extension, please [submit a bug or

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/deanoemcke/thegreatsuspender/issues/526).
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).

For more information on the permissions required for the extension, please refer to this gitHub issue: (https://github.com/deanoemcke/thegreatsuspender/issues/213)
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/deanoemcke/thegreatsuspender/releases)** and unarchive to your preferred location (whichever suits you).
1. Download the **[latest available version](https://github.com/greatsuspender/thegreatsuspender/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.
Expand Down Expand Up @@ -48,7 +48,7 @@ The extension in crx format will be inside the build/crx/ directory. You can dra

### 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/deanoemcke/thegreatsuspender/issues/276) for more information. And please let me know about it so that I can try it out!
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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"repository": {
"type": "git",
"url": "git://github.com/deanoemcke/thegreatsuspender.git"
"url": "git://github.com/greatsuspender/thegreatsuspender.git"
},
"keywords": [
"chrome",
Expand All @@ -24,7 +24,7 @@
"author": "deanoemcke",
"license": "GPLv2",
"bugs": {
"url": "https://github.com/deanoemcke/thegreatsuspender/issues"
"url": "https://github.com/greatsuspender/thegreatsuspender/issues"
},
"devDependencies": {
"eslint": "^4.19.1",
Expand Down
8 changes: 0 additions & 8 deletions src/_locales/de/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
"html_about_browserstack": { "message": "browserstack" },
"html_about_browserstack_prefix": { "message": "Ein weiterer Dank an" },
"html_about_browserstack_suffix": { "message": "für die kostenlosen Chrome Testwerkzeuge." },
"html_about_feeling_generous": { "message": "Du kannst The Great Suspender mit einer Spende unterstützen:" },
"html_about_already_donated": { "message": "Bereits gespendet?" },
"html_about_thanks_for_your_donation": { "message": "Vielen Dank für deine Spende. You've made thank you cat happy." },
"html_about_want_to_donate_again": { "message": "Willst du erneut spenden?" },
"html_history_title": { "message": "Sitzungsverwaltung" },
"html_history_current_session": { "message": "Aktuelle Sitzung" },
"html_history_recent_sessions": { "message": "Kürzliche Sitzungen" },
Expand Down Expand Up @@ -168,7 +164,6 @@
"html_suspended_click_to_reload": { "message": "Aktualisieren oder Klicken zum Neuladen" },
"html_suspended_toast_not_connected": { "message": "Du bist nicht mit dem Internet verbunden." },
"html_suspended_toast_reload_disabled": { "message": "Automatische Tab Aktualisierung ist temporär deaktiviert." },
"html_suspended_donation_question": { "message": "Bist du zufrieden mit dieser Erweiterung?<br>Dann unterstütze das Projekt durch eine Spende:" },
"html_permissions_title": { "message": "Berechtigungen" },
"html_permissions_heading": { "message": "Bitte erlaube Zugriff auf lokale (Datei-) URLs" },
"html_permissions_info": { "message": "Diese Erweiterung darf derzeit keine URLs aussetzen, die beginnen mit: \"file\".\nUm das zu ändern, aktiviere \"Zugriff auf lokale (Datei-) URLs\" in den Einstellungen der Erweiterung." },
Expand Down Expand Up @@ -199,9 +194,6 @@
"html_thanks_title": { "message": "Danke" },
"html_thanks_header": { "message": "Danke für deine Unterstützung!" },
"html_thanks_sub_header": { "message": "Mögen dir großartige Dinge geschehen." },
"js_donate_paypal": { "message": "PayPal" },
"js_donate_bitcoin": { "message": "Crypto" },
"js_donate_patreon": { "message": "Patreon" },
"js_popup_normal": { "message": "Tab wird automatisch ausgesetzt." },
"js_popup_normal_pause": { "message": "Nicht jetzt" },
"js_popup_special": { "message": "Tab kann nicht ausgesetzt werden" },
Expand Down
11 changes: 0 additions & 11 deletions src/_locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
"html_about_browserstack": { "message": "browserstack" },
"html_about_browserstack_prefix": { "message": "Thank you also to" },
"html_about_browserstack_suffix": { "message": "for providing free chrome testing tools." },
"html_about_feeling_generous": { "message": "You can support The Great Suspender by donating:" },
"html_about_already_donated": { "message": "Already donated?" },
"html_about_thanks_for_your_donation": { "message": "Thanks a lot for your donation. You've made thank you cat happy." },
"html_about_want_to_donate_again": { "message": "Want to donate again?" },
"html_history_title": { "message": "Session management" },
"html_history_current_session": { "message": "Current session" },
"html_history_recent_sessions": { "message": "Recent sessions" },
Expand Down Expand Up @@ -168,7 +164,6 @@
"html_suspended_click_to_reload": { "message": "Refresh or click to reload" },
"html_suspended_toast_not_connected": { "message": "You are not connected to the internet" },
"html_suspended_toast_reload_disabled": { "message": "Automatic tab reloading is temporarily disabled." },
"html_suspended_donation_question": { "message": "Does this extension make you happy?\nShow your support by donating." },
"html_permissions_title": { "message": "Permissions" },
"html_permissions_heading": { "message": "Please give me access to local file URLs" },
"html_permissions_info": { "message": "This extension is not currently permitted to suspend URLs beginning with the word \"file\".\nTo change this, please turn on \"Allow access to file URLs\" from the extension settings page." },
Expand Down Expand Up @@ -196,12 +191,6 @@
"html_welcome_text_line1": { "message": "Thanks for trying" },
"html_welcome_text_line2": { "message": "I make your computer run smoothly by suspending the tabs you aren't using." },
"html_welcome_text_line3": { "message": "You can fine-tune the settings below." },
"html_thanks_title": { "message": "Thanks" },
"html_thanks_header": { "message": "Thanks for the support!" },
"html_thanks_sub_header": { "message": "May great things come your way today." },
"js_donate_paypal": { "message": "PayPal" },
"js_donate_bitcoin": { "message": "Crypto" },
"js_donate_patreon": { "message": "Patreon" },
"js_popup_normal": { "message": "Tab will suspend automatically." },
"js_popup_normal_pause": { "message": "Not now" },
"js_popup_special": { "message": "Tab cannot be suspended" },
Expand Down
11 changes: 0 additions & 11 deletions src/_locales/pt_BR/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
"html_about_browserstack": { "message": "browserstack" },
"html_about_browserstack_prefix": { "message": "Obrigado também por" },
"html_about_browserstack_suffix": { "message": "disponibilizar ferramentas gratuitas de teste do Chrome." },
"html_about_feeling_generous": { "message": "Você pode apoiar The Great Suspender doando:" },
"html_about_already_donated": { "message": "Já doou?" },
"html_about_thanks_for_your_donation": { "message": "Muito obrigado por sua doação. Você fez o gato da gratidão feliz." },
"html_about_want_to_donate_again": { "message": "Quer doar de novo?" },
"html_history_title": { "message": "Gerenciamento de sessão" },
"html_history_current_session": { "message": "Sessão atual" },
"html_history_recent_sessions": { "message": "Sessões recentes" },
Expand Down Expand Up @@ -168,7 +164,6 @@
"html_suspended_click_to_reload": { "message": "Atualize ou clique para recarregar" },
"html_suspended_toast_not_connected": { "message": "Você não está conectado à Internet" },
"html_suspended_toast_reload_disabled": { "message": "O recarregamento automático de guias está temporariamente desativado." },
"html_suspended_donation_question": { "message": "Esta extensão te faz feliz?\nMostre seu apoio doando." },
"html_permissions_title": { "message": "Permissões" },
"html_permissions_heading": { "message": "Por favor, me dê acesso a URLs de arquivos locais" },
"html_permissions_info": { "message": "No momento, esta extensão não está permitida a suspender as URLs que começam com a palavra \"file\".\nPara mudar isso, ative \"Permitir acesso a URLs de arquivo\" na página de configurações da extensão." },
Expand Down Expand Up @@ -196,12 +191,6 @@
"html_welcome_text_line1": { "message": "Obrigado por experimentar" },
"html_welcome_text_line2": { "message": "Eu deixo seu computador funcionar sem problemas suspendendo as guias que você não está usando." },
"html_welcome_text_line3": { "message": "Você pode ajustar bem as configurações abaixo." },
"html_thanks_title": { "message": "Obrigado" },
"html_thanks_header": { "message": "Obrigado pelo apoio!" },
"html_thanks_sub_header": { "message": "Que grandes coisas cheguem a você hoje." },
"js_donate_paypal": { "message": "PayPal" },
"js_donate_bitcoin": { "message": "Crypto" },
"js_donate_patreon": { "message": "Patreon" },
"js_popup_normal": { "message": "A guia será suspensa automaticamente." },
"js_popup_normal_pause": { "message": "Agora não" },
"js_popup_special": { "message": "A guia não pôde ser suspensa" },
Expand Down
11 changes: 0 additions & 11 deletions src/_locales/pt_PT/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
"html_about_browserstack": { "message": "browserstack" },
"html_about_browserstack_prefix": { "message": "Obrigado também por" },
"html_about_browserstack_suffix": { "message": "disponibilizar ferramentas gratuitas de teste do Chrome." },
"html_about_feeling_generous": { "message": "Você pode apoiar The Great Suspender doando:" },
"html_about_already_donated": { "message": "Já doou?" },
"html_about_thanks_for_your_donation": { "message": "Muito obrigado por sua doação. Você fez o gato da gratidão feliz." },
"html_about_want_to_donate_again": { "message": "Quer doar de novo?" },
"html_history_title": { "message": "Gerenciamento de sessão" },
"html_history_current_session": { "message": "Sessão atual" },
"html_history_recent_sessions": { "message": "Sessões recentes" },
Expand Down Expand Up @@ -168,7 +164,6 @@
"html_suspended_click_to_reload": { "message": "Atualize ou clique para recarregar" },
"html_suspended_toast_not_connected": { "message": "Você não está conectado à Internet" },
"html_suspended_toast_reload_disabled": { "message": "O recarregamento automático de guias está temporariamente desativado." },
"html_suspended_donation_question": { "message": "Esta extensão te faz feliz?\nMostre seu apoio doando." },
"html_permissions_title": { "message": "Permissões" },
"html_permissions_heading": { "message": "Por favor, me dê acesso a URLs de arquivos locais" },
"html_permissions_info": { "message": "No momento, esta extensão não está permitida a suspender as URLs que começam com a palavra \"file\".\nPara mudar isso, ative \"Permitir acesso a URLs de arquivo\" na página de configurações da extensão." },
Expand Down Expand Up @@ -196,12 +191,6 @@
"html_welcome_text_line1": { "message": "Obrigado por experimentar" },
"html_welcome_text_line2": { "message": "Eu deixo seu computador funcionar sem problemas suspendendo as guias que você não está usando." },
"html_welcome_text_line3": { "message": "Você pode ajustar bem as configurações abaixo." },
"html_thanks_title": { "message": "Obrigado" },
"html_thanks_header": { "message": "Obrigado pelo apoio!" },
"html_thanks_sub_header": { "message": "Que grandes coisas cheguem a você hoje." },
"js_donate_paypal": { "message": "PayPal" },
"js_donate_bitcoin": { "message": "Crypto" },
"js_donate_patreon": { "message": "Patreon" },
"js_popup_normal": { "message": "A guia será suspensa automaticamente." },
"js_popup_normal_pause": { "message": "Agora não" },
"js_popup_special": { "message": "A guia não pôde ser suspensa" },
Expand Down
11 changes: 0 additions & 11 deletions src/_locales/ru/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,6 @@
"html_about_browserstack": { "message": "browserstack" },
"html_about_browserstack_prefix": { "message": "Отдельное спасибо" },
"html_about_browserstack_suffix": { "message": "за бесплатные средства отладки Chrome." },
"html_about_feeling_generous": { "message": "Вы можете поддержать The Great Suspender, отправив пожертвование:" },
"html_about_already_donated": { "message": "Уже пожертвовали?" },
"html_about_thanks_for_your_donation": { "message": "Большое спасибо за пожертвование. Наш кот теперь доволен." },
"html_about_want_to_donate_again": { "message": "Хотите пожертвовать ещё?" },
"html_history_title": { "message": "Управление сессиями" },
"html_history_current_session": { "message": "Текущая сессия" },
"html_history_recent_sessions": { "message": "Предыдущие сессии" },
Expand Down Expand Up @@ -168,7 +164,6 @@
"html_suspended_click_to_reload": { "message": "Обновите или нажмите для обновления" },
"html_suspended_toast_not_connected": { "message": "Нет подключения к интернету" },
"html_suspended_toast_reload_disabled": { "message": "Автоматическое обновление вкладок временно отключено." },
"html_suspended_donation_question": { "message": "Вам понравилось это расширение?\nОтправьте пожертвование." },
"html_permissions_title": { "message": "Разрешения" },
"html_permissions_heading": { "message": "Пожалуйста, разрешите доступ к локальным файлам" },
"html_permissions_info": { "message": "У расширения в данный момент нет разрешения приостанавливать вкладки с URL-адресами, начинающимися со слова \"file\".\nЧтобы это изменить, включите \"Разрешить открывать локальные файлы по ссылкам\" со страницы настроек расширения." },
Expand Down Expand Up @@ -196,12 +191,6 @@
"html_welcome_text_line1": { "message": "Спасибо за использование" },
"html_welcome_text_line2": { "message": "Я ускорю Ваш компьютер, приостанавливая неиспользуемые вкладки." },
"html_welcome_text_line3": { "message": "Вы можете настроить параметры ниже." },
"html_thanks_title": { "message": "Спасибо" },
"html_thanks_header": { "message": "Спасибо за поддержку!" },
"html_thanks_sub_header": { "message": "Пусть сегодня Вам сопутствует удача." },
"js_donate_paypal": { "message": "PayPal" },
"js_donate_bitcoin": { "message": "Crypto" },
"js_donate_patreon": { "message": "Patreon" },
"js_popup_normal": { "message": "Вкладка будет приостановлена автоматически." },
"js_popup_normal_pause": { "message": "Не сейчас" },
"js_popup_special": { "message": "Вкладка не может быть приостановлена" },
Expand Down
Loading

0 comments on commit 9730c09

Please sign in to comment.