I generate an SVG string in JavaScript.
I serve it to the user with:
window.open("data:image/svg+xml," + svg_xml_string);
When you try to save that page in Chrome it will suggest to save as download.svg is there anyway I can change the default filename of the download?
I tried:
data:image/svg+xml;headers=Content-Disposition%3Aattachment%3Bfilename%3D%22suggest.svg%22,...
But it doesn't work.