You can do that with local storage. Not sure if there's an existing project that simplifies the process but the general idea is to use it as a hash map that's available to all tabs attached to the same domain.
You'd have to synchronize things yourself to prevent tripping over yourself. Ditto for firing off functions in response to events (i.e. Poll loop and fire handler).