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!
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 ...
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!
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