faisalman/ua-parser-js
View on GitHub ↗ ★ 10,213 JavaScript
UAParser.js: The Essential Web Development Tool for User-Agent Detection. Detect Browsers, OS, Devices, Bots, Apps, AI Crawlers, and more. Run in Browser or Node
9 mentions on Hacker News by 9 people: 1 story, 8 comments · first 2017-11-06 · latest 2024-11-28
20082026
-
I made something similar, but with a JavaScript-first approach: https://github.com/faisalman/ua-parser-js
comment by fyzlman · 2024-11-28 · in Device-detector: Universal Device Detection library from User Agent -
…of rules in .gitattributes to exclude files etc), making it much easier to trace. One such example: https://github.com/faisalman/ua-parser-js/issues/536 Composer packages are vendor namespaced, so hijacking an abandoned package is not…
comment by francislavoie · 2022-03-28 · in Modern PHP -
…shared, but that’s not the case here. @mods I think the link should be to the actual post here: https://github.com/faisalman/ua-parser-js/issues/536
comment by ComputerGuru · 2021-10-23 · in NPM package ‘ua-parser-JS’ with more than 7M weekly download is compromised -
Discussion here: https://github.com/faisalman/ua-parser-js/issues/536
comment by Fervicus · 2021-10-22 · in Embedded crypto miner in ua-parser-JS -
Submitted link is to a reddit thread. Better one might be the GitHub issue discussing it: https://github.com/faisalman/ua-parser-js/issues/536
comment by ahuth · 2021-10-22 · in NPM package ‘ua-parser-JS’ with more than 7M weekly download is compromised -
…into that amount of RA I think you might be overestimating that. Bundling the aforementioned https://github.com/faisalman/ua-parser-js wouldn't be significant - maybe hundreds of KB as a script (distinct from memory!) - at most.
comment by elithrar · 2018-09-28 · in Introducing Workers KV -
…needed, just some regex and if/then statements. If you still want a library then you can try https://github.com/faisalman/ua-parser-js
comment by manigandham · 2018-09-28 · in Introducing Workers KV -
A few seconds of googling found quite a few prebuilt results. First one: https://github.com/faisalman/ua-parser-js It doesn't have to be trivial to be worth doing.
comment by lallysingh · 2017-11-06 · in Chrome breaks the Web