-
Local storage and the onstorage event
Every browser that supports local storage, exposes a new event in the window object called storage, so you can attach callbacks to it and be notified of changes. This is great, and you can use now cool features like communication between multiple tabs of your browser, just setting values on…