<!DOCTYPE html>
<html>
<head>
	<meta charset="utf8">
	<title></title>
<script>
window.onload = function() {
  var win = nw.Window.get();
  var status = '';
  document.getElementById('output').innerHTML = status + "size: " + window.innerWidth + ", " + window.innerHeight;
}
</script>
</head>
<body>
<p id="output"></p>
</body>
</html>
