Opera 10 is too old!
Sunday, 11. May 2008, 05:36:50
Not that Opera have released version 10 (yet!), but it looks like at least one site is going to reject Opera when they do. And where there's one site, no doubt there's hundreds of others
Thankfully, a quick search doesn't quickly turn up anything similar, although there are plenty of other bad examples.
Anyway, here's the problem code:
If you're one of those people irritated at how poorly Opera appears to handle web site scripting - this is one of the bigger reasons. It's straight-out careless programming without thought.
I'll mention that the site in question isn't delivering bugs to just Opera. Their corresponding IE code had the exact same problem, except that IE is quite a bit further away from version 10 than Opera.
The problem remains for Opera:
UPDATE: Bit late, but Hallvord has blogged on this too: 10 is the one.
Anyway, here's the problem code:
if (navigator.userAgent.toLowerCase().indexOf("opera") != -1)
{
isOpera = true;
i = navigator.userAgent.indexOf("Opera") + 6;
v = parseInt(navigator.userAgent.substring(i, i+1));
if(v < 7)
isOperaOld = true;
}Need a clue? The substring will return exactly one character - the first digit of the version. Still need help? Version 10 will be identified as version 1.If you're one of those people irritated at how poorly Opera appears to handle web site scripting - this is one of the bigger reasons. It's straight-out careless programming without thought.
I'll mention that the site in question isn't delivering bugs to just Opera. Their corresponding IE code had the exact same problem, except that IE is quite a bit further away from version 10 than Opera.
The problem remains for Opera:
- Opera release version 10.
- Web sites stop working in Opera, all other browsers work fine.
- "Opera is a crappy browser, never works!"
UPDATE: Bit late, but Hallvord has blogged on this too: 10 is the one.









alexremen # 12. May 2008, 00:18
mabdul # 12. May 2008, 13:58
and what is about making a "new produkt"?
larskl # 16. May 2008, 10:34
mabdul # 17. May 2008, 10:16
In these days software isn't allowed to reach the version 10 o.O really crazy. 7 years ago i wouldn't wonder, but today...
Andrew Gregory # 17. May 2008, 12:47
"Opera X" -> parseInt("X") -> version 0
"Opera 2010" -> parseInt("2") -> version 2
All too old!
Please comment using a more recent browser!
mabdul # 17. May 2008, 18:52
simo93 # 14. June 2008, 11:13
have opera auto-detect that code and have it return a nine.
_Grey_ # 14. June 2008, 11:32
anime4christ # 18. June 2008, 01:00
jabcreations # 14. July 2008, 18:57
EagleMKD # 5. December 2008, 11:20
serious # 5. December 2008, 17:51
RachidNL # 5. December 2008, 22:07
Owyn999 # 10. December 2008, 16:00
Chas4 # 22. December 2008, 03:02
what about Opera 0.10 ?
cds56 # 5. May 2009, 00:32
Chas4 # 5. May 2009, 01:55
AgentCROCODILE # 9. May 2009, 09:25
Originally posted by Chas4:
No - Opera is very stable for an alpha.Ironically that forbidden browser from Redmond is stupid and unstable, yet it is a "stable release" according to them.
AgentCROCODILE # 9. May 2009, 09:27
Chas4 # 9. May 2009, 18:31
meaneye-rcf # 3. June 2009, 19:53
So, who knows...
Chas4 # 3. June 2009, 20:00
http://dev.opera.com/articles/view/opera-ua-string-changes/