I uploaded a game yesterday (https://achifaifa.itch.io/laserworks), and I just realised the storage option I was using (LocalStorage directly with JS) doesn't work, since that's treated as the local storage of <randomstring>.ssl.hwcdn.net rather than <user>.itch.io. You can see this if you open the developer console and look at the storage>local storage tab.
It worked perfectly when I had the game on a github page, but I guess this is because the script gets served from a CDN, so the browser creates a local storage for that CDN instead of itch.
Is there a workaround for this or another storage option I could use?