Handle broken SessionStorage & LocalStorage


I accidentally learned that if you block third-party cookies in Chrome, HTML5 games hosted on itch.io are denied access to LocalStorage and SessionStorage, even though it still works if you're testing using localhost, or on your own website. I was super-confused for a while!

Anyhow, I added workarounds and a warning.


Files

fracas3.zip Play in browser
Apr 25, 2021

Comments

Log in with itch.io to leave a comment.

nice