Is it possible to somehow listen to key events ( keyup, keydown, keypress ) in chrome omnibox ?
So far, I just found:
chrome.omnibox.onInputStarted.addListener(function() {...}); chrome.omnibox.onInputChanged.addListener(function(string text, function suggest) {...}); chrome.omnibox.onInputEntered.addListener(function(string text) {...}); chrome.omnibox.onInputCancelled.addListener(function() {...});
Edit:
The problem with the onInputChanged event is that it does not fire when the user uses the arrow keys to jump to one of the sentences.
source share