I made a website which uses localStorage, but I mainly tested it in Opera.
The way the website gets the locally stored data is by using a JS for loop:
for (var key in localStorage) {
// DO STUFF!
}
When my friends used the website with chrome and firefox they told me it displays random strings.
Screens here: https://i.stack.imgur.com/okfld.png (list on the left are the localstorage keys) and https://i.stack.imgur.com/0Qz5C.png
My first assumption is that Chrome or Firefox added some localStorage items on each visit to the website (deleting the cookies doesn't fix the issue as they re-occur).
The problem is that when my website calls for the users/localStorage, it just says "get all cookie keys" and seems to get literally ALL, even the ones that the browsers create.
I can only think of 1 way to fix it, by just blocking all the keywords that chrome and firefox create within the JS itself, and forcing it not to be shown.
Any ideas? I know this is extremely specific but it is troublesome. additional info, I already checked the extensions they were using, but they don't seem to be the trouble (because I have the same one's and these localstorage anomalies aren't an issue).
Thanks to all responses and putting up with me :)
Also, my website if anyone else wishes to report more bugs: