<script>
function myFunction() {
location.replace("https://www.w3schools.com")
}
</script>