2022-06-27
macbook air on grey wooden table

Photo by Caio on <a href="https://www.pexels.com/photo/macbook-air-on-grey-wooden-table-67112/" rel="nofollow">Pexels.com</a>

在實作檢查使用者裝置設備時, 往往需要利用到 user-agent 的使用者的 http request 變數, 不過要能有效又妥善地判段是需要整理清單的.

這裡有個專案是做裝置設備檢查的: device-detector 可以有效辨識出這些裝置設備如: desktop, tablet, mobile, tv, cars, console 等等.

github 上的專案: https://github.com/matomo-org/device-detector

快速試看看: http://devicedetector.net/

十分方便好用呢..

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x
Enable Notifications    OK No thanks