Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

I've somehow gotten Firefox stuck in Mobile mode by default

  • 17 답장
  • 0 이 문제를 만남
  • 최종 답변자: Trix

more options

The other day I accidentally pressed a keystroke that changed a Firefox setting, and now it thinks I'm on a mobile device/displays sites in mobile view where possible by default. This has persisted despite restarts of the browser and the computer and has been happening since Sunday (Australian time). I've tried opening the Responsive Design dev tool and I've sent screenshots to a techsavvy friend (I'm totally blind and use a screen-reader, so couldn't tell this was happening until I tried to use a site that had a radically different layout in mobile view), and aside from not seeing an exit button or a switch to change device mode, he couldn't tell what was going on.

I'm stuck and need help! I would like to unmobile my Firefox!

The other day I accidentally pressed a keystroke that changed a Firefox setting, and now it thinks I'm on a mobile device/displays sites in mobile view where possible by default. This has persisted despite restarts of the browser and the computer and has been happening since Sunday (Australian time). I've tried opening the Responsive Design dev tool and I've sent screenshots to a techsavvy friend (I'm totally blind and use a screen-reader, so couldn't tell this was happening until I tried to use a site that had a radically different layout in mobile view), and aside from not seeing an exit button or a switch to change device mode, he couldn't tell what was going on. I'm stuck and need help! I would like to unmobile my Firefox!

선택된 해결법

There are two ways to change the screen dimensions, one is to drag the border with the mouse (hold the left mouse button), another is to use Resize in the "Alt+Space" System menu.

If you do not keep the dimensions when you close and restart Firefox then there might be a problem with xulstore.json in the Firefox profile folder.

In that case, try to rename/remove xulstore.json in the Firefox profile folder with Firefox closed.

You can use the button in "Help -> More Troubleshooting Information" (about:support) to go to the current Firefox profile folder or use the about:profiles page (Root directory).

문맥에 따라 이 답변을 읽어주세요 👍 2

모든 댓글 (17)

more options

Do you still get the pages in mobile mode if you switch to Full Screen mode (F11) in case the current screen dimensions are too small? This also can happen if you zoom the page or use a large font size.

Can you attach a screenshot that includes the user interface?

도움이 되셨습니까?

more options

I get the desktop view when I toggle fullscreen, but I did not have to do that even a few days ago. I tried zooming in and out and it didn't change the layout of the pages I used to test, and also no matter what I did, my changes reverted when I closed the browser window, even if the library was still up.

I've taken a screenshot of the page I've been using as a demonstration with tech friends. Used the microsoft method because that guaranteed it would show the whole window, and as I'm totally blind, I couldn't ensure I captured the right thing otherwise.

도움이 되셨습니까?

more options

Unfortunately the image if completely white color with dimensions: 1,152px × 1,027px. Maybe try to increase the width of the Firefox window a bit to see if that has effect as a lot of webpages automatically adjust their layout to the available screen estate and might expect a width over 1200.

You may have accidentally zoomed webpage(s). Reset the page zoom on pages that cause problems.

  • View -> Zoom -> Reset (Ctrl+0/Command+0 (zero))

도움이 되셨습니까?

more options

I tried that and it didn't work! I've tried messing with Zoom and it just does not work, and this is on multiple pages! It's on the page I tried to screenshot, my Tumblr dashboard, another website I use all the time...

And it's stuck doing this by default! It resets back to this behaviour whenever I close the browser window!

Here's a screenshot of the page taken within Firefox. I don't think pasting into Paint worked very well...

도움이 되셨습니까?

more options

The above screenshot is not the same page as the screenshot I tried to do earlier, but I couldn't edit the above post to correct it because I don't know how to do that on this forum, so I'm posting a reply to correct it.

도움이 되셨습니까?

more options

You can find "Edit this question" under the sidebar "Question Tools" menu (you may have to scroll to the top). For a reply, "Edit this post" is in the three-dot menu next to a reply.


You get this layout when the screen isn't wide enough, for this forum the switch happens with a width above 1024px. Do you know how to adjust the width of the Firefox window? As a quick test you can zoom out the page one or more steps to simulate a larger screen estate.

I noticed that the current Firefox release show a popup for a short time with the screen dimensions in the top right corner when I zoom or change the dimensions, but I do not know whether this is exposed/handled by a screen reader.

도움이 되셨습니까?

more options

Trix, did you try toggling Responsive Design Mode? On Windows you can press Ctrl + Shift + M. For alternative methods see the "Toggling Responsive Design Mode" section here: https://firefox-source-docs.mozilla.org/devtools-user/responsive_design_mode/

