I want my extension be able to send the users' physical mac address to a server.
Is there any to get the the client mac address in a Chrome extension?
With an extension it is definitely not possible.
The closest you can get is the IP addresses and all network interfaces via the chrome.system.network API that is available to chrome apps - but that doesn't include the MAC address, as of Chrome 33.
We solved the problem with an external command (.cmd
on windows, .sh
on linux) that we call via the native messaging API. The external script simply outputs the current MAC address.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With