Opera 10 Browser UA string format changed to accomodate bad applications
dev.opera.com
dev.opera.com
"Browser sniffing — unless you’re writing a web stats application — is always a bad idea. It’s a misguided attempt to send different content to different user agents. This is never scalable — you can’t change every website you’ve ever made every time a new browser version comes out. It is also not future-proof, as highlighted by this article."
cool
If you're Firefox with 25% share and a strong developer following, then MAYBE you could get away with that. Opera, treading water as fast as it possibly can, would simply die if it didn't render every existing page on the web correctly.
That being said, Opera is the only modern web browser that we no-longer test for on Twiddla. For a while we were putting in little Opera-specific hacks to work around its painfully slow rendering engine (which ironically is the reason it's such a pleasant browser to develop against), but eventually it became too much effort to be worth it considering the 1.35% of our traffic that it comprises.
So yeah, I'm with you in hoping it doesn't go away. Still, I'll stand by my statement that breaking the user experience to make a point would be a fatal mistake for them.
So Opera duplicates IE's idiotic bug ridden excuse for rendering, whilst Firefox does things properly. I'd rather firefox/webkit TBH.
IE is and always has been the standard. It's only in the last few year that Firefox has captured enough market share that the W3C "standards" have any real bearing on the situation.
Of course, had the W3C simply used the box model in place in IE and Netscape at the time it wrote its CSS specification, rather than inventing its own, nobody would be calling the IE way of doing things idiotic. It would simply be the logical way of rendering content in boxes.
I've only used Opera since it became free in version 9, but it's always seemed a lot faster than Firefox and IE. It's even gotten noticeably faster upon all the significant updates I've seen.
It's surprising to see you describe Opera as IE-like (broken) and slow, but since you probably have more experience in these things, I'll have to take your word for it.
Approximately 40 million mobile phones have shipped with Opera pre-installed. Opera is the only commercial web browser available for the Nintendo DS and Wii gaming systems.
http://www.w3schools.com/browsers/browsers_stats.asp
You could certainly read that to mean that Opera has doubled its market share since early 2003.
You could also read that to mean that Opera has remained at about 2% market share for six years now, during which time Firefox has been born and risen to about 40% penetration, and during the last six months of which Google's browser has been both released and passed them by a factor of 3.
So yes, Opera is not going anywhere. You can read that to mean that they're going to stick around if you'd like. You can also read that to mean that they are not now, nor have they ever been a real competitor in the Browser market.
As of September 2008, usage data on English-language sites show Opera's share of the browser market as being below 1%. The browser has seen more success in Europe, including about 18–20% market share in Russia and Ukraine,and 5–6% in Poland, Latvia, Lithuania, and the Czech Republic.
Unlike any of the other browsers listed in those statistics, Opera is developed by a company based in a non-English language country. They have their own niche languages/platforms and I'm sure they're doing quite well in them.
That said, I live in the US and find Opera to be entirely usable on my laptop. In fact, I asked on another thread (http://news.ycombinator.com/item?id=622038) why Opera doesn't have a larger market share, and most of the reasons given were non-technical.
Legacy code comes back to bite us in the rear again!
Compatibility mode.
In a way this solution is compatibility mode. "Broken" detection scripts see version nine (which is good enough), scripts that know about Opera 10 sees version 10.
Think about the people who have to deal with the UA string for legitimate reasons (analytics...) they will have to deal with a special case (if (UA == "Opera/9.80...")).
It's seems a bit like a ugly hack to me.
The only way to make it work reliably is to look at the window.documentMode property which requires changing your code, thus defeating the point of the compatibility mode in the first place.