10 is the one
Friday, December 19, 2008 12:29:51 AM
Apparently a lot of trouble.
As Andrew Gregory already noticed, we're the first browser ever to release with a two-digit version number. If websites assume that version numbers always have a one-letter "major" part and look for a single digit, they are going to "detect" Opera 1!
Since we released the first preview of Opera 10, we're seeing the bug reports come in. Web sites go belly up because of their bad sniffing. Some of them aren't even ashamed of it..

Thanks, Bank of America. Do you feel like it's 1995 again? Yeah, me too.
You'd think that with the intense development Microsoft has been lavishing on live.com they would have found somebody capable of writing a usable browser sniffer (or ideally a person clever enough to say "wait, we don't really need one - what if we just use feature detection instead?"). Think again..
..and for further evidence that their backend version detection is an odd piece of software engineering, read their cookies closely - Opera 9.62's request first, then Opera 10:
GET /mail/browsersupport.aspx Host: co109w.col109.mail.live.com User-Agent: Opera/9.62 (Windows NT 5.1; U; en) Presto/2.2.0 Set-Cookie: BrowserSense=Win=1&Downlevel=0&WinIEOnly=0&Firefox=0&Opera=1&OperaVersion=9.2&Safari=0; domain=.live.com; path=/
GET /mail/browsersupport.aspx Host: co109w.col109.mail.live.com User-Agent: Opera/10.00 (Windows NT 5.1; U; en) Presto/2.2.0 Set-Cookie: BrowserSense=Win=1&Downlevel=1&WinIEOnly=0&Firefox=0&Opera=1&OperaVersion=&Safari=0; domain=.live.com; path=/
Did you spot the missing version value? We really confused them by adding 0.37 to our previous value, didn't we?
Speaking of cookies, they are the main reason we added the feature that lets you hide Opera's identity. Back then in 1996 or so, some sites would do browser sniffing and send cookies only to known browsers. On the next page, if you didn't serve it cookies the site would say "hey, you don't support cookies so go away". What would Joseph Heller make of that, I wonder?
So, rewind to meet the catch-22 server, re-born at Bank South Australia:
GET /InternetBanking/ HTTP/1.1 User-Agent: Opera/9.62 (Windows NT 5.1; U; en) Presto/2.1.1 Host: ibanking.banksa.com.au HTTP/1.1 200 OK Set-Cookie: JSESSIONID=000019WTazsWAk-lB38OrmKD3kR:13l3ifhnq;Path=/ Set-Cookie: bhCookieSess=1;Path=/ Set-Cookie: bhCookiePerm=1;Expires=Sat, 20-Dec-2008 23:35:40 GMT;Path=/
..and Opera 10..:
GET /InternetBanking/ HTTP/1.1 User-Agent: Opera/10.00 (Windows NT 5.1; U; en) Presto/2.2.0 Host: ibanking.banksa.com.au HTTP/1.1 200 OK Content-Type: text/html;charset=ISO-8859-1 Content-Language: en-AU Date: Thu, 18 Dec 2008 23:34:37 GMT Connection: close
Um, I'm hungry. Where are your cookies? Predictably the next page looks like this:

This is probably just the beginning.

Will the web ever learn?








