Javascript Resize Browser Window to Full Screen

This is not quite the same as maximizing the browser window. It just resizes the browser window to the total width and total height of the screen.

<script type="text/javascript">//<![CDATA[
function maximize() {
  window.moveTo(0, 0);
  window.resizeTo(screen.width, screen.height);
}

maximize();
//]]></script>

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.