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