I am using below code to open a popup window in my page:
window.open(\"myPopupWindow.html\", \"_blank\", \"height=400, width=550, status=yes, toolbar=no, men
Simple solution open new tab after that add url to location.href.
location.href
window.open('','_blank').location.href = "url"