title: How to determine presence of HTML5 drag'n'drop file upload API (like the one from FF3.6)
body: <p>I am writing an application that's supposed to support HTML5 drag/drop API for file, much like the on described <a href="https://developer.mozilla.org/en/Using_files_from_web_applications#Selecting_files_using_drag_and_drop" rel="noreferrer">here</a>.
  I would like to perform a programmatic check on whether the browser support this kind of madness :)
  A solution that works for now is checking whether the browser provides a FileReader class, like this:</p>
  
  <pre><code>  if (typeof(FileReader) == "undefined") {
      $("#dropbox").hide();
    } else {
      // connect events
      $("#filebox").hide();
    }
  </code></pre>
  
  <p>But it is obviously not a correct one (I don't use that class at all).</p>
  
  <p>Any ideas?</p>