I am basically writing a stopwatch-like program, but then I want to allow people to save their "timings" to the hard drive (for example, if you bill clients by the hour, you could use this to record your time). This might be example of trying to use a browser for that which it is not intended because I am really not using any web functionality (except for hosting/delivering the program). The main reason I am trying to do this via javascript in a web browser is 1) cross-platform compatibility (though I'm realizing that making it cross-browser compatible is a headache in itself) 2) make it lightweight and 3) browsers have a lot of the UI I want already there (for example, I want to have the be ability to collapse/expand tables, which I can easily do by just hiding tables).
Thanks! On Mar 15, 10:06 pm, Aaron Boodman <[email protected]> wrote: > Nope, not at the moment. What are you trying to do? > > - a > > > > On Sat, Mar 14, 2009 at 4:34 PM, Joe <[email protected]> wrote: > > > I apologize if this is the wrong place to ask this question, but I > > couldn't find a better place to ask it and I figure people in this > > group would know the answer. > > > Is there a way to access a user's file system using javascript on > > chrome? In Firefox, I would do this: > > try { > > netscape.security.PrivilegeManager.enablePrivilege > > ( "UniversalXPConnect" ); > > var save_file = Components.classes["@mozilla.org/file/local; > > 1"].createInstance(Components.interfaces.nsILocalFile ); > > } > > catch (e) {alert ("there was a problem saving the file");}- Hide quoted > > text - > > - Show quoted text - --~--~---------~--~----~------------~-------~--~----~ Chromium Discussion mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-discuss -~----------~----~----~----~------~----~------~--~---
