Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It was definitely there three years ago. The trick is to create an <a> with the "download" attribute and set the URL to a data URI (or, if supported, use a blob and URL.createObjectURL). That will get you a download prompt.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: