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