{TametheBots}

sessionStorage API

The Result:

sessionStorage? It fails

Testing if Googlebot can use the sessionStorage api. There is a script in the head that sets a value in sessionStorage:

<script>
sessionStorage.setItem('ttbTest', 'It Works');
</script>

There is then another script at the bottom of the page that takes this value, and changes the innerText of the results span.

<script>
let result = sessionStorage.getItem('ttbTest');
document.getElementById("result").innerText = result;
</script>

< Back