This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox thinks it's Chrome.

  • 2 replies
  • 1 has this problem
  • 1 view
  • Last reply by cor-el

more options

Over the past two days or so, Firefox has been loading pages incorrectly (e.g. loading mobile versions of sites despite using Firefox on my desktop PC).

I'm using Firefox 38.0.5 in Windows 7, but the browser's user agent occasionally reads as Chrome 39 on Linux or Chrome 40 on iOS, with the general.useragent.override string listed variously as things like 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36', and 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) CriOS/43.0.2357.56 Mobile/12F70 Safari/600.1.4 (000602)'.

Whenever I change this string manually to 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/38.0.5', it changes back. I'm yet to figure out what causes this switch; the timing is triggers are inconsistent.

I've tried adding the User Agent Overrrider addon and setting the extension's user agent to 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/38.0.5'. For whatever reason, the browser reverts back to Chrome after a period of time, despite UAO being explicitly set to Firefox 38.

I've tried deleting user.js and prefs.js, but neither of these approaches worked.

I thought it possible that an extension might be causing trouble, but I've not installed any new extensions for a long while, and all are pretty innocuous: Classic Theme Restorer, Dictionary, Google Analytics Opt-out, Greasemonkey, RES, uBlock, Youtube Centre, Zotero. Of these, only Classic Theme Restorer has updated itself in the past two days,yet the problem persists when this extension is removed.

Nothing dubious shows up in Malwarebytes or Aunruns.

Any idea how I can find out what's doing this?

Over the past two days or so, Firefox has been loading pages incorrectly (e.g. loading mobile versions of sites despite using Firefox on my desktop PC). I'm using Firefox 38.0.5 in Windows 7, but the browser's user agent occasionally reads as Chrome 39 on Linux or Chrome 40 on iOS, with the general.useragent.override string listed variously as things like 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36', and 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) CriOS/43.0.2357.56 Mobile/12F70 Safari/600.1.4 (000602)'. Whenever I change this string manually to 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/38.0.5', it changes back. I'm yet to figure out what causes this switch; the timing is triggers are inconsistent. I've tried adding the User Agent Overrrider addon and setting the extension's user agent to 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/38.0.5'. For whatever reason, the browser reverts back to Chrome after a period of time, despite UAO being explicitly set to Firefox 38. I've tried deleting user.js and prefs.js, but neither of these approaches worked. I thought it possible that an extension might be causing trouble, but I've not installed any new extensions for a long while, and all are pretty innocuous: Classic Theme Restorer, Dictionary, Google Analytics Opt-out, Greasemonkey, RES, uBlock, Youtube Centre, Zotero. Of these, only Classic Theme Restorer has updated itself in the past two days,yet the problem persists when this extension is removed. Nothing dubious shows up in Malwarebytes or Aunruns. Any idea how I can find out what's doing this?
Attached screenshots

All Replies (2)

more options

Try to refresh firefox going to menu>help>troubleshooting infotmation>refresh firefoxTheDrCK said

Over the past two days or so, Firefox has been loading pages incorrectly (e.g. loading mobile versions of sites despite using Firefox on my desktop PC). I'm using Firefox 38.0.5 in Windows 7, but the browser's user agent occasionally reads as Chrome 39 on Linux or Chrome 40 on iOS, with the general.useragent.override string listed variously as things like 'Mozilla/5.0 (X11; Linux i686) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/40.0.2214.93 Safari/537.36', and 'Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML, like Gecko) CriOS/43.0.2357.56 Mobile/12F70 Safari/600.1.4 (000602)'. Whenever I change this string manually to 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/38.0.5', it changes back. I'm yet to figure out what causes this switch; the timing is triggers are inconsistent. I've tried adding the User Agent Overrrider addon and setting the extension's user agent to 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:29.0) Gecko/20100101 Firefox/38.0.5'. For whatever reason, the browser reverts back to Chrome after a period of time, despite UAO being explicitly set to Firefox 38. I've tried deleting user.js and prefs.js, but neither of these approaches worked. I thought it possible that an extension might be causing trouble, but I've not installed any new extensions for a long while, and all are pretty innocuous: Classic Theme Restorer, Dictionary, Google Analytics Opt-out, Greasemonkey, RES, uBlock, Youtube Centre, Zotero. Of these, only Classic Theme Restorer has updated itself in the past two days,yet the problem persists when this extension is removed. Nothing dubious shows up in Malwarebytes or Aunruns. Any idea how I can find out what's doing this?
more options

The general.useragent.override pref isn't there by default and the fact that you have it already means that a Firefox extension or other software is creating this pref.

Do you have a user.js file in the profile folder?

If that is the case then can you you post its content?

Note that the user.js file shouldn't be there as well just like the general.useragent.override pref.

See: