Get available screen size in JavaScript
Advertisements
console.log("Total Available Width = " + window.screen.availWidth); console.log("Total Available Height = " + window.screen.availHeight); //Total Available Width = 1858 //Total Available Height = 1053