Add-ons

menus.ACTION_MENU_TOP_LEVEL_LIMIT

The maximum number of top level extension items that can be added to a menu item whose ContextType is "browser_action" or "page_action". Any items beyond this limit will be ignored.

For compatibility with other browsers, Firefox makes this property available via the contextMenus namespace as well as the menus namespace.

Browser compatibility

ChromeEdgeFirefoxFirefox for AndroidOpera
Basic support Yes1 Yes1

55

481

No Yes1

1. Supported as contextMenus.ACTION_MENU_TOP_LEVEL_LIMIT.

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,