On 00:23 Wed 13 Oct     , Ryan Florence wrote:
> If you are browsing the web with a faked user agent string, that's your fault.

Just like it's your fault if you disable javascript. Still, it is
considered as a security good pratice. Even if a very few people are
doing it, we can't blame them for trying to be secure.

Of course, it is not as pragmatic as nojs support, since this last one
is also important for search engine index.

We could merge the two methods : checking the user agent, then matching
it against feature detection, setting some 'double_checked' flag that
let mootools user be sure about the browser, and not implementing crashy
feature if not.

Or we could use feature detection and use the user agent in case feature
detection isn't enough.

I suppose you debated that when switching browser recognition method.
What were the problems of feature detection, except the firefox broken
one?

-- 
Olivier El Mekki.

Reply via email to