omnibox

Type Object
Mandatory No
Manifest version 2 or higher
Example

json

"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

json

"omnibox": {
  "keyword": "mdn"
}

Browser compatibility

BCD tables only load in the browser