attachment/file

attachment/file

[1] FileSaver.js/FileSaver.js at master · eligrey/FileSaver.js ( 版) <https://github.com/eligrey/FileSaver.js/blob/master/FileSaver.js#L103>

target_view.location.href = "data:attachment/file" + base64Data.slice(base64Data.search(/[,;]/));