<html> <head> <title>Window move and resize test</title> <script> function test() { window.resizeTo(200, 100); window.moveTo(150, 200); document.title = "Moved and resized"; } </script> </head> <body onload="test()"> </body> </html>