Hi, How to kill a program using Javascript and HTML button? Like, I want to kill a program (ie. iexplorer.exe) from task manager but using JS code and html button. help will be much appreciated, thank you.
Javascript deliberately isn't given access to the operating system. If anyone came out with a browser that allowed Javascript to do that, it would immediately be denounced as a security risk and not many knowledgeable people would even bother downloading it.
Not with any current browser, and lets hope not with any browser written in the future. You're asking whether bank vaults have unlocked doors opening into the alley behind the bank. Let's hope that no bank I have my money in ever does that.
i mean a javascript that terminates the running program like iexplorer.exe using an html button with a js script inside
javascript works with in a browser while you are talking about running it in operating system which is not allowed in any OP till date