Internet Browser: Difference between revisions

m Other details: internal links
adding tips
Line 48: Line 48:
  <input type="file" />
  <input type="file" />
* HTML5Test.com say that Drag and drop is supported but it's not (code on WebKit is ready, but it's not implemented on interface of browser)
* HTML5Test.com say that Drag and drop is supported but it's not (code on WebKit is ready, but it's not implemented on interface of browser)
==Tips==
=== Detect User Agent ===
To detect if the user agent is Nintendo 3DS Browser :
<script type="text/javascript">
      window.onload=function()
      {
          if (navigator.userAgent.indexOf('Nintendo 3DS') == -1) //If the UserAgent is not "Nintendo 3DS"
          {
                location.replace('http://www.3dbrew.org'); //Redirect to an other page
          }
      }
</script>