🖥️ Device Info View Device

Inspect your device and browser details in your browser — screen, OS, engine and capabilities, with no tracking.

📐 工作原理与说明
屏幕与视口:分辨率取 screen.width × screen.height,视口取 window.innerWidth × window.innerHeight,设备像素比 devicePixelRatio 保留两位,可用区域取 screen.availWidth × screen.availHeight。浏览器与系统由 userAgent 正则判定,依次匹配 Edg/、Chrome/、Firefox/、Version/…Safari 取版本号;系统匹配 Windows NT 10(判 Windows 10/11)、Windows NT、Mac OS X、Android(带版本)、iPhone|iPad|iPod、Linux。移动设备判据 /Mobi|Android|iPhone|iPad/i,触摸支持判据 window 含 ontouchstart 或 maxTouchPoints > 0。时区偏移 = −new Date().getTimezoneOffset() ÷ 60,非负标东、负标西;电池电量 = round(level × 100),进度条宽度即该百分比
读取浏览器可见的设备与运行环境信息。
  • 来源:navigator.userAgent、platform、language、screen、devicePixelRatio、时区等。
  • 硬件:hardwareConcurrency 给出逻辑核心数,deviceMemory 给出粗略内存(GB)。
  • 局限:UA 可被伪造,且浏览器正推进 UA 冻结,推荐改用 Client Hints。
  • 用途:兼容性判断与问题排查,不应作为能力检测的唯一依据。
📱 屏幕信息
🌐 浏览器信息

Identification comes from the User-Agent and may be wrong when the browser freezes/reduces UA strings, desktop mode, spoofing or custom UAs are used; iPad desktop mode can only be inferred from touch points. It cannot uniquely identify a device or a person.

🌍 语言与时区
🔋 电池与网络
🔑 UserAgent

💡 用途说明

📚 深度解析:设备与浏览器信息

💡 常见使用场景

  • 展示当前 UA/屏幕/语言等环境信息。
  • 复现用户环境:让用户打开本页截图,即可拿到 UA、屏幕尺寸、DPR、语言与时区,定位只在特定设备出现的问题。
查看
页面读取 navigator.userAgent、screen.width、Intl 语言并展示。

❓ 常见问题(FAQ)

信息准确吗?
来自浏览器自报,可被修改。
能用它做指纹追踪吗?
理论上这些字段可组合成设备指纹,但现代浏览器正在收紧:Safari 与 Firefox 会刻意模糊 UA 与部分 API,Chrome 也在推进 User-Agent Reduction 与隐私预算。因此它不适合作为稳定的用户标识,合规上也应先取得用户同意。

📈 📈 设备快照记录与对比

每次完成后自动保存在本机浏览器,可导出 CSV 备份或随时清空。

Formula & Standard References

Item Formula / Note Source / Standard
User-Agent space-separated product tokens with comments; spoofable RFC 9110 Section 10.1.5
Client hints Sec-CH-UA headers offer structured client metadata W3C Client Hints
Feature detection prefer feature detection over UA sniffing MDN Web Docs
⚠️ 使用说明与注意事项