Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Pretraži podršku

Izbjegni prevare podrške. Nikad te nećemo tražiti da nas nazoveš, da nam pošalješ telefonski broj ili da podijeliš osobne podatke. Prijavi sumnjive radnje pomoću opcije „Prijavi zlouporabu”.

Saznaj više

custom useragent string no longer in effect for FF4

  • 3 odgovora
  • 16 ima ovaj problem
  • 1 prikaz
  • Posljednji odgovor od 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.

Izabrano rješenje

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

Pročitaj ovaj odgovor u kontekstu 👍 3

Svi odgovori (3)

more options

Odabrano rješenje

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.

Izmjenjeno od 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.