local storage is not for communicating with different websites. You get a different localstorage for each website.
If you save some string to local storage then come back to the same site it should still be there. If it’s not, something else is going on.
JΛ̊KE