Are you a browser sniffer? Get your site ready for a new smell

,

Opera released an alpha of Opera 10 earlier this month. One reason for alpha releases is to find and fix potential problems and bugs. These can either be browser bugs that we have to fix or site bugs where the site’s developers need to fix. Opera 10 has uncovered a flaw in many browser sniffer scripts, that causes the script to detect Opera 10 as Opera 1. This is because they only detect the first digit of the version number. My colleague Hallvord Steen has more information in his blog post 10 is the one. I'd recommend anyone that developers web sites to download the latest alpha and check their sites for this and other potential issues, before Opera 10 goes final.

This issue has caused problems on many big sites from Microsoft Live to Bank of America. If it isn't fixed the sites will also likely stay broken for when browsers like IE 10 get released in a number of years time. Unfortunately we are the ones leading the pack into this particular issue.

Opera 9.63 Chinese Ver. is out (and you can try it too)State of the mobile Web Report

Comments

HenryAOTEAROAnz Tuesday, December 30, 2008 9:42:34 PM

up

FataL Tuesday, December 30, 2008 10:34:08 PM

I promice you, I will never use sniffers! bigsmile
Just fix finally this annoing letter spacing bug. wink

David Storeydstorey Wednesday, December 31, 2008 12:25:50 AM

FataL: Is there a bug report on that issue?

Charles SchlossChas4 Wednesday, December 31, 2008 2:07:20 AM

My question would be will IE even make it to version 10? wink

I will spread the word smile

FataL Wednesday, December 31, 2008 5:25:10 AM

dstorey: most likely it was reported (I don't remember the bug #)
See this related forum tread.

serious Wednesday, December 31, 2008 9:55:26 AM

I don't get why there is no js-object for this where a browser broadcasts its name and version. then there wouldn't be a "need" for ua-string-analysis - at least in javascript - anymore.

don't misunderstand me, browser sniffing is a bad thing - esp if it simply blocks the browser "just cause", but sometimes it is necessary to work around browser specific bugs, so there should also be a clean solution for this.

FataL Wednesday, December 31, 2008 5:47:43 PM

Serious, sometimes you may try to use bug detection instead version sniffing.

FataL Wednesday, December 31, 2008 7:54:37 PM

BTW, I just recalled that Opera is not a first browser with number 10 in version.
Amaya is already version 11! wink

Happy New Year to everyone! drunk

serious Wednesday, December 31, 2008 8:12:34 PM

@FataL: jep, that's true. but bug detection takes time and ressources (both at exectime and in production) and the decision is often to keep initial costs at a minimum - and also not having to think about making a working bug detection algorithm. well, I'm glad I'm not a webdeveloper but into java. one vm to rule them all wink

ps: happy new year you all. I'm outa here making my way to a party bye party party drunk

Uncle MickMickeyjoe-Irl Wednesday, December 31, 2008 8:35:29 PM

So what does Opera smell like confused

We already know IE stinks lol

David Storeydstorey Thursday, January 1, 2009 6:55:05 PM

Anonymous Thursday, January 22, 2009 4:39:40 AM

rksr3333 writes: opera is very fast in browsing world. beyond challenge.but my bad luck i had my blog called "LIFE LINE IS LOVE " ,WITH OUT ANY MISTAKE FROM MY SIDE SUDDENLY BANNED.REQUESTED MANY TIMES TO REVERT IT. BUT FAILED. I LAST RUPEESS 33000/- IN INDIAN MONEY VALUE DUE TO THE BAN. tHE ADVERTISER DID NOT PAID TO ME. ONCE AGAIN I HUMBLY REQUEST YOU AND THE TEAM TO RELEASE THE BAN AND TO MAKE ACTIVATE THE BLOG LIFE LINE IS LOVE."PLEASE DEAR. SINCERELY R.K.SUNDARARAJAN.

Write a comment

You must be logged in to write a comment. If you're not a registered member, please sign up.