I am using the below code in one of my pages to help me work on a site to make it responsive:
document.write(screen.width+'x'+screen.height);
The only problem is I don't wan't it showing my screen resolution size, I want it to show the browser size.
I.E, so it changes when I shrink the browser.