Opera 10 is too old!
Sunday, May 11, 2008 5:36:50 AM
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.
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 (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.









Alexander Remenalexremen # Monday, May 12, 2008 12:18:56 AM
mabdul # Monday, May 12, 2008 1:58:24 PM
and what is about making a "new produkt"?
larskl # Friday, May 16, 2008 10:34:43 AM
mabdul # Saturday, May 17, 2008 10:16:59 AM
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 # Saturday, May 17, 2008 12:47:57 PM
"Opera X" -> parseInt("X") -> version 0
"Opera 2010" -> parseInt("2") -> version 2
All too old!
Please comment using a more recent browser!
mabdul # Saturday, May 17, 2008 6:52:26 PM
simo93 # Saturday, June 14, 2008 11:13:02 AM
have opera auto-detect that code and have it return a nine.
_Grey_ # Saturday, June 14, 2008 11:32:44 AM
Alekseyanime4christ # Wednesday, June 18, 2008 1:00:38 AM
John A. Bilicki IIIjabcreations # Monday, July 14, 2008 6:57:59 PM
Miladin MiladinoskiEagleMKD # Friday, December 5, 2008 11:20:16 AM
serious # Friday, December 5, 2008 5:51:05 PM
RachidRachidNL # Friday, December 5, 2008 10:07:35 PM
Owyn999 # Wednesday, December 10, 2008 4:00:57 PM
Charles SchlossChas4 # Monday, December 22, 2008 3:02:59 AM
what about Opera 0.10 ?
chris logancds56 # Tuesday, May 5, 2009 12:32:17 AM
Charles SchlossChas4 # Tuesday, May 5, 2009 1:55:33 AM
AgentCROCODILE # Saturday, May 9, 2009 9:25:40 AM
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 # Saturday, May 9, 2009 9:27:02 AM
Charles SchlossChas4 # Saturday, May 9, 2009 6:31:10 PM
MeanEYEmeaneye-rcf # Wednesday, June 3, 2009 7:53:16 PM
So, who knows...
Charles SchlossChas4 # Wednesday, June 3, 2009 8:00:35 PM
http://dev.opera.com/articles/view/opera-ua-string-changes/
Aron Ferdinand8654374oleg # Monday, November 22, 2010 5:20:29 PM
Marc BitenMaradada # Monday, November 22, 2010 5:43:30 PM
Charles SchlossChas4 # Friday, November 26, 2010 3:51:55 PM
Michael Hendersonmichreson # Thursday, January 6, 2011 10:01:33 AM