With Firefox for example, I can configure it so that when I hit "Command" (I'm a Mac user) and poke the link, it opens the page in a new tab or if I hit Shift-Command, it opens it in a new tab and goes to that tab. This is configurable in the browser. Its not unique to FF.
When I traverse a link via javascript, at least in the different ways I've done it so far, I do not get this feature. I tried once and failed to try and create an event and feed it back and that either didn't work or became very browser specific -- I can't recall. Mentally, I simply have it tagged as a failed experiment.
It would be nice if a link could be "traversed" via javascript exactly as if the user poked it with the mouse and get, for example, a new tab or a new window, based upon how the user has his browser configured and what modifier keys he has down at the time of the event.
As I recall, when I was researching the topic, there was some security concerns but I never followed all the claims and counter-claims.
If I want to read about this, which spec(s) is it? html5 or something else?