Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How does that respond to middle-mouse-clicks? I use that for open-in-new-tab functionality all the time. There's no need to chord the mouse and keyboard together for it. Right-click->context menu is the same way.


From my experience, middle mouse clicks do not trigger the handler. Here's a fiddle to test: http://jsfiddle.net/GTWfn/. Try middle-clicking that link vs. left clicking.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: