Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 438 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 438 Bytes

browserDetect.js

Simple javascript code to detect browser type, version, and OS

Usage

To initialize and detect browser:

browserDetect.init();

Once initialized, info is stored in the browserDetect object

//Browser type
browserDetect.browser;

//Browser version
browserDetect.version;

//OS Type
browserDetect.OS;