最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - How can I detect my computer specs and show it in the browser? - Stack Overflow

programmeradmin1浏览0评论

Is it possible to detect the puter specifications from the browser? For example to list the CPU, RAM, video hardware, etc in the browser that I'm using.

I've heard that this is impossible do in PHP because it is a server-side language, but I don't know if Javascript can do this.

Is it possible to detect the puter specifications from the browser? For example to list the CPU, RAM, video hardware, etc in the browser that I'm using.

I've heard that this is impossible do in PHP because it is a server-side language, but I don't know if Javascript can do this.

Share Improve this question edited Aug 25, 2015 at 15:31 adelphus 10.3k6 gold badges38 silver badges46 bronze badges asked Aug 25, 2015 at 15:27 Juan CastilloJuan Castillo 1014 silver badges10 bronze badges 4
  • 2 As far as I know JavaScript has no API to fetch system specs. You could consider writing a browser plugin that fetches it data from an installed program. – Halcyon Commented Aug 25, 2015 at 15:28
  • 3 You could do with with a Java Applet ... though of course the odds on anyone letting an unsigned Java Applet run these days ... – CD001 Commented Aug 25, 2015 at 15:36
  • stackoverflow./questions/8774560/… – Mohammed Elhag Commented Aug 25, 2015 at 16:36
  • This is a clear question with a well-defined answer, not sure why the downvotes. – kdbanman Commented Aug 25, 2015 at 16:52
Add a ment  | 

1 Answer 1

Reset to default 4

There are no in-browser APIs to get system information like that.

This is for security reasons—it would be easy to use this as the basis for fingerprinting and circumventing restrictions on cookies (e.g. advertisers could easily identify your puter and you without having to use cookies).

发布评论

评论列表(0)

  1. 暂无评论