JavaScript moveTo(0, 0) in FireFox OS X not working
Friday, 15th January 2010Here’s a weird JavaScript FireFox bug…
In OS X, for some reason the following javascript was not positioning the FireFox browser window to the top left of the screen.
window.moveTo(0, 0);
Solution
Not sure what causes the problem but it seems to work find if you position the window 1 pixel lower.
window.moveTo(0, 1);