Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

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

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

custom useragent string no longer in effect for FF4

  • 3 uphendule
  • 16 zinale nkinga
  • 2 views
  • Igcine ukuphendulwa ngu TonyE

more options

in about:config I had a custom useragent string set, but when I upgraded to FF4, it is no longer being used, site's see the standard FF4 user agent string

if I visit a page in FF4 and dump the contents of the $_SERVER global var in PHP, it shows the standard FF4 user agent.

in about:config I had a custom useragent string set, but when I upgraded to FF4, it is no longer being used, site's see the standard FF4 user agent string if I visit a page in FF4 and dump the contents of the $_SERVER global var in PHP, it shows the standard FF4 user agent.

Isisombululo esikhethiwe

It is no longer possible to add things to the user agent string in Firefox 4. The only option available is to replace it using general.useragent.override

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 3

All Replies (3)

more options

Isisombululo Esikhethiwe

It is no longer possible to add things to the user agent string in Firefox 4. The only option available is to replace it using general.useragent.override

more options

Thank you very much, that did the trick. I just added a new config item (string) called:

general.useragent.override

and set it to the modified user agent string, and it worked perfectly. Thanks for your time.

Okulungisiwe ngu jaredh159

more options

You're welcome

You need to remember to update that preference when you update Firefox to ensure that it always shows the correct version of Firefox.