To set the window size is easy, just copy and paste the below html code into your html document. Make sure you paste the html code at top of your document in order to avoid errors.
So you want it? Simply copy and paste the below html code, and change the coordinates to change the window size.
<script>
self.resizeTo(50,100);
</script>