<- Chrome Settings Library

FileOrDirectoryPickerWithoutGestureAllowedForOrigins

Allow file or directory picker APIs to be called without prior user gesture
Last updated October 8, 2024

For security reasons, the showOpenFilePicker(), showSaveFilePicker() and showDirectoryPicker() web APIs require a prior user gesture ("transient activation") to be called or will otherwise fail. With this policy set, admins can specify origins on which these APIs can be called without prior user gesture. For detailed information on valid url patterns, please see https://cloud.google.com/docs/chrome-enterprise/policies/url-patterns. * is not an accepted value for this policy. If this policy is unset, all origins will require a prior user gesture to call these APIs.

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

{"0":"https://www.example.com","1":"[*.]example.edu"}

Features: