<a href="target.html" onclick="return(!(window.open(this.href)))">Open a new window without using target attribute</a><a href="target.html" onclick="return(!(window.open(this.href, '_top')))">Open in the top frame</a>