📣 Help shape Firefox by joining our Test Days event on July 21–27 to test the Firefox Semantic History Search in Firefox Beta 142

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

このスレッドはアーカイブに保管されました。 必要であれば新たに質問してください。

custom useragent string no longer in effect for FF4

  • 3 件の返信
  • 16 人がこの問題に困っています
  • 4 回表示
  • 最後の返信者: 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.