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);
February 4th, 2010 at 3:27 pm
Thanks Ben, this was killing me, but your posting helped me. In my experience though, I had to set to (1,1) to get results. Thanks a bunch!
-aaron