location.href = "url address" will overwrite the original window
wiow.open("url address") will open this link in a new tab/new window
location.href = "url address" will overwrite the original window
wiow.open("url address") will open this link in a new tab/new window