[英]Does Google Chrome have APIs to access its downloads page?
Am I able to "tap into" Google Chrome's Downloads page through an extension/add-on? 我是否可以通过扩展程序/附加程序“进入” Google Chrome的下载页面? I want to write an extension that needs the file names (or paths) of all the files that are currently being downloaded by the user.
我想编写一个扩展名,该扩展名需要用户当前正在下载的所有文件的文件名(或路径)。 Will this possible?
这可能吗? What APIs should I be looking at?
我应该看什么API? It is quite tricky to search for this and I don't know where to begin.
搜索这个很棘手,我不知道从哪里开始。
No I can not find a Google Chrome API that will allow you to see the files that are currently being downloaded. 否,我找不到Google Chrome浏览器API,该API可让您查看当前正在下载的文件。
There are a number of experimental APIs, that alow deep integration with the browser here bt none that provide the information you require: 有许多实验性API,可与此处的浏览器进行深度集成,但没有提供所需信息的API:
http://code.google.com/chrome/extensions/dev/experimental.html http://code.google.com/chrome/extensions/dev/experimental.html
Not until Chrome 30. 直到Chrome 30。
http://peter.sh/2013/08/webgl-and-device-motion-for-android-port-forwarding-and-named-grid-areas/ http://peter.sh/2013/08/webgl-and-device-motion-for-android-port-forwarding-and-named-grid-areas/
It looks like Chrome extensions download's api will be released with chrome 30, and has been marked stable according to Peter Beverloo's blog. 根据Peter Beverloo的博客,Chrome扩展程序下载的api似乎将与chrome 30一起发布,并被标记为稳定。
A bit late but I think it is possible now with the chrome.downloads
API: 有点晚了,但我认为现在可以使用
chrome.downloads
API:
http://developer.chrome.com/extensions/downloads.html http://developer.chrome.com/extensions/downloads.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.