3 ms·
A few seconds of googling found quite a few prebuilt results. First one: https://github.com/faisalman/ua-parser-js https://github.com/faisalman/ua-parser-js I
by lallysingh 9y ago
A few seconds of googling found quite a few prebuilt results. First one: https://github.com/faisalman/ua-parser-js https://github.com/faisalman/ua-parser-js
It doesn't have to be trivial to be worth doing.
- reificator 9y agoDirect from the README of the linked library: > However, it's not recommended to use this library as browser detection since the result may not accurate than using feature detection.