Welcome guest, is this your first visit? Create Account now to join.
Results 1 to 2 of 2

This is a discussion on Anyone knows how to open a file using javascript within the Chrome Plugins section, part of the Google Chrome category: I want to open and write in a file during the chrome extension session. Since the ActiveXObject are not available ...


  1. #1
    wusiyang is offline Junior Member
    Join Date
    Jun 2010
    Posts
    2

    Default Anyone knows how to open a file using javascript

    I want to open and write in a file during the chrome extension session. Since the ActiveXObject are not available in Chrome, does anyone know how to create and write a file from chrome extension? Thanks a lot!

  2. #2
    Waha's Avatar
    Waha is offline Senior Member
    Join Date
    Apr 2009
    Location
    Oregon
    Posts
    788

    Default

    You can't. There is no JavaScript capability for opening a file.
    You could do it through an NPAPI extension.
    Or if this is only required for the extension itself, (like, nothing else has to access it as a file), you could store the data in localStorage.
    ~ Projects ~
    Specialized: Carapass Auction Watcher, Kongregate Chat
    Libraries: bliplib
    Tools: manifest syntax highlighting & snippits
    ~ Happy to make extensions for pay too ;D ~
    Portfolio: Search and Share

Similar Threads

  1. Replies: 0
    Last Post: 12-13-2009, 09:59 PM
  2. Javascript not interpreted
    By mleneveut in forum Bugs and Vulnerabilities
    Replies: 3
    Last Post: 11-26-2009, 08:59 AM
  3. problems with javascript
    By p.fil in forum Chrome Troubleshooting
    Replies: 1
    Last Post: 10-04-2009, 03:19 AM
  4. Chrome and Javascript
    By stwallace in forum Chrome Troubleshooting
    Replies: 3
    Last Post: 09-30-2009, 12:47 AM
  5. 3D + Javascript + Your web browser
    By Kyrax in forum General Chat
    Replies: 4
    Last Post: 04-23-2009, 02:39 AM

Posting Permissions

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