Results 1 to 6 of 6

This is a discussion on Can Chrome extension write log-files? within the Plugins Development section, part of the Chrome Plugins category: Hi. Does Chrome provides any API for writing log-files from extension's content script? I lack for this functionality when debugging ...


  1. #1
    alex82 is offline Junior Member
    Join Date
    Dec 2009
    Posts
    6

    Default Can Chrome extension write log-files?

    Hi. Does Chrome provides any API for writing log-files from 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 ideas?

    Thanks in advance!
    Last edited by alex82; 12-27-2009 at 02:06 AM.

  2. #2
    alex82 is offline Junior Member
    Join Date
    Dec 2009
    Posts
    6

    Default

    No suggestions?

  3. #3
    hexid is offline Junior Member
    Join Date
    Oct 2009
    Posts
    6

    Default

    you can try
    Code:
    console.log();
    then press Control-Shift-J to open the javascript console and view the log...

  4. #4
    alex82 is offline Junior Member
    Join Date
    Dec 2009
    Posts
    6

    Default

    No, no, I mean log-files located on windows file system.

  5. #5
    hexid is offline Junior Member
    Join Date
    Oct 2009
    Posts
    6

    Default

    you can't do this with javascript for security reasons...
    and probably for the same reasons you shouldn't be able to do it with chrome's APIs...i may be wrong tho...

  6. #6
    Bloody_Turds is offline Senior Member
    Join Date
    Aug 2009
    Posts
    152

    Default

    that doesnt mean google couldnt offer online storage specifically for log files ^^
    although i still dont see a problem with it storing log files, on the condition that they are only in .txt format similar to cookies...

Similar Threads

  1. google Chrome having trouble play wmv files
    By liujeffqi in forum Bugs and Vulnerabilities
    Replies: 3
    Last Post: 04-06-2011, 06:29 AM
  2. .tmp files not cleared on Chrome close
    By pjfla in forum Chrome Troubleshooting
    Replies: 2
    Last Post: 12-19-2009, 02:54 AM
  3. Help:restarting Chrome deletes extension's files.
    By alex82 in forum Plugins Development
    Replies: 0
    Last Post: 12-11-2009, 06:18 AM
  4. Write plugin without installing google chrome developer version
    By spsarolkar in forum Plugins Development
    Replies: 4
    Last Post: 08-19-2009, 04:18 AM
  5. How do I write Chrome plugins?
    By Simon in forum Chrome Tech
    Replies: 4
    Last Post: 04-05-2009, 06:35 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •