AboutSupportDeveloper GuideVersion 41.131.100.46

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.