Closed
Bug 1270786
Opened 8 years ago
Closed 8 years ago
Add ability to provide custom context menu item on tabs
Categories
(WebExtensions :: Untriaged, defect)
WebExtensions
Untriaged
Tracking
(firefox49 affected)
RESOLVED
DUPLICATE
of bug 1316020
Tracking | Status | |
---|---|---|
firefox49 | --- | affected |
People
(Reporter: yuki, Unassigned)
References
Details
(Whiteboard: [design-decision-needed]triaged)
`chrome.contextMenus` now supports only extra context menus in the content area. However, currently some XUL-based addons provide extra menu items into the context menu on tabs. So some new context types seem to be required ( https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/ContextMenus/ContextType ). For example: * "tab" * "foreground_tab" * "background_tab" * "highlighted_tab" * ...and more for status of tabs...
Reporter | ||
Updated•8 years ago
|
Blocks: webextensions-additional-apis, 1252272
Reporter | ||
Updated•8 years ago
|
Summary: Add ability to custom context menu item for tabs → Add ability to provide custom context menu item on tabs
Reporter | ||
Comment 1•8 years ago
|
||
Just an idea: this feature will make it possible/easier for me to migrate Tree Style Tab to WebExtensions, with combinations of other APIs. * Tabs API (already available): handling of new tabs and closed tabs. * Sidebar API (bug 1208596): a custom tab sidebar panel, based on HTML. * "tabs" type contextual menu items: custom features for tabs like "close this tree". * Something extra HTML attribute to specify context tab (allowed only on privileged document from addons). For example: ~~~ <!DOCTYPE html> <ul> <li><a href="#" data-context-tab="xxxxxx(id of the first tab)">Tab1</a></li> <li><a href="#" data-context-tab="yyyyyy(id of the second tab)">Tab2</a></li> </ul> ~~~ With a sidebar panel like this, right-click on the link "Tab1" will open a context menu same to the one on the first tab. Then, my addon will work with other tab-related addons together - features from other addons are still available on my custom tabs. People who like other addons will try my addon without any functionality loss.
Updated•8 years ago
|
Whiteboard: [design-decision-needed]triaged
Since my add-on is really close related I also need this. https://github.com/Croydon/vertical-tabs-reloaded
Updated•8 years ago
|
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•