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.
是否可以从浏览器中检测计算机规格?例如,在我正在使用的浏览器中列出 CPU、RAM、视频硬件等。
我听说这在 PHP 中是不可能的,因为它是一种服务器端语言,但我不知道 Javascript 是否可以做到这一点。
没有浏览器内的 API 可以获取这样的系统信息。
这是出于安全原因——很容易将其用作指纹识别和规避 cookie 限制的基础(例如,广告商无需使用 cookie 即可轻松识别您的计算机和您)。