Disable auto-discard of all tabs or for tabs with specific domains

Latest Version

Version
1.0.4
Update
May 31, 2022
Size
35.28KiB
Developer
Category
Users
5,000+
Rating
3.66667 ★
Manifest Version
3
Web Store Status
Languages Support
English
Italiano
See more
Permissions
Tabs
Storage
Idle
Alarms
See more

No-Tabs-Auto-Discard Extension

Not all domains or web applications benefit from Chrome's tabs auto-discarding feature, in an enterprise context many of those are state-rich, always connected mission critical applications (e.g. CTI applications, monitoring applications, etc.) which can be negatively impacted by such Chrome feature.

This extension has been developed to deal with Chrome tabs auto-discarding feature by providing a way to configure its behaviour over the tabs of a Chrome instance.

The extension monitors your tabs and can be configured to:

\t- turn off the extension (Chrome default behaviour)
\t- disable auto-discarding on all tabs (already opened and new tabs)
\t- disable auto-discard for specific domains (already opened and new tabs)

The extension's configuration can be provided in two ways (in order of precedence):

\t- by Chrome Policies (for enterprise Administrator/Users distributed via Windows Group Policy)
\t- by local configuration file

Configuration Parameters
------------------------------------

This extension can be configured with this two parameters :

- DiscardDisabledMode

\tThis mandatory parameter controls the extension behaviour:

\t - EXTENSION_DISABLED
\t\tDisable the extension

\t - DISABLE_FOR_ALL_TABS (default extension mode)
\t\tDisable auto-discard for all tabs

\t - DISABLE_ONLY_FOR_DOMAINS
\t\tDisable auto-discard for specific domains (FQDN, e.g. medium.com, www.google.com)

- DiscardDisabledDomains

\tThis optional parameter is specific for DiscardDisabledMode=DISABLE_ONLY_FOR_DOMAINS and contains the list of domains for which to disable auto-discarding:

