open new tab in same window not in same tab using javascript code example Example: window open same tab window.open("https://www.youraddress.com","_self")