Yeah, I wanted to use it, but it gave me wrong results. I think that the phpSniff class created by MODx allow masquerading or stuff like that (at least, it’s called with a bunch of parameters that are a little bit obscure to me) and it makes my code behave anormally. I would like a little help to fix this. When I create my own phpSniff class without any argument, it detects Firefox correctly but when using $modx->getUserData() it tells me that i’m using Mozilla, and even if I change my conditions to work with mozilla, it simply don’t work... So I gave up and used my own instance for the moment.
Blaise Bernier
www.medialdesign.com - Solutions for small business, hosting, design and more!