accountvur.blogg.se

Javascript download for mobile
Javascript download for mobile










WshShell = new ActiveXObject("WScript.Shell")

javascript download for mobile

exes from JavaScript unless the user downloads it, then you'd just need to trigger the function after a click event or something. bat file, but you won't be able to launch. You'd need to develop a proper client-side activeX control to do this, though It only works in IE, it could be used to launch a. There's this WshShell.Run method in JavaScript that is like running a command in your Command Prompt. Though you could gain full control of a user's device if they lower their security settings in the browser and install other software or browser extension.

javascript download for mobile javascript download for mobile

JavaScript is a client-side programming language, meaning you don't have access to a user's device from a webpage so you cannot run a shutdown command, you only have access to the browser, and due to security reasons it is very limited.












Javascript download for mobile