Browser Detect - Installation

  1. Add the following code to the document you want to use the script in (before any code that uses the variables defined in the script):

    <script type="text/javascript" src="browser_detect.js"></script>

    If the browser_detect.js file is in a different directory than the html document, be sure to include the relative path to the Javascript file in the src attribute value.

  2. Have a nice day.

More about this script


This script is released under a Creative Commons License.