Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

page redirect after load

window.onload = function() {
    // similar behavior as clicking on a link
    window.location.href = "https://google.com";
}
 
PREVIOUS NEXT
Tagged: #page #redirect #load
ADD COMMENT
Topic
Name
1+8 =