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
Asked
Active
Viewed 395 times
0
-
Yes or no - it depends on the situatuion. – Ted Lyngmo Nov 25 '18 at 01:45
-
can you explain the situations? – Wackamole Feb 02 '19 at 23:07
1 Answers
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
-
-
Not sure I can do better than this article: https://en.wikipedia.org/wiki/ActiveX – Robin Thoni Feb 02 '19 at 23:20
-
okay thanks. It's over my head to understand this stuff. My fault I'm not a techy. – Wackamole Feb 02 '19 at 23:27