도움이 되셨습니까?

more options

TechHorse said

Trix, did you try toggling Responsive Design Mode? On Windows you can press Ctrl + Shift + M. For alternative methods see the "Toggling Responsive Design Mode" section here: https://firefox-source-docs.mozilla.org/devtools-user/responsive_design_mode/

I did, but I couldn't find a way to restore what was lost in any of the menus that command opened up. And my tech friend said there should be an X option to switch back to desktop and there isn't one, which he said means the browser thinks it's on a mobile device.

cor-el said

You can find "Edit this question" under the sidebar "Question Tools" menu (you may have to scroll to the top). For a reply, "Edit this post" is in the three-dot menu next to a reply.

You get this layout when the screen isn't wide enough, for this forum the switch happens with a width above 1024px. Do you know how to adjust the width of the Firefox window? As a quick test you can zoom out the page one or more steps to simulate a larger screen estate.

I noticed that the current Firefox release show a popup for a short time with the screen dimensions in the top right corner when I zoom or change the dimensions, but I do not know whether this is exposed/handled by a screen reader.

I think I did see that popup earlier, but I have to be quick to see it before it disappears.

I was able to get the desktop layout back after zooming out three steps. I don't know how to permanently change the width of the window though. Returning to the original size with ctrl+0 restores the behaviour I do not want.

글쓴이 Trix 수정일시

도움이 되셨습니까?

more options

Trix, does anything in the "Device selection" section of that link help?

That section also talks of how it changes your User-Agent header, so perhaps whether this is set correctly might be worth looking at next, if nothing else helps.

도움이 되셨습니까?

more options

TechHorse said

Trix, does anything in the "Device selection" section of that link help? That section also talks of how it changes your User-Agent header, so perhaps whether this is set correctly might be worth looking at next, if nothing else helps.

None of the devices listed are relevant—I'm on a PC with a monitor. I don't want to change my browser to something even more messed up/optimised for a mobile device I'm not on...

도움이 되셨습니까?

more options

There is a desktop site option where you can switch from mobile to desktop in the Firefox browser.

도움이 되셨습니까?

more options

Robert Lee said

There is a desktop site option where you can switch from mobile to desktop in the Firefox browser.

But will it work if the window is still too narrow? Zooming out worked once I'd done it three times.

도움이 되셨습니까?

more options

Trix, what is your User Agent string?

To see this go to Help Menu > More Troubleshooting Information, then find User Agent in the table under the heading "Application Basics" (this may be a level 2 heading for your screen reader).

What I am considering is the possibility that Firefox has changed the User Agent string that it reports, and so now websites think that this is a different browser / OS / device than it is.

글쓴이 TechHorse 수정일시

도움이 되셨습니까?

more options

TechHorse said

Trix, what is your User Agent string? To see this go to Help Menu > More Troubleshooting Information, then find User Agent in the table under the heading "Application Basics" (this may be a level 2 heading for your screen reader). What I am considering is the possibility that Firefox has changed the User Agent string that it reports, and so now websites think that this is a different browser / OS / device than it is.

My User Agent string is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0

I'm to understand this is the one expected for Windows 10, and I do use Windows 11 on this PC, but my previous computer, from which this profile was most recently copied, was on Windows 10. Regardless, this is still a Windows UA.

도움이 되셨습니까?

more options

The Zooming adjustments have stuck around, so at least those won't break. One does still wonder why the default the screen reverts to with ctrl+0 is so small we end up in mobile view.

도움이 되셨습니까?

more options

선택된 해결법

There are two ways to change the screen dimensions, one is to drag the border with the mouse (hold the left mouse button), another is to use Resize in the "Alt+Space" System menu.

If you do not keep the dimensions when you close and restart Firefox then there might be a problem with xulstore.json in the Firefox profile folder.

In that case, try to rename/remove xulstore.json in the Firefox profile folder with Firefox closed.

You can use the button in "Help -> More Troubleshooting Information" (about:support) to go to the current Firefox profile folder or use the about:profiles page (Root directory).

도움이 되셨습니까?

more options

I went to the alt+space menu and maximised the window and it stuck! Thank you so much, I'm not as knowledgeable about the visual features of my preferred OS owing to being totally blind, so I didn't even think to try this.

도움이 되셨습니까?

질문하기

글에 답글을 달기 위해서는 계정으로 로그인해야만 합니다. 계정이 아직 없다면 새로운 질문을 올려주세요.