Question

I have a javascript function that processes data and generates a file to be downloaded. The main browsers have a native function or allow using the download attribute on the A tag as a way to save this file on the client's disk. IE 9 and 8 (which I must still support) doesn't. So it came to my mind I could use flash to do the work in these cases (ExternalInterface.addCallback), however it looks like I will need to place an extra button to do so (https://stackoverflow.com/a/3302164), isn't there a way to contour this and call FileReference.save without a click?

Was it helpful?

Solution

Nope no way. This is a security restriction in the flash player.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top