window.location.href = 'https://www.example.com';