Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox 89 useragent weirdness

  • 6 отговора
  • 1 има този проблем
  • 1 изглед
  • Последен отговор от northernBorder

more options

Firefox 89.0.2, windows 10 pro with latest updates

I had trouble with two sites - they were displaying the mobile view instead of the desktop view. I looked at the 'general.useragent.override' string in about:config. It was set to "Windows". I changed it to Mozilla/5.0 (Windows NT x.y; rv:10.0) Gecko/20100101 Firefox/10.0 and then the sites displayed correctly.

But now, duckduckgo and google are displaying strangely (perhaps they are showing the mobile version of the website?? Beats me.)

There are 3 other useragent config variables in about:config  : dom.push.userAgentID 66cb7374724c47149c50bf2c98c7f97c general.useragent.compatMode.firefox false useragentswitcher.version 0.7.3

(Plus, there are 4 'devtools' variables.)

Are those correct? Am I missing some? What else should I look at in order to fix duckduckgo and google?

Thanks!

PS: duckduckgo and google display correctly in Chrome. But I do not want to use Chrome.

PPS: I uploaded screenshots showing what google looks like on Firefox and on Chrome.

Firefox 89.0.2, windows 10 pro with latest updates I had trouble with two sites - they were displaying the mobile view instead of the desktop view. I looked at the 'general.useragent.override' string in about:config. It was set to "Windows". I changed it to Mozilla/5.0 (Windows NT x.y; rv:10.0) Gecko/20100101 Firefox/10.0 and then the sites displayed correctly. But now, duckduckgo and google are displaying strangely (perhaps they are showing the mobile version of the website?? Beats me.) There are 3 other useragent config variables in about:config : dom.push.userAgentID 66cb7374724c47149c50bf2c98c7f97c general.useragent.compatMode.firefox false useragentswitcher.version 0.7.3 (Plus, there are 4 'devtools' variables.) Are those correct? Am I missing some? What else should I look at in order to fix duckduckgo and google? Thanks! PS: duckduckgo and google display correctly in Chrome. But I do not want to use Chrome. PPS: I uploaded screenshots showing what google looks like on Firefox and on Chrome.
Прикачени екранни снимки

Избрано решение

To set the default UA you have to delete general.useragent.override preference using a trash icon on the right.

Прочетете този отговор в контекста 👍 1

Всички отговори (6)

more options

Why don't you stay on the default UA? Firefox/10.0 is not a very good choice.

more options

What is the default UA? Thanks

more options

Избрано решение

To set the default UA you have to delete general.useragent.override preference using a trash icon on the right.

more options

That fixed it - thanks!!

more options

If you click the trashcan icon on general.useragent.override to reset the pref then you get the default user agent. It is best not to use this pref to modify the user agent. If you really need a specific user agent for a website then use a user agent switching extension.