Die Funktionalität dieser Website ist durch Wartungsarbeiten eingeschränkt, die Ihr Erlebnis verbessern sollen. Wenn ein Artikel Ihr Problem nicht löst und Sie eine Frage stellen möchten, können Sie unsere Gemeinschaft über @FirefoxSupport auf Twitter, /r/firefox oder Reddit fragen.

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Why is firefox submitting empty http user agent headers with "browser" listed as "default browsers"

  • 3 Antworten
  • 2 haben dieses Problem
  • 8 Aufrufe
  • Letzte Antwort von cor-el

more options

Basically the entire gist of it. Every other browser on my computer submits complete user agent headers, but firefox seems to have decided not to do this. I've tested this with addons enabled and disabled on two different pc's and still get the same result. running firefox 14.0. Here is the user agent header I'm getting...

   [browser_name_regex] => §^.*$§
   [browser_name_pattern] => *
   [browser] => Default Browser
   [version] => 0
   [majorver] => 0
   [minorver] => 0
   [platform] => unknown
   [alpha] => 
   [beta] => 
   [win16] => 
   [win32] => 
   [win64] => 
   [frames] => 
   [iframes] => 
   [tables] => 
   [cookies] => 
   [backgroundsounds] => 
   [javascript] => 
   [vbscript] => 
   [javaapplets] => 
   [activexcontrols] => 
   [isbanned] => 
   [ismobiledevice] => 
   [issyndicationreader] => 
   [crawler] => 
   [cssversion] => 0
   [aolversion] => 0

Any help is appreciated. I'm a web developer just trying to understand why stuff like this isn't standardized across browsers.

Basically the entire gist of it. Every other browser on my computer submits complete user agent headers, but firefox seems to have decided not to do this. I've tested this with addons enabled and disabled on two different pc's and still get the same result. running firefox 14.0. Here is the user agent header I'm getting... [browser_name_regex] => §^.*$§ [browser_name_pattern] => * [browser] => Default Browser [version] => 0 [majorver] => 0 [minorver] => 0 [platform] => unknown [alpha] => [beta] => [win16] => [win32] => [win64] => [frames] => [iframes] => [tables] => [cookies] => [backgroundsounds] => [javascript] => [vbscript] => [javaapplets] => [activexcontrols] => [isbanned] => [ismobiledevice] => [issyndicationreader] => [crawler] => [cssversion] => 0 [aolversion] => 0 Any help is appreciated. I'm a web developer just trying to understand why stuff like this isn't standardized across browsers.

Ausgewählte Lösung

Which code or which website do you visit to get those results?

Which user agent do you see on the Help > Troubleshooting Information page?

Diese Antwort im Kontext lesen 👍 2

Alle Antworten (3)

more options

Ausgewählte Lösung

Which code or which website do you visit to get those results?

Which user agent do you see on the Help > Troubleshooting Information page?

more options

Ooops!

Did the testing on my own server. looks like the problem is an out of date browscap.ini file that doesn't recognize firefox 14 yet.

The userAgent string is there. I was just looking at data from a specific php function that returns values based on the string. With an out-of-date browscap.ini file, its simply going to always return the wrong values.

Thanks for the quick reply cor-el

more options

You're welcome