Author: | Ahmdrza |
---|---|
Views Total: | 9,174 views |
Official Page: | Go to website |
Last Update: | November 23, 2018 |
License: | MIT |
Preview:

Description:
Just another JavaScript library that detects and prints an object of browser information including browser language/name, user agent, device type, user OS, referer, online/0ffline, user timezone, screen resolution, and cookie enabled.
How to use it:
Insert the JavaScript file ‘detect-browser.js’ into the document and done.
<script src="detect-browser.js"></script>
Get browser information.
var info = getBrowser();
Print the information in the console log.
console.log(info)
Changelog:
11/23/2018
- Bugfix on IE and Edge detection
Not working for safari/chrome on iPhone