问题
Can we retrieve our machine serial number in our chrome extension?
For example I can get the serial number in windows by executing following command in the shell
wmic bios get serialnumber
How can I fetch this serial number in my chrome extension?
回答1:
No. Chrome extensions are designed to protect user privacy to the greatest practical extent, and one component of user privacy is controlling the ability of code to "fingerprint" the user. Read the EFF's discussion of fingerprinting for more.
I didn't mark your question as a duplicate, but the same answer applies to this question.
来源:https://stackoverflow.com/questions/22223382/can-we-retrieve-our-machine-serial-number-in-our-chrome-extension