238 votes
allow open in new tab
allow open in new tab with middle click, etc.
we are investigating how to do this because firefox disables catching the middle click. we have ideas how to do such, but they involve a redirect. In the mean time you can ctrl-click to open in a new tab.
- anotherjesse
aurora
I object to giving the middle clik a significant use. Middle click is used for many purposes, especially on non-Windows systems (like moving a window, copy/paste,...). Catching the middle click would possibly result in bad or unexpected things happening on non-Windows systems
2 months ago
syntax
You could try to change the way of handling the click on link. Instead of ".onclick" method, you could use ".onmouseup" (or appropriate "eventListener" handler). This method gives in the event object the "button" property, which contains number of button which has been pressed, so you can easily open new tab on middle click.
4 months ago
word
perhaps this is as easy as creating a toggle to set target="_new" in my FF installation this will actually force them into a new tab as that is how I have the functionality in FF set. I would imagine many other users do the same thing and allowing toggle off for it means that a user can disable if it doesn't fit their needs. Excellent addon by the way
5 months ago