Hello,

I'm working an a very simple behavior: capturing clicks on anchors.
Binding the click event and doing the rest of the logic is easy.
Problem is the middle click (opens the link in a new tab) and both
available options in the context menu: open in new tab/open in new
window.

While it's hard to imagine that the browser fires an event for the
clicked option in the context menu, I'm looking now for capturing the
middle click.

And I've been looking for it for some time now. The close I get to my
desired behavior is to bind the mousedown event.

Do you know of a way to catch the middle-click? What do you think of
mousedown?

Reply via email to