Шукати в статтях підтримки

Остерігайтеся нападів зловмисників. Mozilla ніколи не просить вас зателефонувати, надіслати номер телефону у повідомленні або поділитися з кимось особистими даними. Будь ласка, повідомте про підозрілі дії за допомогою меню “Повідомити про зловживання”

Докладніше

Ця тема перенесена в архів. Якщо вам потрібна допомога, запитайте.

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.