hritvikpatel4 commented on issue #6306:
URL: 
https://github.com/apache/trafficcontrol/issues/6306#issuecomment-1155965441

   > `globalThis.navigator.userAgentData` is a great interface for doing that 
without parsing the insane jumble of text that UA strings have become - but 
it's not available in Firefox (or Safari or stably in most versions of Samsung 
Internet). So it's possible we could find a shim on `npm` or something.
   
   There are three popular ```npm``` packages:
   1. https://www.npmjs.com/package/ua-parser-js
   2. https://www.npmjs.com/package/bowser
   3. https://www.npmjs.com/package/useragent
   
   The third one claims it's the fastest parser.
   I would rank them as ```1 > 2 > 3``` based on their popularity on npmjs.com
   
   @ocket8888 @mitchell852 - What are your thoughts on this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to