I want to create a file in javascript. Before you say that it is impossible, go read this answer.
Here is what I have so far :
window.open("data:text/json;charset=utf-8," + escape("Ur String Object goes here"));
Now, my question is : How do I give a name to this file?