ipython/ipython — pull request #1032 by Carreau (2011-11-23 14:21:43+00:00)
Title: Intercept <esc> avoid closing websocket on Firefox

closes #1031

To rephrase what on #1031, default action of `` on Firefox is to stop the page loading, and it also closes the websocket conexion.
so I intercept it a notebook level and call `event.preventDefault()`