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:

sessionStorage.setItem('ttbTest', 'It Works');

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

let result = sessionStorage.getItem('ttbTest');
document.getElementById("result").innerText = result;

< Back