title: full-screen browser window on load document
body: <p>How can I full-screen browser window after loading the page?
  I have used code like below in jQuery but its working only using the event <strong>click</strong>;
  but I want that to be worked on <strong>load</strong>.</p>
  
  <pre><code>jQuery(document).ready(function($) {
      function fullScreen(){
              var docElm = document.documentElement;
              if (docElm.requestFullscreen) {
                  //alert("requestFullscreen");
                  docElm.requestFullscreen();
              }
              else if (docElm.mozRequestFullScreen) {
                  //alert("mozRequestFullScreen");
                  docElm.mozRequestFullScreen();
              }
              else if (docElm.webkitRequestFullScreen) {
                  //alert("webkitRequestFullScreen");
                  docElm.webkitRequestFullScreen();
              }
  
      }
  });
  </code></pre>