Vid Sat, 31 Jul 2010 kl. 11.11.00, skrev OALDERS:
Show quoted text> On Thu Jul 29 09:52:48 2010, jacobr wrote:
> > The following user agent string should be reported as a mobile
browser,
Show quoted text> > but is not:
> >
> > Opera/9.80 (S60; SymbOS; Opera Mobi/320; U; sv) Presto/2.4.15
> > Version/10.00
> >
> > I suggest adding both "SymbOS" and "Opera Mobi" to the check.
> >
> > Thanks,
> > Jacob
>
> Hi Jacob,
>
> Thanks. I'll do that. As far as the UserAgent string, what is the
> meaning of 9.80 vs 10.00? There's already another open ticket
regarding
Show quoted text> this. I'm trying to figure out which should be the actual version
> number reported back etc.
>
> Thanks,
>
> Olaf
Hi,
when the Opera 10.00 beta was launched testers noticed that lots of
browser sniffing scripts simply took the first number of a version
string, which meant Opera 10.00 was reported as Opera 1. It was decided
to report the browser as 9.80 but with Version/10.x at the end of the
UA string, otherwise too many pages would break, which would be bad for
the users.
If you want to get the actual Opera version, you should get what's
after Version/ at the end of the UA string.
You can read more about this at
http://dev.opera.com/articles/view/
opera-ua-string-changes/
/Jacob Rask
web developer at Opera Software