You cannot write to disk with JavaScript. Currently in chrome, you can do "console.log('hello world!')" it will write it to the Inspector's Log.
The only way you could do what you wanted to do is either: 1) NPAPI 2) WebService somewhere in the web that you keep persisting. I am no guru, so someone else feel free to correct me if I am wrong. -Mohamed Mansour On Sat, Dec 26, 2009 at 9:11 AM, Aris <alexey.s.shish...@gmail.com> wrote: > Hi. Does Chrome provides some API for writing log-files from an > extension's content script? I lack for this functionality when > debugging my extension. > > And I also want to write user action logger extension. I suppose that > it can be accomplished with writing NPAPI extension, but I need more > lightweight approach. Any suggestion? > > Thanks in advance! > > -- > > You received this message because you are subscribed to the Google Groups > "Chromium-extensions" group. > To post to this group, send email to chromium-extensi...@googlegroups.com. > To unsubscribe from this group, send email to > chromium-extensions+unsubscr...@googlegroups.com<chromium-extensions%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/chromium-extensions?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "Chromium-extensions" group. To post to this group, send email to chromium-extensi...@googlegroups.com. To unsubscribe from this group, send email to chromium-extensions+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/chromium-extensions?hl=en.