15 lines
333 B
HTML
15 lines
333 B
HTML
<!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>
|