JS zmienia adres URL
window.location.href = "www.google.com";
just-saved-you-a-stackoverflow-visit
window.location.href = "www.google.com";
location.replace("https://www.w3schools.com");
location.replace("url");