Difference between revisions of "Nintendo DSi Browser"

From DSiBrew
Jump to navigation Jump to search
Line 20: Line 20:
 
| Javascript ||bgcolor="#ddffdd" | Yes
 
| Javascript ||bgcolor="#ddffdd" | Yes
 
|-
 
|-
| File Download ||bgcolor="#ffdddd" | No<
+
| File Download ||bgcolor="#ffdddd" | No
 
|-
 
|-
 
| File Upload ||bgcolor="#ffdddd" | No
 
| File Upload ||bgcolor="#ffdddd" | No

Revision as of 11:01, 15 April 2009

Browse the web with the second edition of the Opera browser for DSi. The browser use Opera 9.50. This application is available on the Nintendo DSi Shop. It's free.

Features/Limitations

Feature Supported
Audio No
Canvas Limited
CSS2 Yes
CSS3 ?
DOM Yes
DOM2 Yes
Javascript Yes
File Download No
File Upload No
Flash No
HTML5 Partial
Plugins No
SVG No
Video No
XHTML ?
XMLHttpRequest ?

User Agent strings

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

Vertical mode

To active the vertical mode automatically, add this tag between <head></head> :

<meta name="viewport" content="width=240">

You can test that with a demo page on my website : here

Detect User Agent

To detect if the user agent is Nintendo DSi Browser :

<script type="text/javascript">
     window.onload=function() 
     {
         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
         }
     }
</script>

Key Codes

Code Button
13 A
37 Left
38 Up
39 Right
40 Down

Notes :

  • Only A, Up, and Down normally emit codes
  • Left and Right can be read only if L or R are held
  • Holding L or R disables the A button

See also