omnibox.OnInputEnteredDisposition

The omnibox.OnInputEnteredDisposition type describes how the extension should handle a user selection from the suggestions in the address bar's drop-down list.

It's passed into the omnibox.onInputEntered event listener, along with the selection itself.

Type

Values of this type are strings. They may take any one of the following values:

"currentTab"

Open the selection in the current tab.

"newForegroundTab"

Open the selection in a new tab, and bring this new tab into the foreground.

"newBackgroundTab"

Open the selection in a new background tab, keeping the current tab in the foreground.

Browser compatibility

desktop mobile
Chrome
Edge
Firefox
Opera
Safari
Firefox for Android
Safari on iOS
OnInputEnteredDisposition
Chrome – Full support
Chrome 44 (Release date: 2015-07-21)
footnote Full support
Edge – Full support
Edge 79 (Release date: 2020-01-15)
footnote Full support
Firefox – Full support
Firefox 52 (Release date: 2017-03-07)
footnote Full support
Opera – Full support
Opera 31 (Release date: 2015-08-04)
footnote Full support
Safari – No support
Safari
footnote No support
Firefox for Android – No support
Firefox for Android
footnote No support
Safari on iOS – No support
Safari on iOS
footnote No support

Legend

Tip: you can click/tap on a cell for more information.

Full support
Full support
No support
No support

Note: This API is based on Chromium's chrome.omnibox API.