Closed Bug 1478781 Opened 8 years ago Closed 7 years ago

Allow to create more than one browserAction in a single extension

Categories

(WebExtensions :: General, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: a.j.buxton, Unassigned)

Details

(Whiteboard: [design-decision-denied])

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180704192850 Steps to reproduce: 1. Read the APi docs for browserAction (again.) Actual results: I found that there is no API to create multiple browserActions from a single extension. Expected results: I should have found an APi to add multiple browserActions in from a single extension.
Additional information about when/why you would do this would be helpful in evaluating this proposal.
Flags: needinfo?(a.j.buxton)
Whiteboard: design-decision-needed
This (and also https://bugzilla.mozilla.org/show_bug.cgi?id=1362741) is required to recreate the user interface of live bookmarks with a web extension without abusing the bookmark system to create toolbar buttons and menus. See https://bugzilla.mozilla.org/show_bug.cgi?id=1477667
Flags: needinfo?(a.j.buxton)
Another use case: https://addons.mozilla.org/addon/tab-counter-plus/reviews/1159151/ > I have two Tab counter addons installed, one that shows th > total open tabs and one that shows total open tabs in any window :D If I could create multiple browserActions (or maybe just a wider one), users wouldn't have to install another tab counter add-on, which is sad because mine is the best one XD

NI to product.

Flags: needinfo?(mconca)
Whiteboard: design-decision-needed → [design-decision-needed]

While admitting there are valid use cases for this request, allowing extensions to create multiple browserActions opens the door to abuse. Maintaining a single-button-per-extension policy allows users to clearly identify each extension that has modified their toolbar, while simultaneously promoting a clean Firefox UX since extension authors cannot overpopulate the toolbar with dozens of buttons.

Severity: normal → enhancement
Status: UNCONFIRMED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(mconca)
Resolution: --- → WONTFIX
Whiteboard: [design-decision-needed] → [design-decision-denied]
You need to log in before you can comment on or make changes to this bug.