device icon indicating copy to clipboard operation
device copied to clipboard

Add ability to manually parse user agents

Open Myzel394 opened this issue 4 years ago • 0 comments

It would be cool if we could parse userAgents manually (E.g. I'm currently working on a site where you can see your sessions and it would be nice to provide a little icon. To find out the browser type I would like to use the $device api).

I think you just need to export the function, then we can all use it. Otherwise something like $device.parse(myUserAgent).isAndroid would be cool.

Myzel394 avatar Aug 12 '21 11:08 Myzel394