I googled this and got a quirksmode site that gives you your screen size. Pulling up the console I see that screen.width and screen.height are directl
screen.width
screen.height
This is what worked for me after long hunch. These attributes below provide responsive sizes based on new tab size.
window.innerWidth window.innerHeight