Appendix JS_N_A5

 

Summary

Requirement: Changes of context are only initiated by user request or with user control.

Details: Do not automatically redirect the page using JavaScript.

Examples

Incorrect code

 Refer to the JS_N_A5 live demos for working examples.

window.setTimeout(function()
{
    document.location.href = 'JS_N_AAA4-Redirection2.html';
 
}, 100);