This method is currently not working, but you can use: window.moveTo(window.screenX, window.screenY);