Welcome to the WebReference.com browser sniffer. This JavaScript-enabled page sniffs out common browser environment variables useful for writing cross-browser scripts. Let's face it, writing cross-browser code is tricky enough, we're here to make your life a little easier. You can use the results and true/false tests below in your own scripts to test for capabilities/object support before you use that technique, to avoid errors and gracefully degrade. Look for links to actual examples of the test in action. If you've got a test/variable you'd like to see in here, don't hesitate to email us.

This sniffer is an updated combination of Erik Krock's Ultimate JavaScript Client Sniffer and Andy King's JavaScript sniffer, which features object detection useful for more robust JavaScripting. (Note: our use of the term "sniffer" here should in no way be confused with products from Sniffer Technologies, Inc.)

Updated June 5, 2002 for Netscape 7 and a 'guess' at Mozilla based on UA and navigator information.

Note that our detection method here attempts to identify Opera regardless of its masquerade setting (i.e., regardless of whether the user has Opera set to identify itself as "Opera," "MSIE," or "Mozilla/Netscape").

Navigator Object Data

Version Number

Browser Version

JavaScript Version

OS

Object Detection Tests

Method Detection Tests

Screen Properties

Document Properties