Closed AvraamMavridis closed 6 years ago
I really hope that it's not broken. And I also think that it's OK. Maybe the demo (not included in this project) is out-dated. Try this:
http://hgoebl.github.io/mobile-detect.js/check/
Please keep in mind that the library's target is "mobile", so when using desktop browsers, most features won't work as one might expect.
Please keep in mind that the library's target is "mobile", so when using desktop browsers, most features won't work as one might expect.
I see, probably that's the issue, I dont see the user agent on desktop. Thx.
Is it possible to extend its feature to desktop as well?
This is a really great plugin and such feature will improve its usability more.
Probably not. There is not much contribution to this project and the "mother"-project written in PHP. It's kind of starving, I'm afraid.
Issue
Seems that many of the libraries functions returns
null
, even on the demo page:e.g.
md.userAgent()
Is a bug on the library or is a change on Chrome/Firefox that broke it?