Obtenha o tamanho da tela JavaScript

window.screen.height;
window.screen.width;
Spyder