Spletno mesto bo delovalo z omejenimi zmožnostmi, medtem ko na njem izvajamo vzdrževalna dela za vas. Če članki ne rešijo vaše težave in želite zastaviti vprašanje, naša skupnost za podporo čaka na vas na @FirefoxSupport na Twitterju in na /r/firefox na Redditu.

Iskanje po podpori

Izogibajte se prevarantski tehnični podpori. Nikoli vam ne bomo naročili, da pokličete telefonsko številko ali nam pošljete osebne podatke. Sumljivo dejavnost prijavite z gumbom »Prijavi zlorabo«.

Več o tem

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

  • 3 odgovori
  • 2 imata to težavo
  • 8 ogledov
  • Zadnji odgovor od 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.

Izbrana rešitev

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

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

Preberite ta odgovor v kontekstu 👍 2

Vsi odgovori (3)

more options

Izbrana rešitev

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