Questo sito potrebbe offrire funzionalità limitate durante le operazioni di manutenzione per migliorare l'esperienza utente. Se un articolo non risolve il tuo problema e vuoi richiedere supporto, la nostra comunità di supporto è pronta ad aiutarti tramite @FirefoxSupport su Twitter e /r/firefox su Reddit.

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.

I use non fullscreen Firefox window - have to scroll horizontally. Can I spoof screen resolution information?

  • 1 risposta
  • 5 hanno questo problema
  • 14 visualizzazioni
  • Ultima risposta di cor-el

more options

Screen resolution information captured by Javascript shows the full monitor resolution. Meanwhile I don't maximize my Firefox (use Windows left and right snap). It seems to me that many websites use this info to decide how to render a page. Thus rendering wide pages that require me to scroll horizontally - even on https://support.mozilla.org/en-US/home

I have tried the FireSizer add on but it did not help. FireSizer only changes my browser windows size, websites (e.g. http://www.whatismyscreenresolution.com/) still reported my full screen resolution and not the browser windows size.

I know that I can use the zoom functionality, but that tends to render text too small for comfort.

Additional info: - monitor resolution: 1920x1200

Screen resolution information captured by Javascript shows the full monitor resolution. Meanwhile I don't maximize my Firefox (use Windows left and right snap). It seems to me that many websites use this info to decide how to render a page. Thus rendering wide pages that require me to scroll horizontally - even on https://support.mozilla.org/en-US/home I have tried the FireSizer add on but it did not help. FireSizer only changes my browser windows size, websites (e.g. http://www.whatismyscreenresolution.com/) still reported my full screen resolution and not the browser windows size. I know that I can use the zoom functionality, but that tends to render text too small for comfort. Additional info: - monitor resolution: 1920x1200

Tutte le risposte (1)

more options

That depends which window and screen properties a website checks via JavaScript.

You can check out on the browserspy website how websites see your windows settings:

Copy and paste this code in the command line in the Web Console (Web Developer > Web Console; Ctrl+Shift+K) and press the Enter key.

alert("Current Window: "+window.outerWidth+" x "+window.outerHeight+"\nScreen Available: "+screen.availWidth+" x "+screen.availHeight+"\nFull Screen Size: "+screen.width+" x "+screen.height+"\n\nwindow.outerWidth="+window.outerWidth+"\nwindow.outerHeight="+window.outerHeight+"\n\nwindow.innerWidth="+window.innerWidth+"\nwindow.innerHeight="+window.innerHeight);