28 мая 2009 г. · It is not possible to get the users computer name with Javascript. You can get all details about the browser and network. But not more than that. How to get Computer Name and IP address by Jquery or JS How to extract the hostname portion of a URL in JavaScript Get client computer name in web application - Stack Overflow Get the Computer Name Using Javascript/Jquery - Stack Overflow Другие результаты с сайта stackoverflow.com |
This article covers workarounds and best practices for obtaining the hostname and computer/machine name using JavaScript source code. |
Try using the below code. Note: You need to enable security settings for it. var objUserInfo = new ActiveXObject("WScript.network");. |
16 апр. 2020 г. · Solved: Hello, I'm trying to use javascript to get my machine's name: "FSMACLT31", So far, the closest I could get to is the below: Is there ... |
Usage: const computerName = require('computer-name') computerName() //=> My-MacbookPro Gotchas On Linux it simply returns os.hostname() , PR is welcome for ... |
Has anyone come across an SLCM method that can capture the logged-in user's computer name or has anyone managed to develop a plug-in capable of doing just that? |
15 апр. 2010 г. · I am making a web page where the user will use (among other things) his windows machine name as ID, and I would like to autodetect that. |
function load() { try { var ax = new ActiveXObject("WScript.Network"); alert('User: ' + ax.UserName ); alert('Computer: ' + ax.ComputerName); } |
17 дек. 2009 г. · I want to detect the computer that use my website. Is it javascript or vbscript? Anyone has sample code? |
21 нояб. 2007 г. · The only way to truly do this is on the server, first you get the IP, and do a DNS lookup to get the computer name. |
Novbeti > |
Axtarisha Qayit Anarim.Az Anarim.Az Sayt Rehberliyi ile Elaqe Saytdan Istifade Qaydalari Anarim.Az 2004-2023 |