How could you get certain windows environment variables from the client side, such as the login user with javascript (without any framwork)?
other than with activexobject
How could you get certain windows environment variables from the client side, such as the login user with javascript (without any framwork)?
other than with activexobject
Javascript, or better, the browser, does not have permissions to access the environment / system variables.
Imagine what could happen if any web page could access your variables, any thief could get sensitive information on your computer.
Although you could also use node-webkit , a special "browser", but probably none of your visitors will use it.
In a normal browser, there is no way to get environment variables only with Javascript.