0

Hope someone can enlighten me. I have been wondering if the mac address visible to other sites using javascript is the mac address of router or the adapter in my pc or laptop? I am aware that the router strips my adapter's mac address and just sends the info to and fro the web. Thanks

1 Answers1

0

Not sure what you mean, so I'll make a larger answer.

You can not get MAC addresses from Javascript in a browser. You can refer this thread.

If you meant IP address, then you can get all the computer IP addresses (usually referred as "private IP addresses" when you are behind a router) using WebRTC. You can check this thread and this site.

You can also get a visible IP address (usually referred as public IP in most cases) by querying a remote server, as this one.

Robin Thoni
  • 1,651
  • 13
  • 22