automaticDownloads property
ContentSetting
get
automaticDownloads
Whether to allow sites to download multiple files automatically. One of
allow
: Allow sites to download multiple files automatically,
block
: Don't allow sites to download multiple files automatically,
ask
: Ask when a site wants to download files automatically after the
first file.
Default is ask
.
The primary URL is the URL of the top-level frame. The secondary URL is
not used.
Implementation
ContentSetting get automaticDownloads =>
ContentSetting.fromJS($js.chrome.contentSettings.automaticDownloads);