We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
<script src="http://cdn.jsdelivr.net/g/filesaver.js"></script> <script> function SaveAsFile(t,f,m) { try { var b = new Blob([t],{type:m}); saveAs(b, f); } catch (e) { window.open("data:"+m+"," + encodeURIComponent(t), '_blank',''); } } SaveAsFile("text","filename.txt","text/plain;charset=utf-8"); </script>