Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Firefox: hitting escape disconnects socket connection #5

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

Firefox: hitting escape disconnects socket connection #5

wachunga opened this issue Aug 14, 2012 · 1 comment

Comments

@wachunga
Copy link
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
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants