Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

DownloadSource

A DownloadSource object represents the source of a download, for example a document or an URI.

Properties

Attribute Type Description
url Read only string The URI for the download source.
isPrivate Read only boolean Indicates whether the download originated from a private window. This determines the context of the network request that is made to retrieve the resource.
referrer Read only string Referrer URI of the download source, or null if no referrer should be sent or the download source is not HTTP.

See also

Document Tags and Contributors

 Contributors to this page: P.A.
 Last updated by: P.A.,