how to open jink javascript in current tab code example Example: window open same tab window.open("https://www.youraddress.com","_self")