Re: How is this done ?
Security. The web browser has to be able to stop a rogue script clicking on a "new window" link, but allow the user for example. Once you've done that then there's a way for the website to determine if a click was by a user or not. I'm not saying that's how it's done, but there's no point in hiding the source of a click if there is a way to find it out.