Notizie: scarica ora l'ultima versione disponibile di SeaMonkey!

Autore Topic: Identificativo build Firefox 4 b8  (Letto 1611 volte)

0 Utenti e 1 Visitatore stanno visualizzando questo topic.

Offline jooliaan

  • Lazy Old Man
  • Post: 8532
    • BlogZilla
Identificativo build Firefox 4 b8
« il: 21 Dicembre 2010 20:39:02 »
Mi lascia un po' perplesso la stringa identificativa della build beta 8 prossima al rilascio in questi giorni
Citazione
Mozilla/5.0 (Windows NT 5.1; rv:2.0b8) Gecko/20100101 Firefox/4.0b8

:shock:

Offline Godai71

  • Moderatore
  • Post: 4153
    • The Walking Shadow
Re: Identificativo build Firefox 4 b8
« Risposta #1 il: 21 Dicembre 2010 20:44:35 »
L'identificativo non è strano con la Nightly

Citazione
Mozilla/5.0 (Windows NT 5.1; rv:2.0b9pre) Gecko/20101221 Firefox/4.0b9pre

Offline jooliaan

  • Lazy Old Man
  • Post: 8532
    • BlogZilla
Re: Identificativo build Firefox 4 b8
« Risposta #2 il: 21 Dicembre 2010 20:46:53 »
Ecco qui:




Offline jooliaan

  • Lazy Old Man
  • Post: 8532
    • BlogZilla
Re: Identificativo build Firefox 4 b8
« Risposta #3 il: 22 Dicembre 2010 09:47:54 »
Stesso problema anche con fx4b8 en-US


Offline Godai71

  • Moderatore
  • Post: 4153
    • The Walking Shadow
Re: Identificativo build Firefox 4 b8
« Risposta #4 il: 22 Dicembre 2010 09:54:20 »
Giusto per la cronaca è uguale a quello della beta 7

Citazione
Mozilla/5.0 (Windows NT 6.0; rv:2.0b7) Gecko/20100101 Firefox/4.0b7

ed è giusto sia così

https://developer.mozilla.org/En/Firefox_User_Agent_String_Reference

Offline jooliaan

  • Lazy Old Man
  • Post: 8532
    • BlogZilla
Re: Identificativo build Firefox 4 b8
« Risposta #5 il: 22 Dicembre 2010 09:59:39 »
E  hai ragione tu Stefano! :oops:

Infatti qui: http://hacks.mozilla.org/2010/09/final-user-agent-string-for-firefox-4/ viene spiegato un po' meglio:
Citazione
6) The Gecko build date in the “Gecko/yyyymmdd” token has been frozen to 20100101 for Firefox releases. This means:

    * If you want to detect whether the browser is genuine Gecko, search for the strings “Gecko” and “rv:”. The presence of these two strings will distinguish Gecko from browsers who state they are “like Gecko” in the UA string.
    * If you want to determine the Gecko version, first — as noted above — consider carefully whether you can feature-sniff instead. If you must, obtain it from the “rv:x.y.z” string.

If you are presently using the build date or otherwise depending on the exact format of the “Gecko/yyyymmdd” token, stop! In the next major release of Gecko, this will be replaced by the string “Gecko/”. If you rely on the fact that this will be followed by a date string, you will break.

For testing purposes, the unfrozen build date is still included in nightly builds of Firefox, but it will be removed in future nightly builds.


0 Utenti e 1 Visitatore stanno visualizzando questo topic.