contextMenus.ContextType

The different contexts a menu can appear in. Specifying 'all' is equivalent to the combination of all contexts.

Type

Values of this type are strings. Possible values are:

"all"
"page"
"frame"
"selection"
"link"
"editable"
"image"
"video"
"audio"
"browser_action"
"page_action"

Note that "launcher" is not supported in Firefox.

Browser compatibility

EdgeFirefoxChromeOpera
Basic support?45.0Yes33
Firefox
Basic supportNo

Acknowledgements

This API is based on Chromium's chrome.contextMenus API. This documentation is derived from context_menus.json in the Chromium code.

Document Tags and Contributors

 Contributors to this page: wbamberg
 Last updated by: wbamberg,