title: download mp3 file through xmlhttprequest and save it as a file somewhere for upload later
body: <p>I am currently writing a chrome extension and am stuck at how to handle xmlhttprequest's responsetext as a file. As the title said, I need to download the mp3 given a link and save it as a real physical file anywhere that I can access again in my extension. I can't seem to find information on how to save a file from javascript given the type is not simple text. Any help is appreciated, thanks. </p>