Closed Bug 1418663 Opened 7 years ago Closed 6 years ago

Please add middle click support to browser.browserAction.onClicked WebExt API

Categories

(WebExtensions :: Frontend, enhancement, P5)

57 Branch
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1405031

People

(Reporter: kzar, Unassigned)

References

Details

(Whiteboard: [design-decision-needed])

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce:

1. Create an extension which has a browser.browserAction.onClicked event listener.
2. Middle click on the extension's icon.


Actual results:

The listener is not fired.


Expected results:

The listener should fire for middle clicks, like it does for left clicks.


Explanation:
This would be useful for Adblock Plus so that the extension can disable all blocking when the user middle clicks on the ABP icon, and resume blocking when they do so again. Since the switch to WebExt our users have been requesting this functionality returns but we have no way to do that for them currently.
Severity: normal → enhancement
Component: Untriaged → WebExtensions: General
Product: Firefox → Toolkit
Status: UNCONFIRMED → NEW
Ever confirmed: true
Component: WebExtensions: General → WebExtensions: Frontend
Whiteboard: [design-decision-needed]
Priority: -- → P5
Hi Dave, this has been added to the agenda for the WebExtensions APIs triage on May 15. Would you be able to join us? 

Here’s a quick overview of what to expect at the triage: 

* We normally spend 5 minutes per bug
* The more information in the bug, the better
* The goal of the triage is to give a general thumbs up or thumbs down on a proposal; we won't be going deep into implementation details

Relevant Links: 

* Wiki for the meeting: https://wiki.mozilla.org/WebExtensions/Triage#Next_Meeting
* Meeting agenda: https://docs.google.com/document/d/1Y_oYPldTT_kQOOouyJbC-8y3ASIizScLKFRhQfsDQWI/edit#
* Vision doc for WebExtensions: https://wiki.mozilla.org/WebExtensions/Vision
I'm sorry I have a drumming class Tuesday evenings, so I can't make that. I could make other weekday evenings, or alternatively I'd be happy to answer any questions here / on IRC in advance of the meeting if it helps?
No worries at all! We can needinfo you if any questions come up during the triage.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Hey Dave, we just realized this is a duplicate of bug 1405031, which has already been approved at a previous triage meeting. :) We're going to remove this from the triage agenda. 

I'd recommend following the other bug to track progress. If you're interested in working on implementing it, please feel welcome to assign yourself and give it a go!
OK, that makes sense. In that case would you mind marking 1405031 as blocking 1226547 for me? I can't see how to do it myself, I think I might not have permission.
Done.
Product: Toolkit → WebExtensions
You need to log in before you can comment on or make changes to this bug.