Macintosh OS 10 and OS 9 detector

wxdqz

New Member
Is there a way to tell whether the person accessing a web page is using Mac OS 9 or OS 10? I have a seen posting here that would determine whether the user was on a Mac vs. a Windows box via the following code, but I need to then break the distinction for Mac down further. Thanks in advance for your help.

SCRIPT LANGUAGE="JavaScript">

page = ((navigator.platform.indexOf('Win') > -1) ? "win.html" : "mac.html");
window.location=page;
// End -->
</script>
 
Back
Top