javascript link to another page

JavaScript
window.location.href = "http://mywebsite.com/home.html";window.location.replace('http://mywebsite.com/home.html');window.open("http://mywebsite.com/home.html")
Source

Also in JavaScript: