难道谷歌浏览器有API来访问它的下载页面? [英] Does Google Chrome have APIs to access its downloads page?

查看:158
本文介绍了难道谷歌浏览器有API来访问它的下载页面?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是否能够通过扩展进军谷歌Chrome的下载页面/附加?我想要写,需要所有当前正在由用户下载的文件的文件名(或路径)的扩展。请问这可能吗?哪些API我应该看什么?这是很棘手的搜索这个,我不知道从哪里开始。

Am I able to "tap into" Google Chrome's Downloads page through an extension/add-on? 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? It is quite tricky to search for this and I don't know where to begin.

推荐答案

一个有点晚了,但我认为这是可能现在用 chrome.downloads API:

A bit late but I think it is possible now with the chrome.downloads API:

http://developer.chrome.com/extensions/downloads.html

这篇关于难道谷歌浏览器有API来访问它的下载页面?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