Closed Bug 1308748 Opened 8 years ago Closed 8 years ago

Popup can not have a context menu

Categories

(WebExtensions :: Untriaged, enhancement)

enhancement
Not set
normal

Tracking

(firefox52 affected)

RESOLVED DUPLICATE of bug 1299371
Tracking Status
firefox52 --- affected

People

(Reporter: freaktechnik, Unassigned)

Details

In WebExtension popups it is not possible to enable the context menu. In previous technologies this was possible. While I do no care about the contents of the vanilla context menu, I do think it is quite useful for extensions to be able to add elements to the context menu, which is rather easy thanks to the contextmenu API (https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/contextmenu). I'd like to be able to define custom items for the context menu inside my extension's popup. I've been able to do so thus far and users seemed to really like having extended actions in a context menu instead of loading the panel with buttons for each of those actions. What I would suggest is to show a context menu with just items defined by the extension developer and if there is no custom context menu attached not showing a context menu.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.