Sci-fi, comics, humor, photos…it's all fair game.

Browser Sniffing Strikes Again!

May 27th, 2009 by Kelson. Posted in Opera, Web Design and tagged for ,

As the first major web browser to reach a double-digit version, Opera has been testing out alpha releases of version 10 for months now. One of the early problems they encountered was bad browser detection scripts that only looked at the first digit of a version number and decided that Opera 10 was actually Opera 1, and therefore too old to handle modern web pages.

After extensive testing, they’ve concluded that the best way to work around this is to pretend to be Version 9.80. From now on, all versions of Opera will identify themselves as “Opera/9.80″ with the real version appearing later in the user-agent string.

For example:

Opera/9.80 (Macintosh; Intel Mac OS X; U; en) Presto/2.2.15 Version/10.00

This is similar to the way all Gecko-based browsers identify themselves as Mozilla/5.0, then list the real browser name and version number later on, which makes me wonder why they didn’t just stick with that increasingly irrelevant prefix — though I suppose any scripts looking specifically for Opera versions might have still picked up Opera/10 later on in the ID.

It’ll be some time before Firefox or Safari runs into this issue, but with Internet Explorer 8 in wide release, you have to wonder…what will Microsoft do when they get to IE 10?

Related Posts

Also Related

RSS feed for comments on this post.

6 Responses to “Browser Sniffing Strikes Again!”

  1. West says:

    http://www.youtube.com/watch?v=kESdESjyOdA&feature=player_embedded

    Search results showed no mention of Skyfire, a mobile browser that apparently supports FlashLite or something. It plays HULU, man!

    I thought you might want to check it out, if you haven’t already.

    • Kelson says:

      Finally got a chance to watch that video. Somehow I’d never heard of them before, but it looks really cool!

      It almost makes me wish I had a Windows Mobile phone to try it out on.

      Thanks for the link!

      • West says:

        Yeah. It makes me want WinMo, myself, sometimes.

        And, last I heard, it’s still in Beta. I dunno much about that but it leads me to believe it’s just going to get better (or maybe more stable?) from here.

        Anyway, I’m glad I was actually able to hip you to something, for once. Heh.

        Have a good weekend.

Post a Comment

Note: This post is over 5 months old. You may want to check later in this blog to see if there is new information relevant to your comment.