how to make a link open in the same tab js code example Example: window open same tab window.open("https://www.youraddress.com","_self")