window size width height

var w = window.innerWidth;
var h = window.innerHeight;

Tags: