This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Cari Bantuan

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Pelajari Lebih Lanjut

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

  • 1 balas
  • 5 memiliki masalah ini
  • 14 kunjungan
  • Balasan terakhir oleh 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

Semua Balasan (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);