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

搜索 | 用户支持

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

详细了解

Most sites not displaying as a mobile site when system display size is set to "Small"

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

more options

In 59.0.2 on Android, the majority of websites display as the desktop version when the display size in Android is set to "Small".

For example, the LinkedIn website renders as the full desktop site (even with the "Request Desktop Site" checkbox is unchecked). As soon as I go into my system settings and change the display size back to "Default", Firefox renders the site correctly.

Is there any way to get this fixed? Seems like it's more of a bug than a user/site issue as it occurs on most websites.

As a note, this display setting is available on my Pixel 2 XL with Android 8.1.0 under Settings > Display > Advanced > Display Size.

In 59.0.2 on Android, the majority of websites display as the desktop version when the display size in Android is set to "Small". For example, the LinkedIn website renders as the full desktop site (even with the "Request Desktop Site" checkbox is unchecked). As soon as I go into my system settings and change the display size back to "Default", Firefox renders the site correctly. Is there any way to get this fixed? Seems like it's more of a bug than a user/site issue as it occurs on most websites. As a note, this display setting is available on my Pixel 2 XL with Android 8.1.0 under Settings > Display > Advanced > Display Size.

被采纳的解决方案

The primary way to fix that would be to use the default UI density. Which disables the tablet interface of Firefox and sets the user agent back to the mobile user agent.

If you don't want to do that you can open about:config and set "general.useragent.override" to "Mozilla/5.0 (Android; Mobile; rv:59.0) Gecko/59.0 Firefox/59.0".

Every few months as Firefox releases new versions you should increment the user agent, for example when Firefox 60 is released in about 3 weeks it should be updated to "Mozilla/5.0 (Android; Mobile; rv:60.0) Gecko/60.0 Firefox/60.0" .

定位到答案原位置 👍 1

所有回复 (3)

more options

选择的解决方案

The primary way to fix that would be to use the default UI density. Which disables the tablet interface of Firefox and sets the user agent back to the mobile user agent.

If you don't want to do that you can open about:config and set "general.useragent.override" to "Mozilla/5.0 (Android; Mobile; rv:59.0) Gecko/59.0 Firefox/59.0".

Every few months as Firefox releases new versions you should increment the user agent, for example when Firefox 60 is released in about 3 weeks it should be updated to "Mozilla/5.0 (Android; Mobile; rv:60.0) Gecko/60.0 Firefox/60.0" .

more options

Perfect - setting the general.useragent.override resolved the issue.

Is there somewhere specific to make a feature request to just outright disable the tablet interface via a menu option? I don't mind updating the user agent every few months, but it would be nice to just have it as a stock setting that doesn't need to be updated.

由sacody于修改

more options

I have the same issue - just bought a nokia 7 plus

With Google Chrome, sites load in properly, it's only Mozilla which has this issue.

The above config change helps, but it ruins the "request desktop site" button, as it still goes to the mobile site after you tick it in, once you change configuration.

Ultimately, shouldnt it just pick up the screen size properly and then open the mobile page, if you're checking the pages from a mobile device?