Skip to content

Firefox: hitting escape disconnects socket connection #5

Open
wachunga opened this Issue Aug 14, 2012 · 1 comment

2 participants

@wachunga
Owner

A long-standing "feature" in firefox: escape kills any network requests. See https://bugzilla.mozilla.org/show_bug.cgi?id=614304

May be possible for Ω to workaround it.

@xer0x
Collaborator
xer0x commented Oct 19, 2012

A possible work around:

window.addEventListener('keydown', function(e) { (e.keyCode == 27 && e.preventDefault()) })

Found here: sockjs/sockjs-client#18 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.