Fixing middle-click inside the popup.
Fixing middle-click inside the popup.

We cannot trust that click events will be fired for clicks with
the middle button, there are some differences between browsers and
apparently this motivated a recent change in the way WebKit used
to work (always firing click events regardless of the button used)
thus breaking the extension.
As a workaround I'm now listening to mousedown and mouseup events
directly as they'll always be fired.

Yasushi/oxidized_silver_bird,Yasushi/oxidized_silver_bird