Any Good Primer on the Use of menus.overrideContext()?

The menus.overrideContext() API looks interesting.

It appears to allow some reordering/replacement of the context menus, which I’d like to apply to my extension.

However, the MDN page for this API, does not make it clear to me how this is done.

Is anyone aware of any extensions that use this call, or examples of how it might be used?

1 Like

Example: Tree Styles tab sets the tab context when you right click a tab in the sidebar.

The are two links related to it from the docs