Achshar Achshar - 8 months ago 51
Javascript Question

Edge not removing localStorage entries

I have been unable to remove localStorage entries from Edge across page loads. I tried with js first with

and then removed them manually in dev tools. The row gets removed but comes back on page reload. As if the changes to localStorage are not being saved. This only happens in Edge, Chrome works fine. Any ideas?

Edit: Not a typo in real code.


Some other part of another window DOMContentLoaded was settings localstorage on page load. D'oh moment right there.