0

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?

Community
  • 1
  • 1
Wanderson Silva
  • 1,179
  • 1
  • 17
  • 35

1 Answers1

0

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

Larusso
  • 1,121
  • 8
  • 10