title: How to make browser full screen using F11 key event through JavaScript
body: <p>I want to make my browser full screen. Same as when we do F11 key event. I found some examples such as </p>
  
  <pre><code>function maxwin() {
      var wscript = new ActiveXObject("WScript.Shell");
      if (wscript!=null) {
           wscript.SendKeys("{F11}");
      }
  }
  </code></pre>
  
  <p>Which does not work on mozilla or any other latest browsers. Please let me know if there is any way to sort out this problem.</p>
  
  <p>Thanks. (In advance.)</p>