Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
智能手表正在获得网络浏览器,尽管它可能不是用于浏览网络的最佳设备,但可能会有一些人使用它们。我想做的是检测是否有人使用智能手表访问网页。
我想用 PHP 或 javascript 或两者的组合来做到这一点。
我如何检查以确保它是访问网页的智能手表?
屏幕大小和用户代理是两种最常见的检测途径。用户代理将取决于手表。