Archive for category Browser

Firefox window.focus()

<body onload=”this.window.focus();” > is failing in Firefox 6.

1.  Go to  Firefox -> Options -> Content
2.  Make sure “Enable JavaScript” is turned on.
3.  Next to “Enable JavaScript”, click the “Advanced” button.
4.  Make sure that there is a check-mark in the box
[x]  Raise or lower windows

Leave a comment