Closed Bug 1366579 Opened 7 years ago Closed 7 years ago

"Event" needed to update checkbox checked state on checkbox context menus in "tab" context.

Categories

(WebExtensions :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1215376

People

(Reporter: Manuel.Spam, Unassigned)

Details

I'm currently trying to create an Addon which does some modifications (load a CSS) to tabs.

This would fit best into the tab context menu. If I place it there (type is "checkbox"), then, if it is clicked, I get the tab, where the click happened, to my "onClicked" handler and can do the modification and safe that the modification was done for this tab ID.

Problem is now, that the checkbox status now is the same for all tabs. I couldn't find a callback or "event" which allows me to update the checkbox status based on where the right mouse click (on which tab) happened.

Please add some event which is fired before the context menu is shown to the user, so updates can be done.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.