MAC addresses in JavaScript

前端 未结 6 1962
抹茶落季
抹茶落季 2020-11-22 06:14

I know that we can get the MAC address of a user via IE (ActiveX objects).

Is there a way to obtain a user\'s MAC address using JavaScript?

6条回答
  •  失恋的感觉
    2020-11-22 06:26

    Nope. The reason ActiveX can do it is because ActiveX is a little application that runs on the client's machine.

    I would imagine access to such information via JavaScript would be a security vulnerability.

提交回复
热议问题