Experimental: This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The downloadRequest
read-only property of the NavigateEvent
interface returns the filename of the file requested for download, in the case of a download navigation (e.g. an <a>
or <area>
element with a download
attribute), or null
otherwise.