Javascript User Agent Detection

Thursday June 3rd, 1999

Eric Krock of Netscape wrote to me and asked that I make this request to mz's readers:

Apparently there are many people out there using User Agent detection scripts that not only fail to detect IE5 and Mozilla (what will be Communicator5), but fail to detect that scripts meant for IE4 and Nav4 would also work in the 5.0 browsers. Netscape has created a more up-to-date client sniffer, and is requesting that people mention it in the signature area of their email messages - sort of a grass-roots way of getting the message out that User Agent detection has to be updated. Here's the recommended message:

Is your JavaScript ready for Nav5 and IE5?
Get the latest JavaScript client sniffer at

I've enabled the link in the sig above solely so you can visit the page and see it for yourself...

#2 Re:

by Jake <>

Thursday June 3rd, 1999 10:49 AM

You are replying to this message

Actually, the sniffer is more for detecting versions of the browser, although it obviously is plenty capable of detecting whether it's IE for NS (or any of the others). Even if IE and NS were 100% compitable, version 5 would have more features than 4 (at least we would hope, never know w/MS) so the sniffer would still be needed.

Don't get me wrong, I agree that it would be nice if IE would support standards (especially the ones they wrote), but the Mozilla programers can only make Mozilla complient, not IE (although they're even trying to do the using ActiveX, aren't they talented....)