title: How to show file dialog with JavaScript once the page is loaded in Chrome
body: <p>I want to show the file dialog <strong>once the page is loaded</strong>.
  <strong>I tried using JS to trigger the click event on the file input in jQuery document ready event.</strong> But this approach only works in IE11, it doesn't work in Chrome (41.0.2272.118).
  How can I make it work in Chrome?</p>
  
  <p>Here is my code which doesn't work in Chrome but work in IE:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!doctype html&gt;
  &lt;html lang="en"&gt;
  &lt;head&gt;
      &lt;meta charset="utf-8"&gt;
      &lt;title&gt;My HTML File&lt;/title&gt;
      &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body &gt;
      &lt;input type="file" id="a" /&gt;
      &lt;script&gt;
          $(document).ready(function () {
              Go();
          });
  
          function Go() {
              var input = $('input');
              
              input.click();
              console.log('Gooooooooooooooo');
          }
      &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  </p>