title: How can Google Docs go fullscreen in JavaScript
body: <p>How can Google Docs go fullscreen in JavaScript?<br>
  In a <strong><a href="https://docs.google.com/">Google Docs Presentation</a></strong>, when you press the <code>fullscreen</code> button at the lower left corner of the window, the window goes <em>fullscreen</em>.<br>
  It is not Flash so I am curious that how can Google do that?</p>
  
  <h2>Added</h2>
  
  <p>Note that it is not creating a big window that fits the screen (that's fake fullscreen). It is actually in <code>fullscreen</code> mode, and Google Chrome asked for my permission.</p>