AboutSupportDeveloper GuideVersion 38.126.83.79

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.

Remarks

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.