When using:
var size = $(window).height();
Firefox console shows me: 594
but in here: http://whatsmy.browsersize.com/
I can see that my browser height is: Browser window height: 861
Which I should take for granted or what I do not understand in here?
I did a fast test to be sure. Print screen + measured in photoshop. Got pixel perfect matched values with latest versions of Firefox, Chrome and Safari in Mac OS X Mountain Lion with
$(window).width()and$(window).height().$(window).width()and$(window).height()shows the browsers “workarea” without scrollbars.