<!DOCTYPEHTML>
<html>
<head>
<meta charset="utf-8">
<title>Storage inspector test for correct keys in the sidebar</title>
</head>
<body>
<script type="application/javascript"> "use strict";
// Some local storage items ...
localStorage.setItem("", "1");
localStorage.setItem("键", "2");
// ... and finally some session storage items too
sessionStorage.setItem("Key with spaces", "3");
sessionStorage.setItem("Key#with~special$characters", "4");
// long string
const longKey = "a".repeat(1000);
sessionStorage.setItem(longKey, "5");
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.