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...

#15 Re:Javascript User Agent Detection

by Anon

Saturday June 5th, 1999 6:39 AM

You are replying to this message

so? you do a if(document.all), then you do a if(navigator.appVersion.indexOf("Mac")==-1) in the parts concerning dynamic clipping or whatever... as if there's anyone who actually USES IE/Mac...

what are the IE 4 vs 5 compatibility problems you cite? and who's going to bother authoring for either one once NS 5 comes out anyway? heheheheheheheh

even if theres a devil or two in the details i think zontar does make a point. otherwise you guys wouldnt be getting so defensive about it.