Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

Questa discussione è archiviata. Inserire una nuova richiesta se occorre aiuto.

FireFox 7 javascript window.moveto not working

  • 2 risposte
  • 54 hanno questo problema
  • 9 visualizzazioni
  • Ultima risposta di jwarren36

more options

When I create and then open an html file with FireFox 7, the window does not resize or move. This is the html in the file I open:

<script language="javascript">

window.location = 'http://www.google.com';
window.outerWidth = 1024;
window.outerHeight = 1136;
window.moveTo(0,0);
window.close;
</script>    

I create a file google.html with the above html data.

I open it using:

C:\Program Files (x86)\Mozilla Firefox\firefox.exe" '-new-window google.html

FireFox opens the webpage, but does not move or resize the window. This worked before I upgraded from FireFox 6 to FireFox 7.

When I create and then open an html file with FireFox 7, the window does not resize or move. This is the html in the file I open: <script language="javascript"> window.location = 'http://www.google.com'; window.outerWidth = 1024; window.outerHeight = 1136; window.moveTo(0,0); window.close; </script> I create a file google.html with the above html data. I open it using: C:\Program Files (x86)\Mozilla Firefox\firefox.exe" '-new-window google.html FireFox opens the webpage, but does not move or resize the window. This worked before I upgraded from FireFox 6 to FireFox 7.

Tutte le risposte (2)

more options

This is probably related to this change in FF7:

https://bugzilla.mozilla.org/show_bug.cgi?id=565541

more options

Aside from capriciously damaging Firefox in this way being VERY inconvenient, it DIRECTLY CONTRADICTS the settings option for

Firefox>Preferences>Content>Enable JavaScript>Advanced !

I.e. FF7 Preferences implies that users CAN allow such [usefuil!] javascript windows resizing/repositioning ... while FF7 refuses to allow users that control! BLEGH!