Sloth

Automatically discards all tabs at startup, before they load, reducing memory footprint and unnecessary bandwidth usage.

What is Sloth?

Sloth is a Chrome extension developed by HRJ, and its main feature is "Automatically discards all tabs at startup, before they load, reducing memory footprint and unnecessary bandwidth usage.".

Extension Screenshots

screenshot

Download Sloth Extension CRX File

Download Sloth extension files in crx format, manually install Chrome extensions in the browser, or share the crx files with friends to easily install Chrome extensions.

Extension Usage Instructions

                        An open-source and light-weight chrome / chromium extension which ensures that tabs are lazily loaded.

Source code: https://github.com/hrj/sloth

Requires Chrome 54+.

## How it works

This plugin uses the discard API available since Chrome 54. All tabs except new tabs or "special" tabs are discarded. Discarded tabs are visible in the tab bar, but not loaded from the network nor kept in memory.

If a window doesn't have a new tab, it is created and activated. This prevents any tab from loading during startup, unless you explicitly select it.

Special tabs are those with chrome:// URLs, for example.

Note: Where there are hundreds of tabs open in the session, a couple of them sneak through and become active. This limitation is due to the design of the browser. See https://github.com/hrj/sloth/issues/1.

## History / Credits

I found an extension called Native Lazy Tabs here. It was distributed under the GPL license. I adapted it and added the "new tab" feature.

The icon is by Jaime Serra, distributed under the CC license.                    

Extension Basic Information

Name Sloth Sloth
ID filkeckmpdjogddcamkafnekhgfaehkc
Official URL https://chromewebstore.google.com/detail/sloth/filkeckmpdjogddcamkafnekhgfaehkc
Description Automatically discards all tabs at startup, before they load, reducing memory footprint and unnecessary bandwidth usage.
File Size 25.24 KB
Installation Count 2,377
Current Version 0.5
Last Updated 2019-08-27
Publish Date 2019-08-27
Rating 4.33/5 Total 24 Ratings
Developer HRJ
Payment Type free
Extension Website https://github.com/hrj/sloth/
Help Page URL https://github.com/hrj/sloth/issues
Supported Languages en-GB
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Sloth",
    "short_name": "Sloth",
    "description": "Automatically discards all tabs at startup, before they load, reducing memory footprint and unnecessary bandwidth usage.",
    "version": "0.5",
    "permissions": [
        "tabs"
    ],
    "background": {
        "scripts": [
            "js\/eventPage.js"
        ],
        "persistent": false
    },
    "icons": {
        "16": "img\/icon16.png",
        "48": "img\/icon48.png",
        "128": "img\/icon128.png"
    },
    "browser_action": {
        "default_icon": {
            "16": "img\/icon16.png",
            "48": "img\/icon48.png",
            "128": "img\/icon128.png"
        }
    },
    "incognito": "not_allowed",
    "manifest_version": 2,
    "minimum_chrome_version": "54",
    "options_ui": {
        "page": "html\/options.html",
        "chrome_style": true
    }
}