Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE HTML>
<html>
<head>
<title>Test open data:text/csv</title>
</head>
<body>
<a href="data:text/csv;foo,bar,foobar" id="testlink">test text/csv</a>
<script>
// click the link to have the downoad panel appear
let testlink = document.getElementById("testlink");
testlink.click();
</script>
</body>
</html>