title: Positioning a popup on secondary screen
body: <p>I'm trying to create a private web page for myself that would open a website as a popup window on my secondary monitor. I can position the popup automatically within my main monitor, where the browser covers the whole screen, just fine, but when I try to automatically move the created popup window to my other screen, it simply refuses to go there.</p>
  
  <p>The code I was trying with is</p>
  
  <pre><code>window.open('https://tweetdeck.twitter.com','Tweetdeck','width=1664,height=488,toolbar=0,menubar=0,location=0,status=1,scrollbars=1,resizable=1,left=-1680,top=591');
  </code></pre>
  
  <p>I also tried with <code>.moveTo</code> with same results.</p>
  
  <p>The <code>top</code> positioning works correctly, but <code>left</code> doesn't seem to have effect when it is less than 0. <code>left=-1680,top=591</code> is the exact location I want to move it to (checked with autohotkey window spy), but Chrome doesn't seem to be willing to do that.</p>
  
  <p>I have a feeling it might be due to <a href="https://developer.mozilla.org/en-US/docs/Web/API/Window.open#Note_on_position_and_dimension_error_correction" rel="nofollow">position error correction</a>, but the window in that position is very much on my desktop and fully visible.</p>
  
  <p>Is there a way I could automatically move the window to the specified pixel coordinates in javascript?</p>