8

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?

1

1 Answer 1

11

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.

Sign up to request clarification or add additional context in comments.

3 Comments

Could you elaborate more on what that external command looks like and how you used Native Messaging API to call it?
@cweiske can you provide more details as how you implemented that.
Would it still work with current state of chrome extensions (mv3)?

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.