Self.moveTo doesn't work in Firefox

Hi,
I need to maximize a browser-window and move it the screen’s upperleft corner. Previously I have used this script:

<script language="JavaScript" type="text/JavaScript">
<!--
self.moveTo(0,0)
self.resizeTo(screen.availWidth,screen.availHeight)
//-->
</script>

I haven’t needed to do this for a long time and suppose it is antiquated. It doesn’t work in Firefox. It does resize the window but it doesn’t move it to the 0, 0 coordinates.
Could someone help me with something that works for Firefox?:slight_smile: