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.

Search Support

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.

Learn More

How do you prevent the loading of a mobile edition of a website, instead of the desktop version?

  • 10 பதிலளிப்புகள்
  • 2 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by cor-el

I have a laptop, with a 1920by1080 screen. I get the mobile edition of multiple websites (including mozilla support.) What setting do I need to change in Firefox to ensure I get the full webpage, instead of a mobile one?

I also have a laptop with a 1366x768 screen. It, too gets the mobile editions, instead of the full size, or "desktop" editions of websites.

Just need the addon, or better still, the actual firefox configuration setting to fix this issue.

Thanks.

(Side note to this support website. Why would you not have the spelling of "firefox," "addon," and "mozilla" set as part of the auto-correct spelling?)

I have a laptop, with a 1920by1080 screen. I get the mobile edition of multiple websites (including mozilla support.) What setting do I need to change in Firefox to ensure I get the full webpage, instead of a mobile one? I also have a laptop with a 1366x768 screen. It, too gets the mobile editions, instead of the full size, or "desktop" editions of websites. Just need the addon, or better still, the actual firefox configuration setting to fix this issue. Thanks. (Side note to this support website. Why would you not have the spelling of "firefox," "addon," and "mozilla" set as part of the auto-correct spelling?)

All Replies (10)

Forgot to tell you what OS, and version of Firefox: Windows 7 Pro on the big screen Laptop, Windows 7 Home Premium on the small one. Both have the most up to date version of Firefox 43.0.4 installed.

Are you zooming web page because that affects the screen dimensions as reported via JavaScript?

You can open the Web Console (Firefox menu button or Tools > Web Developer) and paste this text in the command line.

console.log("Current Width: "+window.outerWidth+"\n\nCurrent 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+"\n\nscreen.width="+screen.width+"\nscreen.height="+screen.height+"\n\nscreen.colorDepth="+screen.colorDepth+"\nscreen.pixelDepth="+screen.pixelDepth);

Try to set layout.css.devPixelsPerPx to 1.0 (default is -1) on the about:config page. If necessary adjust its value in 0.1 or 0.05 steps (1.1 or 0.9) until icons or text looks right. Modifying layout.css.devPixelsPerPx acts as a global zoom and affects the user interface and web pages and you may have to adjust the appearance of web pages.

You can open the about:config page via the location/address bar. You can accept the warning and click "I'll be careful" to continue.

You can look at the Default FullZoom Level or NoSquint extension to set a default font size and page zoom on web pages.

Ok, info on the screen width give by the code: Current Width: 1928

Current Window: 1928 x 1044 Screen Available: 1920 x 1036 Full Screen Size: 1920 x 1080

window.outerWidth=1928 window.outerHeight=1044

window.innerWidth=1920 window.innerHeight=738

screen.width=1920 screen.height=1080

screen.colorDepth=24 screen.pixelDepth=24

this was with the console open at the bottom of screen (thus the inner window height difference.)

Going to look at the addons, first, to see if they work, so I do not have to get into the config aspects.

OK, No Squint did help, some. The present support page is now 1/3 of the center of my browser page, instead of 1/5 (approximations.)

I do not see how the No Squint ensures I get the Full size website over the Mobile version.

All this does, and what you suggest I mod the Config to do, is make the Font sizes larger...

Does not resolve the issue I have of not getting the "Full Size" or "Desktop" version of the Website over the "Mobile" Version.

So, still unresolved.

I do find it funny I get the Mobile edition of this website, too... Limited to the middle 3rd of the browser page. Making 66% of my screen blank white void....

I will have to log into my Desktop to see the full size webpage.

With those dimensions reported you should get the regular page and not the mobile version.

Start Firefox in Safe Mode to check if one of the extensions (Firefox menu button/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem.

  • Switch to the DEFAULT theme: Firefox menu button/Tools > Add-ons > Appearance
  • Do NOT click the Reset button on the Safe Mode start window

Boot the computer in Windows Safe mode with network support (press F8 on the boot screen) to see if that has effect.

HvyMtl said

I do find it funny I get the Mobile edition of this website, too... Limited to the middle 3rd of the browser page. Making 66% of my screen blank white void....

This sounds like the normal desktop version of support.mozilla.org/questions/all if you see the Question tools on right of OP and desktop version works this way to be effective on both monitors and tablets. The mobile version of forums fills the browser window since you are likely using a cellphone then. If it says "Switch to mobile site" on bottom of page then you are on desktop version of forum.

Can you attach a screenshot?

  • Use a compressed image type like PNG or JPG to save the screenshot
  • Make sure that you do not exceed the maximum size of 1 MB

Safe mode = no change. It is on default theme. Safe mode in Windoze changes nothing. (Did all that before bothering you guys here... Double checked it, virus free, both systems.)

What does Firefox tell websites so they decide to switch from Full to Mobile? Where is this located, and how do I modify that?

Will look into creating some pics. Gonna do it on the smaller screened one, as it is worse on it.

Can you attach a screenshot to see if you actually get a different (mobile) page?

This website doesn't use the full screen width (Inspector shows 940px), so let that not confuse you.