title: Javascript -- Increase window height by one pixel -- Google Chrome
body: <p>I'm working on a Chromium extension that runs a context script on a constrained window, and want to increase the window height by one pixel (I need the page to reposition, since I'm injecting HTML into it).</p>
  
  <p>I'm attempting to use the following code:</p>
  
  <p><code>window.resizeTo(window.innerWidth, window.innerHeight + 1);</code></p>
  
  <p>but this shrinks the window (I suspect because Chromium <code>resizeTo</code> sets window size, but <code>innerWidth</code> and <code>innerHeight</code> gets the size of the TabContents window pane (not including the top bar and border).</p>
  
  <p>How can I either get the proper size or properly resize the window?  Thanks for any advice.</p>