omnibox.OnInputEnteredDisposition

ジャンプ先:

この記事はまだボランティアによって 日本語 に翻訳されていません。ぜひ MDN に参加して翻訳を手伝ってください!
この記事を English (US) で読むこともできます。

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

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxOperaFirefox for Android
OnInputEnteredDispositionChrome Full support YesEdge No support NoFirefox Full support 52Opera Full support YesFirefox Android No support No

Legend

Full support  
Full support
No support  
No support

Acknowledgements

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

Microsoft Edge compatibility data is supplied by Microsoft Corporation and is included here under the Creative Commons Attribution 3.0 United States License.

ドキュメントのタグと貢献者

このページの貢献者: mdnwebdocs-bot, wbamberg, andrewtruongmoz
最終更新者: mdnwebdocs-bot,