简体   繁体   English

Google Chrome浏览器是否具有访问其下载页面的API?

[英]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.

相关问题 Android API是否与其旧版本具有兼容性? - Does Android APIs have compatibilty for its old versions? JDK是否对自己的API进行了一些优化? - Does JDK have some optimizations for its own apis? Google如何防止机器人刮掉其API? - How does Google prevent a bot from scraping its APIs? 同一页面上有两个不同的 Google API,但您在此页面上多次包含 Google Maps API 错误 - Two different Google APIs on same page, but get You have included the Google Maps API multiple times on this page Error Azure REST API 是否有 OpenAPI 规范? - Does Azure REST APIs have OpenAPI specifications? javascript是否有像API这样的概念 - Does javascript have a concept like APIs Google Chrome还有一个控制台对象。 它的等效API页面在哪里? - Google chrome also has a console object. Where is its equivalent API page? Chrome扩展程序和加载外部Google API时遇到了ReferenceError - Chrome Extensions and loading external Google APIs Uncaught ReferenceError 其他公司/产品/网站是否通过Google Data API提供访问权限? - Are other companies/products/websites providing access via Google Data APIs? GeneXus是否具有调用外部程序的API的功能? - Does GeneXus have the functionality to call external program's APIs?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM