This question already has an answer here:
这个问题在这里已有答案:
- Save images to hard disk WITHOUT prompt? 6 answers
没有提示,将图像保存到硬盘? 6个答案
Can I save page pictures from GreaseMonkey script directly to my hard drive?
我可以将GreaseMonkey脚本中的页面图片直接保存到我的硬盘吗?
Is the easiest way to do it - to setup my server and translate picture urls to it using GM_xmlhttpRequest ?
是最简单的方法 - 设置我的服务器并使用GM_xmlhttpRequest将图片网址翻译成它?
1 个解决方案
#1
3
No, you can't. GreaseMonkey still is within the Browser sandbox and this means you cannot access any system resources. There is no FileSystem API in (browser-integrated) JavaScript anyway.
不,你不能。 GreaseMonkey仍在浏览器沙箱中,这意味着您无法访问任何系统资源。无论如何,(浏览器集成的)JavaScript中没有FileSystem API。
Maybe DownThemAll! helps you.
也许DownThemAll!帮助你。
#1
3
No, you can't. GreaseMonkey still is within the Browser sandbox and this means you cannot access any system resources. There is no FileSystem API in (browser-integrated) JavaScript anyway.
不,你不能。 GreaseMonkey仍在浏览器沙箱中,这意味着您无法访问任何系统资源。无论如何,(浏览器集成的)JavaScript中没有FileSystem API。
Maybe DownThemAll! helps you.
也许DownThemAll!帮助你。