<span id="demo"></span>
<script>
var txt = "";
txt += "iW: " + window.innerWidth + " - ";
txt += "iH: " + window.innerHeight + " - ";
txt += "oW: " + window.outerWidth + " - ";
txt += "oH: " + window.outerHeight + " - ";
txt += "ScW: " + screen.width + " - ";

document.getElementById("demo").innerHTML = txt;

</script>