page redirect after load code example
Example: page redirect after load
window.onload = function() {
// similar behavior as clicking on a link
window.location.href = "https://google.com";
}
window.onload = function() {
// similar behavior as clicking on a link
window.location.href = "https://google.com";
}