There is a specification addressing this problem here:
https://wiki.mozilla.org/Plugins:AdvancedKeyHandling
There is a specification addressing this problem here:
https:/ /wiki.mozilla. org/Plugins: AdvancedKeyHand ling