title: JQuery file download works in Chrome but not firefox
body: <p>I have a short piece of JQuery that creates a .M3U file containing only a single string, which it then prompts the user to download. This works fine in Chrome but has no effect in Firefox, and no errors appear on the FireFox console. Can anyone help?</p>
  
  <pre><code>function playfile(filepath) {
      var file = document.createElement('a');
      file.setAttribute('href', 'data:text/plain;charset=utf-8,' + decodeURIComponent(unescape(filepath)));
      file.setAttribute('download', "Play.m3u");
      file.click();
  }
  </code></pre>