I'm developing a Chrome extension and need to open a number of tabs with omnibox entries filled out.
As an example, imagine typing "test" into the omnibox, it will do a Google search for "test". However, if you type "http://test.com", it'll open that URL. I wish to have that same behaviour.
Calling chrome.tabs.create({ url: 'test' });
attempts to open a new tab at the URL: chrome-extension://noaegdcbalcniptpnggbfgapjmlfxpxx/test
Is there an omnibox protocol? omnibox:test
or omnibox:http://test.com
, for example?
Or an API? chrome.omnibox.open('test')
or chrome.omnibox.open('http://test.com')
for example? (I've checked the docs, but can't find anything)