voxel / voxel-clientmc

Minecraft client using WebSockets and voxel-engine (voxel.js plugin)
57 stars 13 forks source link

Listen for HashChangedEvent, relog #35

Closed deathcap closed 8 years ago

deathcap commented 8 years ago

https://html.spec.whatwg.org/multipage/browsers.html#the-hashchangeevent-interface allows detecting when '#hash' at the end of the document URL changes, voxel-clientmc (and/or mcwebchat in wsmc) should listen for this event and re-login as the new user.