Now I have a link\[code\]<a href="http://stackoverflow.com/questions/13779508/blabla" target="_blank">link</a>\[/code\]However, this always open up a new tab. I want the following effect[*]If the user already has a tab with the same URL, reuse that tab, and refresh if possible[*]Otherwise, open a new tabHow can I achieve this using JavaScript?It's OK if there're only some browser-specific methods, so users of browsers without corresponding support will "fallback" to the always-new-tab way.