google chrome extension - Entering omnibox-mode programmatically -


i want extension controlled omnibox. chrome.omnibox api lets me register keyword, means lot of clicking or typing extension. example, have ctrl+l select omnibox, type letters extension , space/tab.

can "omnibox mode extension" entered programmatically? i.e. there api call can make take user's keyboard focus omnibox in switched mode extension? want replace sequence of clicks/typing single keyboard shortcut allow user interact extension via omnibox.

this not possible. see being implemented in 2 ways: 1. suggest, allowing extension enter omnibox programmatically. i'm not sure if that's idea - stealing keyboard focus annoying user, , possible security risk. 2. adding "enter omnibox mode" target commands api. way user can configure keyboard shortcut or disable entirely.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -