Kevin Ar18
08-24-2000, 05:09 AM
I want something that can log when a user visits my site using the BeOS.
If possible, even detect what browser.
Using javascript, navigaor.userAgent returns the following in Opera for the BeOS
Mozilla/4.0 (BeOS R4.5;US) Opera 3.60 (en)
I have yet to test things in Netpositive, perhaps someone could try that.
And Mozilla is not compiling right yet, so you can't really test that.
The following javascript code returns true (thus detecting if the user is running the BeOS:
var isBeOS = (agt.indexOf("beos") != -1);
Now, Is there any way to log when a user visits using the BeOS? I'm thinking a cgi script would be best for this. I'm not sure if any javascript would be needed, but I included the info, just in case it would be of use.
Here was the javascript dicussion on another thread:
http://www.webxpertz.net/forums/showthread.php?threadid=768
If possible, even detect what browser.
Using javascript, navigaor.userAgent returns the following in Opera for the BeOS
Mozilla/4.0 (BeOS R4.5;US) Opera 3.60 (en)
I have yet to test things in Netpositive, perhaps someone could try that.
And Mozilla is not compiling right yet, so you can't really test that.
The following javascript code returns true (thus detecting if the user is running the BeOS:
var isBeOS = (agt.indexOf("beos") != -1);
Now, Is there any way to log when a user visits using the BeOS? I'm thinking a cgi script would be best for this. I'm not sure if any javascript would be needed, but I included the info, just in case it would be of use.
Here was the javascript dicussion on another thread:
http://www.webxpertz.net/forums/showthread.php?threadid=768