<p>I have a webapp which resizes its window to exactly fit its contents:</p>

<pre><code>window.resizeTo(200,300)
</code></pre>

<p>People do like having the page fit its window in this way. However with Firefox the next browser window the user opens comes up at the same size, which is ridiculously small.</p>

<p>Is there a way to tell Firefox to resize the current window, but not change its notion of how large subsequent windows should be?</p>

People do like having the page fit its window in this way.
Which
people?! I'd be seriously annoyed if a web page did anything to the size of my browser window. Fortunately, FF also allows users to disable moving or resizing existing windows, a feature i've taken advantage of for several years.
You should be able to open a
new
window at a specific size using
```
window.open
```
, so you could use that... or better yet, just allow your document to resize / reflow to fit into whatever window size the user prefers.