MozillaZine

Mozilla Milestone 16 Released!

Wednesday June 14th, 2000

Come and get it! Visit the ftp site to get versions for Linux, Mac and Windows!

Read the Release Notes for more info.

Also, pick up the latest version of PSM (Personal Security Manager) for M16 at the iPlanet website. PSM gives M16 support for secure websites.


#76 Re: Navigator.appName returns Netscape, not Mozill

by RvR <mozillazine@mozillazine-fr.org>

Tuesday June 20th, 2000 5:58 AM

You are replying to this message

you'd better detect objects rather than appNames because, because appName is not reliable...

for example :

if ( document.implementation ) {

// code for W3C DOM compliant browser

// Mozilla 5+, IE6 ?, IE5Mac ?, Opera 4 ?

}

else if ( document.all ) {

// code for IE4/5

}

else if ( document.layers ) {

// code for Navigator 4

}

else {

// code for old browsers

}

-- Hervé