Is there any way I can get the name of the machine (client) using Javascript?
Is there any way I can get the name of the machine (client) using Javascript?
The answer is that it can NOT be because of browser restrictions, but other information such as Browser, Operating System, Screen Resolution, among others, it is possible to obtain it from Javascript.
The answer is simple: NO , except in some versions of IE.
Some references:
How can I read the client's machine / computer name from the browser? (here's how to get it with IE)
Complementing the answer, currently for security reasons, it is currently NOT possible to read the " Computer Name
" by JavaScript
; it could be done using a Active X
control, but you must force your users to use Internet Explorer
.
Writing an ActiveX control in C # (English)
You can get the data of the browser you are using and some extra things, but details of the machine from where the browser is running, no.