Determine on onclick whether the clicked link is meant to open a new window or tab
问题 Most modern browsers support the commands ctrl+click or command+click or similar to open links in a new tab or a new window. In an application, I want the link to get disabled on clicking. But only, if the target is the same window (if it, for instance, opens in a new tab, I don't want the link to become disabled since it is reasonable to click it again). I did some tries and debugged the event object that gets created on click - but I cannot find any information about whether the target is a