<- Chrome Settings Library

ClearBrowsingDataOnExitList

Clear Browsing Data on Exit
Last updated October 8, 2024

Configures a list of browsing data types that should be deleted when the user closes all browser windows. Warning: Setting this policy can impact and permanently remove local personal data. It is recommended to test your settings before deploying to prevent accidental deletion of personal data. The available data types are browsing history (browsing_history), download history (download_history), cookies (cookies_and_other_site_data), cache (cached_images_and_files), autofill (autofill), passwords (password_signin), site settings (site_settings) and hosted apps data (hosted_app_data). This policy does not take precedence over AllowDeletingBrowserHistory. Until Chrome 114, this policy required the SyncDisabled policy to be set to true. Starting Chrome 115, setting this policy will disable sync for the respective data types if neither `Chrome Sync` is disabled by setting the SyncDisabled policy nor BrowserSignin is disabled. If for some reason the data deletion has started and did not complete, the browsing data will be cleared the next time the profile is loaded. If Google Chrome does not exit cleanly (for example, if the browser or the OS crashes), the browsing data will not be cleared since the browser closing was not a result of the use closing all the browser windows.

Supported On:
Platform Start End
Chrome (Windows, Mac, Linux) 89
ChromeOS 89
Example value:

{"0":"browsing_history","1":"download_history","2":"cookies_and_other_site_data","3":"cached_images_and_files","4":"password_signin","5":"autofill","6":"site_settings","7":"hosted_app_data"}

Features: