Downloads Open

downloads.open
Medium RiskCategory: System & PerformanceView Official Docs

Install Warning

"Manage your downloads."

Technical Context

Extends the downloads permission to allow the extension to open downloaded files using chrome.downloads.open(). This enables automatic opening of files after download completion.

What This Means For You

The extension can automatically open files after downloading them. This is convenient but means downloaded files can be executed without your explicit action.

Related APIs

This permission enables access to these Chrome APIs:

chrome.downloads.open

Common Use Cases

  • Download managers
  • File handlers

How to Declare in manifest.json

Add the "downloads.open" permission to your extension manifest:

{
  "manifest_version": 3,
  "name": "My Extension",
  "permissions": [
    "downloads.open"
  ]
}

What Users Will See

When users install your extension, Chrome will display this warning:

This extension can:

"Manage your downloads."

Related Permissions