11-01-2010 12:26 PM
You could create an extension... I have seen others tackle the problem by having an hidden input box and setting focus to it.
You can trap key presses, but it will only happen when you have focus on an input box. You are not able to trap key strokes of a general DOM element.