Hello I am facing some weird issue and not sure how to fix it, looks like chrome made some update and open new tab in group is there option to change something in my javascript to open new tab in chrome tab not in group tab.
<a href="http://google.com" onclick="open_win()">Button</a>
<script type="text/javascript">
function open_win() {
window.open("http://bing.com")
}
</script>
CodePudding user response:
have You try with : window.open(url , '_blank');
CodePudding user response:
try this
function openWindow(url, title) {
var myWindow = window.open(url, title, "height=640,width=960,toolbar=no,menubar=no,scrollbars=no,location=no,status=no");
}