Disabilità l'auto-discard per tutti i tabs oppure per i tabs con domini spefici
Disable automatic discarding for all Chrome tabs or for tabs opened on specific/configured domains.
Developed on v3 Chrome Extensions manifest specification.
This extension can be configured to work in different modes, the configuration file is located in the extension installation folder, i.e. for Windows :
- C:\Users\<current user>\AppData\Local\Google\Chrome\User Data\Default\Extensions\<extension ID>\<extension version>\config.json
The configuration file has this structure :
{
"defaultWorkMode":"DISABLE_FOR_ALL_TABS",
"domains":["domain1.example.com","domain2.example.com","domain3.example.com","..."]
}
"defaultWorkMode" parameter :
This mandatory parameter controls the behaviour of the extension, allowed values :
- EXTENSION_DISABLED -> Disable the extension, Chrome standard auto-discard behaviour
- DISABLE_FOR_ALL_TABS -> Disable auto-discard for all tabs
- DISABLE_ONLY_FOR_DOMAINS -> Disable auto-discard for tabs opened on specific domains
"domains" parameter :
This optional parameter contains the array of FQDN to be used to disable auto-discard when
the extension workMode is DISABLE_ONLY_FOR_DOMAINS