javascript go to url
snippet in javascript

javascript got to url

user6204

window.location.href = "https://www.google.com"

javascript go to url

user4996

 window.location = url;

js go to page

user1051

window.location.href = "http://example.com/new_url";