-1

How is it possible to get the clients computer name via javascript in the chrome browser? Using the IE it is possible using ActiveX

var network = new ActiveXObject('WScript.Network');
var clientName = network.computerName;

Is there a way to achive this in google chrome without forcing the client to install any plugin?

mjoschko
  • 564
  • 1
  • 7
  • 17
  • I feel this is not duplicate. The answer in linked question is for IE. That will not work in Chrome as title says.. – Ziggler Jul 16 '18 at 22:54

1 Answers1

2

There is no possible solution to get the computer name without using ActiveX in all browsers. Nevertheless, this question is a duplicate of here

PS: Never use ActiveX unless you can avoid it!

Jan Kruse
  • 2,615
  • 2
  • 12
  • 17
  • 1
    For that matter, Microsoft no longer support ActiveX in current browsers and Windows 10. – Rob Oct 30 '17 at 14:54