Prohledat stránky podpory

Vyhněte se podvodům. Za účelem poskytnutí podpory vás nikdy nežádáme, abyste zavolali nebo poslali SMS na nějaké telefonní číslo nebo abyste sdělili své osobní údaje. Jakékoliv podezřelé chování nám prosím nahlaste pomocí odkazu „Nahlásit zneužití“.

Learn More

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

  • 1 odpověď
  • 5 má tento problém
  • 14 zobrazení
  • Poslední odpověď od 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

Všechny odpovědi (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);