Open Link in new window or tab

What is the best way to open a link in a new tab or window (whichever the browser chooses) - similar to the html link tag: target="_blank". I've read that you can use javascript on the player page and execute that, but I want it to be contained in the Unity file. That way the file can be distributed to other sites where I won't have access to the webpage's javascript. Is this even possible? Unity doesn't seem to have a built in function to do this (other than Application.openURL()) which just changes the current webpage to the new one...

Thanks for any help!


Use Application.ExternalEval with your desired JScript code as string. The script code gets evaluated directly inside the browser. It's only available inside a webplayer project.