amiunique
amiunique copied to clipboard
detect CPUID using JavaScript
Could you please add a test using https://github.com/streamich/cpuid that shows CPUID information?
Hi Patrick! Unfortunately, it seems to me this is something that can only be done on the server side as it relies on an NPM module whch itself relies on LibCPUID. It does not seem possible to me to execute that in a browser as the browser does not have access to this information.
Hi Pierre, thank you for your consideration!
In https://github.com/streamich/cpuid/issues/1 the developer is saying that this is possible with pure JS, i.e. without nodejs, but requires code modifications.
Maybe I am reading this wrong...
@streamich
you just need a way to execute machine code from JavaScript.
I guess that's the critical part.
@plaperdr
It does not seem possible to me to execute that in a browser as the browser does not have access to this information.