I\'ve come across this method and out of curiosity I\'m trying it out on an HTML page with a simple text input field.
The JS code is:
document.addEvent