3 ms·
I think most people open-in-new-tab by command or control clicking on a link. The event handler can detect the key being held down while you click a link. We'
by seiji 14y ago
I think most people open-in-new-tab by command or control clicking on a link. The event handler can detect the key being held down while you click a link.
We're basically guessing their intent and not running preventDefault if they are trying to open things in a new tab.
- mschuster91 14y agoExactly... and we're already "guessing intents" way too much! It's all Apple-style, leave the user with as few choices as possible.