windows.redirect code example
Example 1: javascript redirect
window.location.href = "http://mywebsite.com/home.html";
Example 2: redirect window
window.location.href = '/test'
window.location.href = "http://mywebsite.com/home.html";
window.location.href = '/test'