Write to a file without external JS libraries (pure Javascript) in a browser ?
问题 Is it possible to write a string to a file (create the file if it doesn't exist) without any external Javascript libraries , purely with Javascript code ? I'm trying to implement a client side code that whenever it reaches a page (.ASPX) it writes few strings into a file (let's say output.txt ) and that's it . From everything I see over the internet , JavaScript is not allowed to write anything to the hard drive . Is that so ? no workarounds ? 回答1: As said in the comments, what you sound to