\t- e.g. [ \"medium.com\", \"www.google.com\"]

\tIf DiscardDisabledMode=DISABLE_ONLY_FOR_DOMAINS but the list is empty, the extension will behave like DiscardDisabledMode=DISABLE_FOR_ALL_TABS

Configuration Providers
------------------------------------

- Chrome Policies (for enterprise Administrator/Users distributed via Windows Group Policy)

\tThe extension configuration can be provided machine-wide or for specific users by applying enterprise policies or GPO to the device registry under the following keys:

\t- Machine-Wide
HKEY_LOCAL_MACHINE\\SOFTWARE\\Policies\\Google\\Chrome\\3rdparty\\extensions\
dpjhokgnpdcldkklhhklkgabnjehfap\\policy

\t- Specific User
HKEY_CURRENT_USER\\SOFTWARE\\Policies\\Google\\Chrome\\3rdparty\\extensions\
dpjhokgnpdcldkklhhklkgabnjehfap\\policy

Depending on your choice, under the key create the two configuration parameters:

- DiscardDisabledMode (string/REG_SZ)
- DiscardDisabledDomains (string/REG_SZ)

IMPORTANT!!! Chrome Policies have precedence over the local configuration file.
\t\t
- Local configuration file

\tThe extension can be also configured by its local configuration file (config.json), located under the extension's installation folder (e.g. on Windows) :

- C:\\Users\\\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Extensions\
dpjhokgnpdcldkklhhklkgabnjehfap\\\\config.json

The configuration file has this structure (the json below shows the default configuration) :

{
\"DiscardDisabledMode\":\"DISABLE_FOR_ALL_TABS\",
\"DiscardDisabledDomains\":[]
}

- Configuration Refresh
----------------------------------

The extension's configuration is refreshed:
\t
\t- manually
\t\t- by clicking the \"Refresh Configuration\" button on the extension popup

\t- automatically by the extension:
\t\t- when Chrome starts up
\t\t- every 60 minutes
\t\t- when the device is locked or screensaver is active for more than 2 minutes
Read more

Source Manifest.json

{ "action": { "default_popup": "popup.html" }, "author": "Alessandro Baratella", "background": { "service_worker": "background.js" }, "default_locale": "en", "description": "__MSG_manifest_description__", "icons": { "128": "icon128.png", "16": "icon16.png", "24": "icon24.png", "32": "icon32.png", "48": "icon48.png" }, "manifest_version": 3, "key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzFRQQUwM9pxTiojkdr4NAUlTXAnE5v3skCxfNDYjhFq52CbIhYzLi2KZpK+Vl4XgMl/KMEtdZ/svT13v/LbKdCbR6yj+9wXliMnQAhwBgal5GeCZbF2ew1POsRM6yhcVOVIhvY23xEV6RRrSHd2x4Q5guXsTy3+hC+2SCFSJR69oK00oMBEK9XJkzWEP3n1HsZWazI/ZtRVCUYKyGVSYFuzys+5nKF+rDM/mJw+5AcHF/Xz9u1ljcTmY7pSqBKqm+54GGuPfnetMbY6f0SxzcSIiFDjc4ha8Hlai9Gr5P0PDJM8uIrZGju+vzqU2m0SOE0Y/3BTVQ2+wanaDxhl1KwIDAQAB", "name": "__MSG_manifest_name__", "permissions": ["tabs", "storage","idle","alarms"], "storage": { "managed_schema": "schema.json" }, "update_url": "https://clients2.google.com/service/update2/crx", "version": "1.0.4"}
Read more

Similar Extensions

icon

DoNotDiscard - Disable tab discard/suspend Extension · Productivity 5,000+ 16 ★ 41.3KiB

icon

Tribal Wars Train Extension · Fun 5,000+ 62 ★ 31.52KiB

icon

Browser, don't discard my tabs Extension · Productivity 5,000+ 6 ★ 11.87KiB

icon

Disable automatic tab discarding Extension · Productivity 5,000+ 370 ★ 29.92KiB

icon

Disable Ynet auto refresh Extension · Productivity 5,000+ 9 ★ 43.22KiB

icon

Tab Discard (Suspender) Extension · Productivity 5,000+ 10 ★ 21.44KiB

icon

Five9 Softphone Extension Extension · Productivity 5,000+ 3 ★ 19.2KiB

icon

Tribal Wars Resource Buyer Extension · Productivity 5,000+ 7 ★ 50.38KiB

icon

Auto Tab Discard (suspend) Extension · Productivity 5,000+ 290 ★ 167KiB

icon

Tribal Wars Super Script Extension · Fun 5,000+ 14 ★ 2.04MiB

icon

Don't discard Extension · Productivity 5,000+ 6 ★ 58.26KiB

icon

Auto Discard Tab Extension · Productivity 5,000+ 3 ★ 392KiB

icon

Tribalwars Millisecond Clock Extension · Fun 5,000+ 8 ★ 8.98KiB

icon

NopeCHA: CAPTCHA Solver Extension · Productivity 5,000+ 457 ★ 132KiB

icon

Stop Tabs Extension · Productivity 5,000+ 13 ★ 10.48KiB

icon

ChocoChip - Cookie Manager Extension · Developer Tools 5,000+ 33 ★ 689KiB

icon

Autofarmer FK - TribalWars Extension · Fun 5,000+ 14 ★ 437KiB

icon

The Great-er Discarder-er Extension · Productivity 5,000+ 16 ★ 210KiB

icon

Tab freezer: tab suspender for faster device Extension · Productivity 5,000+ 4 ★ 403KiB

icon

hCaptcha Solver Extension · Accessibility 5,000+ 60 ★ 31.43MiB

icon

Site Bleacher Extension · Productivity 5,000+ 3 ★ 23.54KiB

icon

Tab Control Extension · Productivity 5,000+ 11 ★ 2.53MiB

icon

Vertically Listed Tabs Extension · Productivity 5,000+ 15 ★ 279KiB

icon

TW Farm Assistant Extension · Fun 5,000+ 6 ★ 61.01KiB