williamparry
williamparry

Reputation: 488

Chrome Extension write to file system

I'd like to be able to take a screenshot of a page and give the user the option to save it to their desktop (with a standard OS file save prompt). Is this possible from the Chrome Extension environment? I'm not worried about the image side, more the saving to the user file system.

I've looked at the following pages (among others):

Making a Chrome Extension download a file

http://www.html5rocks.com/en/tutorials/file/filesystem/#toc-support

Upvotes: 5

Views: 9294

Answers (1)

Boris Smus
Boris Smus

Reputation: 8472

Take a look at this HTML5Rocks update: http://updates.html5rocks.com/2011/08/Saving-generated-files-on-the-client-side

Here's a demo of this in action: http://eligrey.com/demos/FileSaver.js/

Upvotes: 6

Related Questions