window.onload = function(){ var html=""; html += "width : " + "<strong>" + screen.availWidth + "</strong>"; html += "height : " + "<strong>" + screen.availHeight + "</strong>"; html += "platform : " + "<strong>" + navigator.platform + "</strong>"; html += "app_name : " + "<strong>" + navigator.appName + "</strong>"; html += "app_version : " + "<strong>" + navigator.appVersion + "</strong>"; document.write(html); }