Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 480
williamparry Avatar asked Nov 08 '11 23:11

williamparry


1 Answers

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/

like image 95
Boris Smus Avatar answered Sep 26 '22 20:09

Boris Smus