Allow user to do more stuff with window.onkeypress