[thelist] Browser detection

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Wed Nov 16 15:13:58 CST 2005


> How do I do that reliably? As the player requires JS, we can use that.
> But navigator.userAgent is not really safe, don't you think? Would it
> happen to have any Opera specific objects I could test for?

typeof( window.opera ) != "undefined"

should do the trick.

> And really happy I would be, if somebody comes up with a way to make
> Opera ignore its history and just do the bloody request :-)

me too :) (for similar projects)

Cheers,
--
Volkan Ozcelik
+>Yep! I'm blogging! : http://www.volkanozcelik.com/volkanozcelik/blog/
+> My projects/studies/trials/errors : http://www.sarmal.com/



More information about the thelist mailing list