Skip to content

bigpanda79/the-great-er-discarder-er

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Great-er Discarder-er

- The Great Discarder
+ The Great-er Discarder-er

Since the "The Great Discarder" project has been dormant for years, and the semi-related "The Great Suspender" has hit some bumps in the road, I thought I'd take a crack at publishing this clean fork.

The Great-er Discarder-er continues where "The Great Discarder" left off some 4 years ago. I plan to add some functionality and address some old open issues while keeping things simple.


What does "Discard" mean?

Discarding a tab does not close or remove or delete the tab. It's a feature of Chrome that simply frees up resources and memory that the tab is using. Discarding tabs should let Chrome run faster while consuming less memory.


Added Features

  • Discard all tabs at startup - Prevents Chrome from loading all your tabs at startup, while preserving the tabs in your last session.
  • Discard other eligible tabs - Same as "Discard other tabs" but observes the current auto-discard settings, like skipping Pinned and Audio tabs.
  • Optional link to Chrome Discards - Adds a link on the context and popup menus to launch the built-in chrome://discards/ page.
  • Options / Settings page now switches to an existing tab if one exists, instead of always launching a new tab.
  • Removed Google Analytics tracking from original code.

see CHANGELOG for full Release Notes


If you have suggestions or problems using the extension, please submit a bug or a feature request.


Chrome Web Store

The Great-er Discarder-er is available on the Chrome Web Store.



Notes from the original author...

"The Great Discarder" started as a clone of another (former) open source chrome extension "The Great Suspender". It was built to take advantage of Chromium's 'tab discarding' functionality which is essentially a native implementation of tab suspension. This extension is more robust and performant, both in the resources consumed by the extension, and the memory savings of the tab suspension. It is also compatible with chrome tab history syncing.

Install as a local extension from source

  1. Download the latest release and unarchive to your preferred location (whichever suits you).
  2. Using Google Chrome, 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 downloaded, unarchived release and confirm.

Build from github

Dependencies: openssl, nodejs / 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 chrome://extensions to install locally.

License

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

Shoutouts

deanoemcke for original extension (before selling it) [thegreatdiscarder] (https://github.com/deanoemcke/thegreatdiscarder)
This package uses the indexedDb wrapper [db.js] (https://github.com/aaronpowell/db.js) written by Aaron Powell.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.9%
  • HTML 9.5%
  • CSS 7.6%