title: Download blobs locally using Safari
body: <p>I'm trying to find a cross browser way to store data locally in HTML5. I have generated a chunk of data in a Blob (<a href="https://developer.mozilla.org/en-US/docs/DOM/Blob">see MDN</a>). Now I want to move this Blob to the actual filesystem and save it locally. I've found the following ways to achieve this;</p>
  
  <ul>
  <li>Use the <code>&lt;a download&gt;</code> attribute. This works only in Chrome currently.</li>
  <li>Microsoft introduces a <code>saveAs</code> function in IE 10 which will achieve this.</li>
  <li>Open the Blob URL in the browser and save it that way.</li>
  </ul>
  
  <p>None of these seems to work in Safari though. While (1) works in Chrome, (2) in IE and (3) in Firefox no one works in Safari 6. The download attribute is not yet implemented and when trying to open a blob using the URL Safari complains that URLs starting with <code>blob:</code> are not valid URLs.</p>
  
  <p>There is a good script that encapsulates (1) and (3) called <a href="https://github.com/eligrey/FileSaver.js/">FileSaver.js</a> but that does not work using the latest Safari version.</p>
  
  <p>Is there a way to save Blobs locally in a cross browser fashion?</p>