Difference between revisions of "Nintendo DSi Browser"
Jump to navigation
Jump to search
(→Tips) |
|||
Line 20: | Line 20: | ||
if (navigator.userAgent.indexOf("Nintendo DSi") == -1) | if (navigator.userAgent.indexOf("Nintendo DSi") == -1) | ||
{ | { | ||
− | location.replace("http://www. | + | location.replace("http://www.dsibrew.org"); |
} | } | ||
} | } | ||
</script> | </script> |
Revision as of 09:48, 6 April 2009
This article is a stub. You can help DSiBrew by expanding it. |
Browse the web with the second edition of the Opera browser for DS. (Flash and things not supported)
Sample DSi Browser User Agent Strings:
- Opera/9.50 (Nintendo DSi; Opera/483; U; en-US)
- Opera/9.50 (Nintendo DSi; Opera/483; U; en-GB)
Tips
- To active the vertical mode automatically, add this tag between <head></head> :
<meta name="viewport" content="width=240">
- To detect if the user agent is Nintendo DSi Browser :
<script type="text/javascript"> window.onload=function() { if (navigator.userAgent.indexOf("Nintendo DSi") == -1) { location.replace("http://www.dsibrew.org"); } } </script>