开发者

How to download image from internet using greasemonkey script? [duplicate]

This question already has answers here: Save images to hard disk WITHOUT prompt? 开发者_高级运维 (6 answers) Closed 3 years ago.

i am new to greasemonkey. I'd like to create scripts to change my favourite wep apps look and download images from web app like facebook.

I know some jquery and i will be able to find the image element. But i dont know how to save them in local file system.

Any help would be appreciative!

Thanks


Greasemonkey is not the tool for this.
GM will let you grab and insert external images into a page, but it cannot save images, or anything else, to the local file system. (This is by design -- as allowing JavaScript to save files is a proven security disaster.)

A pretty good extension for grabbing and saving lots of images is: DownThemAll! .

If you want to grab images automatically, you'll have to write a scraper application or your own web-application.

Greasemonkey can send images to your webserver, which can save them.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