window.location.href add target code example
Example 1: javascript location href target _blank
window.open('http://www.google.com', '_blank');
Example 2: window.location.href target blank
<script type="text/javascript">
$("#site").on('click', function(){
window.open("http://www.someone.com/","_blank");
});
</script>