2

Chrome Version 27.0.1448.0 dev尝试打电话时

chrome.downloads.download(url:song.url);

我收到错误chrome.downloads is not available: You do not have permission to access this API. Ensure that the required permission or manifest property is included in your manifest.json.

我的权限看起来像。

"permissions": [
    "downloads",
    "https://*/*", "http://*/*",
    "tabs"
 ],
4

1 回答 1

0

我相信这是一项实验性功能,因此您可能还需要请求“实验性”许可。

于 2013-03-28T20:37:14.170 回答