We don't give extensions direct access to the file system because we're worried they might be vulnerable to cross-site scripting. What problem are you trying to solve with your extension?
Adam On Tue, Oct 27, 2009 at 7:22 PM, ( David . RJ . 2K ) <[email protected]> wrote: > > Hi, I'm creating a gChrome extension, but I depared with a problem: > > Is possible get files and folders by JS? > > Example: > > var drivers = self.chrome.fileSystem.drivers; > for(var driver in drivers) > { > console.log("You have: " + driver); > } > > Then display anything as: > You have: C:/ > You have: D:/ > ... > > And too support to files and folders (as glob or readdir, for PHP). > > Bye. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en -~----------~----~----~----~------~----~------~--~---
