AboutSupportDeveloper GuideVersion 40.130.101.1

A rule that governs download behavior, discriminated by the URL of the download.

interface DownloadRule {
    behavior: FileDownloadBehavior;
    match: string[];
}

Properties

Properties

Whether file downloads raise a user prompt.

match: string[]

Array of match patterns specifying URL(s) of the resource(s) being downloaded.

The match is evaluated against the URL of the file, which is not necessarily the same as that of the page in which a file download link is embedded.