Does the fact that
localStorageis shared across tabs have you down? Don’t worry, here’s a strange but widely supported way to store 640kb of object data in a page’s navigation state.
Just wow. This little hack could go down in his·to·ry. (Also that’s how its name is pronounced.)