server-side browser detection? node.js

前端 未结 15 1121
不知归路
不知归路 2020-12-07 09:29

Most implementations i\'ve seen are for browser detection on the client side. I was just wondering if it was possible to do browser detection before sending any resources to

15条回答
  •  心在旅途
    2020-12-07 09:58

    You might want to have a look at Apache DeviceMap.

    JavaScript libraries out of the box are more on the client side right now, but much will work on Node.JS or Angular in a similar way. Unlike simple pattern matching of UA strings DeviceMap comes with a vast range of devices and device families in its Device Description Repository (DDR) based on W3C standards.

提交回复
热议问题