Line 18: |
Line 18: |
| window.onload=function() | | window.onload=function() |
| { | | { |
− | if (navigator.userAgent.indexOf("Nintendo DSi") == -1) | + | if (navigator.userAgent.indexOf("Nintendo DSi") == -1) //If the UserAgent is not "Nintendo DSi" |
| { | | { |
− | location.replace("http://www.dsibrew.org"); | + | location.replace("http://www.dsibrew.org"); //Redirect to an other page |
| } | | } |
| } | | } |
| </script> | | </script> |