1
0
mirror of https://github.com/Pathduck/pathduck.github.io.git synced 2025-12-29 11:45:20 -05:00
Files
pathduck.github.io/test/session-storage/show_storage.html
2025-06-01 11:43:10 +02:00

28 lines
666 B
HTML
Executable File

<html>
<head>
<title>VB-99904 test result</title>
<style>body {color: white; background: darkslategray;} a {color: deepskyblue;}</style>
<script>
const sessiondata = "session-data-for-VB-99904";
const start = () => {
const result = JSON.stringify(sessionStorage);
document.getElementById("results").innerHTML =
"sessionStorage : " + result;
};
</script>
<style>
.storage-results {color: lime; background-color: black;}
</style>
</head>
<body onload="start()">
<h2>sessionstorage results:</h2>
<div class="storage-results" id="results"></div>
<div>Should be 'session-data-for-VB-99904'</div>
</body>
</html>