2 个仓库
Server-side identification of the hardware category (mobile, tablet, desktop) of a web visitor.
Distinct from Mobile Device Discovery: Shortlist candidates are focused on MDM, security, or hardware bridges, not web request analysis.
Explore 2 awesome GitHub repositories matching web development · Device Type Detection. Refine with filters or upvote what's useful.
该项目是一个 PHP 用户代理(User Agent)解析器和移动设备检测器。它分析 HTTP 用户代理字符串以识别访问者的 Web 浏览器、操作系统和设备类型。 该库为 Laravel Web 框架提供了专门的集成。它能够区分手机、平板电脑和台式计算机,同时识别 Web 机器人和搜索引擎爬虫的具体名称。 该工具的功能包括从请求头中提取首选语言并验证特定的用户代理属性。它使用正则表达式模式匹配和静态数据映射来分类客户端并进行内容本地化。
Determines if a visitor is using a phone, tablet, or desktop to deliver an optimized mobile experience.
mobile-detect.js 是一个用于用户代理检测的 JavaScript 库。它分析浏览器请求头以识别硬件类型、操作系统和浏览器版本。 该库包含一个客户端硬件分析器,根据移动设备的特性为其分配性能和功能等级。它还提供了根据检测到的硬件将特定 CSS 类应用于文档主体的工具,以实现响应式样式。 该项目涵盖了广泛的分析功能,包括手机、平板电脑和台式机的检测。它提取操作系统名称和版本号,并根据已知模式验证浏览器签名。
Identifies whether a visitor is using a mobile phone, tablet, or desktop computer via user agent analysis.