On 09/10/06, Brian Miller <[EMAIL PROTECTED]> wrote: > Sam, if that's a problem with your user base, then there are issues that > go beyond the technical. If my users were that hackish and black-hatted, > I wouldn't be giving them any front-end code at all if I could avoid it. > I mean, if people are technically savvy enough to change their user agent > string, what stops them from overriding the functions that you provide, as > well? > > I say, we split the difference. Leave jquery's browser detection as is, > and offer "jUntrustworthy" as a plugin, which overrides the original > implementation with one that uses object detection. > > - Brian
Perhaps I was being a bit paranoid. Most users don't change the user agent, so perhaps this would be better suited as a plugin and the current implementation left as it is. It is the rendering engine that is important, not the browser itself (and all IE-based browsers have "MSIE" in). There could always be a plugin that is more specific (which version of IE, AOL, Firefox etc) for working around bugs/crashes etc. _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/