问题
I have already tried java applet it gets MAC address but now i want do it using javascript I have an web app in which i want store user's MAC address using javascript. How i can find MAC address of user using any browser.
回答1:
Javascript always run in a Browser Sandbox for security reason. That's why it's not possible to get hardware information about the device it's running the script except from the once exposed by the Browser.
Mac Address it's not exposed :D
来源:https://stackoverflow.com/questions/44001536/how-to-get-mac-address-using-any-browser-with-javascript