Type | Object |
---|---|
Mandatory | No |
Example |
"omnibox": { "keyword": "mdn" } |
Use the omnibox
key to define an omnibox keyword for your extension.
When the user types this keyword into the browser's address bar, followed by a space, then any subsequent characters will be sent to the extension using the omnibox
API. The extension will then be able to populate the address bar's drop-down suggestions list with its own suggestions.
If two or more extensions define the same keyword, then the extension that was installed last gets to control the keyword. Any previously installed extensions that defined the same keyword will no longer be able to use the omnibox
API.
Example
"omnibox": { "keyword": "mdn" }
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||
---|---|---|---|---|---|---|
omnibox | Chrome Full support Yes | Edge Full support 79 | Firefox Full support 52 | Opera Full support Yes | Safari No support No | Firefox Android No support No |
key | Chrome Full support Yes | Edge Full support 79 | Firefox Full support 52 | Opera Full support Yes | Safari No support No | Firefox Android No support No |
Legend
- Full support
- Full support
- No support
- No support