Try this:
Must be used after the page is fully loaded, so in page onload or used in a function after loading is complete.
function IsFullScreen( )
{
// Variables
var intScreenHeight = window.screen.height;
var intBodyOffSet = document.body.offsetHeight;
var intFullScreenDifference = 26;
var blnIsFullScreen = false; // Assume No
// Does the Screen Height - the Body offset = Full Screen Difference
if( ( intScreenHeight - intBodyOffSet ) == intFullScreenDifference )
{
// Yes, were full screen
blnIsFullScreen = true;
}
// Return
return blnIsFullScreen;
}
</script>
<html>
<body onload="alert( IsFullScreen( ) );">
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>
Good luck!