If for example you follow the link:(例如,如果您点击链接:)
data:application/octet-stream;base64,SGVsbG8=
The browser will prompt you to download a file consisting of the data held as base64 in the hyperlink itself.(浏览器将提示您下载一个文件,该文件包含超链接本身中保存为base64的数据。) Is there any way of suggesting a default name in the markup?(有什么办法可以建议标记中的默认名称吗?) If not, is there a JavaScript solution?(如果没有,是否有JavaScript解决方案?)
ask by translate from so
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…