<- Chrome Settings Library

DefaultCookiesSetting

Default cookies setting
Last updated October 8, 2024

Unless the RestoreOnStartup policy is set to permanently restore URLs from previous sessions, then setting CookiesSessionOnlyForUrls lets you make a list of URL patterns that specify sites that can and can't set cookies for one session. Leaving the policy unset results in the use of DefaultCookiesSetting for all sites, if it's set. If not, the user's personal setting applies. URLs not covered by the patterns specified also result in the use of defaults. While no specific policy takes precedence, see CookiesBlockedForUrls and CookiesAllowedForUrls. URL patterns among these 3 policies must not conflict.

Supported On:
Platform Start End
Android 30
Chrome (Windows, Mac, Linux) 10
ChromeOS 11
Example value:

1

Features: