1

enter image description here

I want to keep certain tabs from ever being discarded automatically by Chrome. The settings have a section for doing so, but the syntax of the exceptions is not clear. Should I use regexes? Globs? Should https:// be included? ...

Will this setting be reflected in chrome://discards/? Because my Gmail tabs show as discardable even with the exception I have added. enter image description here

Related:

1
  • Have you tried from your last link using "Keep specific sites active - Add current sites" to let Chrome write the exception for you?
    – harrymc
    Commented Jan 4 at 18:31

1 Answer 1

1

Source: Personalize Chrome performance - Google Chrome Help

The web address format for the manual site exclusion policy is: [scheme://][.]host[:port][/path][@query].

Here are some examples of how to add sites manually if you want to create an exclusion for:

  • Entire domains and subdomains: Exclude the URL scheme. For example, google.com matches and prevents deactivation of subdomains like drive.google.com and calendar.google.com.
  • Specific domains, but not any subdomains: Include a dot (.) before the URL host. For example, .google.com won't match and prevent deactivation of subdomains like www.google.com, drive.google.com, and calendar.google.com.
  • Specific subdirectory: Include the URL path. For example, www.google.com/finance matches and prevents deactivation of all Google Finance pages, but won't prevent deactivation of the www.google.com= =main pages.
  • URL host and query components: Asterisks () can be used as wildcards. For example, https://* matches and prevents deactivation of all https sites and youtube.com/watch?v=* matches and prevents deactivation of YouTube videos.
    • Wildcards for prefix, suffix, or substring matches of the URL host component aren't supported. For example, *oogle.com or google.com/* won't match and prevent deactivation.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .