How to prevent FF close websocket connection on ESC

Viewed 1123

There is know bug where Firefox closes the open websocket connection when the user presses ESC button. Is there a workaround or small jQuery code that can help me to prevent that? I was thinking to start a new websocket connection every time the current connection is being closed, but that seems a little dangerous.

1 Answers
Related