Janela aberta a mesma guia
window.open("https://www.youraddress.com","_self")
DevPedrada
window.open("https://www.youraddress.com","_self")
window.open("https://www.codexworld.com/", "_self");