为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Permanently disable mobile versions of websites on desktop browser

  • 3 个回答
  • 1 人有此问题
  • 8 次查看
  • 最后回复者为 ronny

more options

It seems that my preferred width of the browser window on desktop is so narrow that some websites (not all!) seem to think I'm on a mobile device. And so they serve me the "mobile-friendly" version of the website instead of the standard desktop version. I can tell it's a "responsive design" thing because if I widen my browser window, the desktop-friendly version automatically appears.

Is there a way to disable this so that all websites are forced to always serve the desktop version of the website?

It seems that my preferred width of the browser window on desktop is so narrow that some websites (not all!) seem to think I'm on a mobile device. And so they serve me the "mobile-friendly" version of the website instead of the standard desktop version. I can tell it's a "responsive design" thing because if I widen my browser window, the desktop-friendly version automatically appears. Is there a way to disable this so that all websites are forced to always serve the desktop version of the website?

所有回复 (3)

more options

Can you post a screenshot showing your full browser with the issue?

more options

Note that this can merely be done via @media rules that switch to a mobile or narrow layout if the detected screen width is below a specific minimum. Some websites use more versions of their layout and adjust their content automatic if you adjust the width. You can see this in the Inspector and in the Style Editor.

If you can't make or do not want the Firefox window wider then you can try to zoom out the page as this affects the dimensions reported via JavaScript.

more options

cor-el said

If you can't make or do not want the Firefox window wider then you can try to zoom out the page as this affects the dimensions reported via JavaScript.

Ah, this could be my solution. I hadn't thought of that. Even going to 90% zoom is making a difference. Thank you!