JavaScript получил URL
window.location.href = "https://www.google.com"
Cruel Capybara
window.location.href = "https://www.google.com"
window.location = url;