在尝试呼叫时使用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"
],发布于 2013-03-29 04:37:14
我相信这是一个试验性的特性,所以你可能也需要申请“试验性”许可。
https://stackoverflow.com/questions/15672257
复制相似问题