Hacker News new | ask | show | jobs
by CornCobs 1526 days ago
You can do anything with the DOM in javascript - you could create an anchor node then download the file automatically via a.click()
1 comments

That's how I do it now. And it's an ugly hack. Why is it not natively supported?
What would you consider a native support? ability to drop files on user drives without prompt?
No, of course not. I’m not talking about the user experience. I’m talking about native support in the fetch API to take downloaded data and save it to a file. User experience might be the user being prompted for a location, etc, just like now when saving a file through a hyperlink download.