搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

custom useragent string no longer in effect for FF4

  • 3 个回答
  • 16 人有此问题
  • 2 次查看
  • 最后回复者为 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.

被采纳的解决方案

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

定位到答案原位置 👍 3

所有回复 (3)

more options

选择的解决方案

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.

由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.