Forum Moderators: travelin cat
I have never seen such a script. It is easy to find out wich hardware Macs users are running with this :
var is_mac = ua.indexOf('mac') > 0;
var is_mac68k = (ua.indexOf('68k') > 0 ¦¦ ua.indexOf('68000') > 0);
var is_macppc = (ua.indexOf('ppc') > 0 ¦¦ ua.indexOf('powerpc') > 0);
But I dont recall seeing Mac OS versions in any logfile...
I believe the HTTP protocol defines the User-Agent header which uniquely identifies the browser, not the OS. I guess it could be possible to sort Mac OS X from other Mac OS with a browser version sniffer written to detect user agents specifically written for Mac OS X. This script could live with a lot of coding challenges and maintenance.
I will page a few members very good at Scripting for a little help...