VBScript Browser sniffer object

Added By: annwfn

(3 of 5) by 4.
Rate Snippet:
Description:  This object reads the client user-agent, then determines the browser, version and platform. All you need to do is include the file, and create an instance of the object - and it will do the rest. It has four properties (all string values)- Browser, Version, Platform and UserAgent. It detects Internet Explorer, Netscape or Other for browser, Windows, Macintosh, Linux, Unix or Unknown for Platform - but be aware that the browser version returned is a string value - some versions of Netscape and IE on the Mac return strange version numbers that include character data.
Language:  Visual Basic Script

Save to web space
E-mail Link

Code Snippet: