Ventana Abra la misma pestaña
window.open("https://www.youraddress.com","_self")
DevPedrada
window.open("https://www.youraddress.com","_self")
window.open("https://www.codexworld.com/", "_self");