<!DOCTYPE html>
<html>
<body>
<h2>Redirect to a Webpage</h2>
<p>The replace() method replaces the current document with a new one:</p>
<button onclick="myFunction()">Replace document</button>
<script>
function myFunction() {
location.replace("https://referral.sharedvillage.com/program/143/referral.php")
}
</script>
</body>
</html>