Nov 16, 2012
I am sharing an idea, let me know how we can improve it or how useful this is.
We are going to use the dataURI and A[DOWNLOAD] in this example.
window.location.href="data:text/plain,text goes here";
Check this simple prototype here - http://jsbin.com/uwoxat
If anything helps, feel free to buy me a beer.
By : Motyar+ @motyar