javascript - 将文件从网页拖到本地磁盘?

标签 javascript file html

我刚刚读过this blog post它指出:

Google is now working on reversing the process -- allowing us to drag files out of Gmail messages and drop them onto our local folders.onto our local folders.

我的问题是:这怎么可能?

最佳答案

在当前的浏览器中并非如此。

它将要求浏览器实现 API 才能实现这一点,并且页面才能使用该 API。这大概就是 Google 正在努力的方向。

关于javascript - 将文件从网页拖到本地磁盘?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3123011/

相关文章:

javascript - grunt-contrib-uglify 不解析 "let"关键字吗?

html - 为什么 div 的子元素会改变 body 和 html 之间的边距?

html - 溢出 : hidden on non floating element causes it to shrink

javascript - 如何在CoffeeScript中循环输出多个对象的属性?

javascript - 我怎样才能让谷歌图表工具提示保持点击以点击其中的链接

c - 追加到 C 文件的末尾

python - 有没有办法将字符串从基于行空间的文件中拆分出来?

c++ - 简单的 Windows C++ 不可见

asp.net-mvc - 带有 .NET MVC 3 Razor Editor 的 Html5 占位符用于扩展?

javascript - ReactJS:基于 AJAX 时如何处理组件状态?