admin管理员组文章数量:1427566
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
1 Answer
Reset to default 4There 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).
本文标签: javascriptHow can I detect my computer specs and show it in the browserStack Overflow
版权声明:本文标题:javascript - How can I detect my computer specs and show it in the browser? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745500283a2660998.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论