Option 1: Use window.location.replace
Option 2: Use window.location.assign
While the assign method will also redirect the user to the specified URL, it will allow a user to go back to the original document that you redirected from.
Option 3: Use window.location.href
window.location.href = "https://www.wplauncher.com";