Saab says //TODO: Opera-compatibility
Friday, 10. November 2006, 14:10:43
function getFlashMovieObject() {
var errmsg = 'Sorry, your browser is missing the functionality for viewing this page...';
if (isOPERA || isMAC) {//have to find out about this...
alert(errmsg);
return null;
}source
Sorry Saab, your web developer is missing functionality for avoiding browser detection.
I still don't understand tho, why any company of this scale would want to block out possible customers. It seems to me that they are compromising the companies total income by turning away customer in this way and to be frank need to be fired, haha, or start programming fair.
Hallvord, you might be keeping them their job, haha, i mean if the CEO never sees that they are blocking possible customers he will never get upset, lol. Nah, they've been doing it for a while so if he doesn't know then he never will.
By kyleabaker, # 10. November 2006, 16:31:53
function getFlashMovieObject(){I don't know German, so it's up to Opera to contact saab.if( document.getElementById )
return document.getElementById('flashContainer')
else if( document.all )
return document.all['flashContainer'];
else if (document.flashContainer )
return document.flashContainer
else if( window.flashContainer )
return window.flashContainer
return null;
}
Yes, I know the 2 last checks are useless, but the unexperienced developer might understand them better
By xErath, # 10. November 2006, 20:58:23
Actually, web developers like these have a reason to worry because they often use nonstandard HTML and JS which happens to work in the browsers they test in. Often this happens without knowing what is standard and what isn't -- they find it acceptable to use anything they find to work in the supported browsers. If it works, it's OK. So they have every chance that their sites will break in an unsupported browser.
By feldgendler, # 13. November 2006, 04:19:23
I agree with you on their testing methods. I'm not even a web developer and I still test with as many browsers as possible for my small scale website. If you ask me, they are just lazy!
By kyleabaker, # 20. November 2006, 21:47:03