« Previous 1 2
Andrew Gregory # Saturday, December 20, 2008 12:25:33 PM
No, it isn't. It's the result of bad code on the web site. I wish more sites were like the Bank of America and displayed their idiocy publicly. At least the BoA makes it clear who's at fault.
I don't think Opera should change anything. I think the site breakage that occurs due to version 10 is acceptable. It seems to be such a small proportion out of all the broken sites. More sites stopped working when Opera dropped overt document.all support (although that was balanced by other sites starting to work). Breakage that does occur can most likely be handled using the existing "Mask as" options.
Opera mangling their UA string would only make things more difficult for those web designers trying to do the right thing by Opera. You're suggesting Opera make their coding lives even more difficult than they are now. That will only increase resentment towards Opera.
I think some thought should be put into making the efforts Opera make towards site compatibility more visible. Everytime a UA override, browser.js patch, or Opera-supplied site preference is used, there should be some visible indication of it. A dunces hat, perhaps?
Haavardhaavard # Saturday, December 20, 2008 6:03:56 PM
Technology - indicates major changes/additions. Indicates that the new build is different from the older build.
Marketing - indicates that there is something brand new that the market might be interested in (not just bugfixes).
10 is not an arbitrary number. It indicates a major release after version 9 with significant changes and additions.
TreeGo # Saturday, December 20, 2008 8:47:10 PM
leighmanLeighman # Saturday, December 20, 2008 9:24:50 PM
I do agree that something which notified users that browser js was being used, for whatever reason, would be a good idea.
J. KingMTKnight # Sunday, December 21, 2008 2:19:03 AM
Opera just happens to be the first bitten by others' incompetence; it's in no way a problem of their making.
mabdul # Sunday, December 21, 2008 1:35:42 PM
Charles SchlossChas4 # Monday, December 22, 2008 2:56:02 AM
If web dev just wrote in web standards code we would not have as much of this problem
using Opera 10 Alpha 1
<www.usbank.com>
To get the most benefit from U.S. Bank Internet Banking, we recommend using one of the supported browsers described in our Browser Requirements and Security Standards.
for the Browser page: http://www.usbank.com/cgi_w/cfm/about/browsers.cfm
I did send them feedback
mabdul # Monday, December 22, 2008 2:03:02 PM
why will this bank a particular os(mac/win)? why not linux with ff? or maybe bsd/unix or other? *confused*
Unregistered user # Monday, December 22, 2008 2:07:01 PM
Jere # Tuesday, December 23, 2008 3:30:13 AM
with IE perhaps being closest of the competing browsers to reach version 10, I'd rather see Opera leave the burden of this misfortunate number on the shoulders of the IE devs. IE is significant enough to initiate a change in poor sniffing methods, Opera is not. It's an opportunity Opera should wait for. Till then, hacking around with the UA string is the only way to do the users a favor.
FataL # Tuesday, December 23, 2008 3:43:59 AM
I still see many sites that have issues with Flash 10...
ΩJr.OmegaJunior # Sunday, December 28, 2008 1:11:27 PM
However... it occurs to me that I, too, hadn't thought of looking for a 2-digit number in browser sniffing. Granted I only sniff at MS's excuse for a browser, but if Hallvors hadn't written this blog post, the idea wouldn't even have crossed my mind.
Sometimes it's not that us web developers are stupid... sometimes it's that we're blind.
Unregistered user # Sunday, January 11, 2009 2:08:35 PM
Unregistered user # Tuesday, January 13, 2009 12:53:12 PM
Hallvord R. M. Steenhallvors # Wednesday, January 14, 2009 12:31:03 PM
LOL, we have a solution! Give the company a suitable psychological diagnosis and some therapy, voila!
I wish it was that simple
The web is a complex place. Today, I believe browser sniffing practises are so varied and insane that pretty much anything we do with the User-Agent string will break a subset of websites. There is a trade-off between complexity and compatibility, but what we've seen in the past is a sort of complexity arms race between browsers and browser sniffers. It makes sense to me to try to avoid that, and rather work on tools like site-specific spoofing and patching. The default is simple, only when required we add complexity.
Uncle MickMickeyjoe-Irl # Wednesday, January 14, 2009 1:51:11 PM
There's a term to describe everyone.
Daned4n3 # Thursday, January 15, 2009 2:02:15 AM
DavidSchalandra # Thursday, January 29, 2009 3:05:54 PM
www.godiva.com
Just dropped them a small note via email so they can fix it.
I keep on fighting.
Mad Scientist (عادل)qlue # Tuesday, February 3, 2009 8:55:10 PM
http://www.vodacom4me.co.za
Unregistered user # Saturday, March 21, 2009 6:04:54 PM
Unregistered user # Monday, March 30, 2009 9:26:58 PM
Hallvord R. M. Steenhallvors # Wednesday, May 27, 2009 6:48:37 PM
As a result of probably thousands of ASP.NET sites not sending us full JS source and many, many other problems caused by the "10" we're letting Opera 10 pretend to be 9.80. Here's the announcement:
http://dev.opera.com/articles/view/opera-ua-string-changes/
FataL # Wednesday, May 27, 2009 8:05:16 PM
Lets wait for IE 10 (probably five more years).
Charles SchlossChas4 # Wednesday, May 27, 2009 11:11:02 PM
lucideer # Friday, May 29, 2009 3:22:59 PM
Originally posted by FataL:
Have you considered that IE10 might actually be Microsoft Gazelle 2.0 or some such?
FataL # Friday, May 29, 2009 4:19:50 PM
Originally posted by lucideer:
Then they will get in trouble with too low version number anyway.Charles SchlossChas4 # Friday, May 29, 2009 4:21:48 PM
Unregistered user # Wednesday, June 3, 2009 9:14:29 AM
lucideer # Wednesday, June 3, 2009 10:40:07 AM
Originally posted by anonymous:
Charles SchlossChas4 # Wednesday, June 3, 2009 2:58:09 PM
Andrew Nguyenandrewnguyen # Thursday, June 4, 2009 2:23:02 AM
Mad Scientist (عادل)qlue # Sunday, June 7, 2009 10:52:57 AM
lucideer # Sunday, June 7, 2009 1:16:04 PM
If you've read the blog post for the new 10 beta, you'll see that they did in the end capitulate and changed the userAgent to 9.80.
Unregistered user # Tuesday, July 21, 2009 4:51:51 PM
Unregistered user # Tuesday, July 21, 2009 4:55:09 PM
Unregistered user # Tuesday, July 21, 2009 5:41:39 PM
Unregistered user # Friday, October 2, 2009 12:27:24 AM
Charles SchlossChas4 # Saturday, February 11, 2012 5:06:05 PM
https://hacks.mozilla.org/2012/01/firefox-goes-2-digit-time-to-check-your-ua-sniffing-scripts/
Tracking bug for UA sniffers failing to handle a two-digit version
https://bugzilla.mozilla.org/show_bug.cgi?id=690287
I know I have seen this before http://files.myopera.com/Tamil/Smilies/Wink.gif -
I wonder what happened when Chrome hit the double digit, IE is close to 10
Uncle MickMickeyjoe-Irl # Saturday, February 11, 2012 10:12:03 PM
Originally posted by Chas4:
Chrome released v10 last year. Currently on v
1719.Charles SchlossChas4 # Saturday, February 11, 2012 10:45:47 PM
Hallvord R. M. Steenhallvors # Tuesday, February 14, 2012 10:02:49 AM