Kill a program using JavaScript

Discussion in 'JavaScript' started by Javver, Oct 14, 2011.

  1. #1
    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.
     
    Last edited: Oct 14, 2011
    Javver, Oct 14, 2011 IP
  2. Rainulf

    Rainulf Active Member

    Messages:
    373
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    85
    #2
    That's not possible
     
    Rainulf, Oct 16, 2011 IP
  3. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #3
    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.
     
    Rukbat, Oct 16, 2011 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #4
    So, here's how to do it in IE using ActiveX -- kidding... kidding... (kind-of)
     
    deathshadow, Oct 17, 2011 IP
  5. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #5
    Who ever said that IE isn't a huge security risk? (Not kidding much.)
     
    Rukbat, Oct 21, 2011 IP
  6. g1948

    g1948 Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    so.. is it possible or not?...
     
    g1948, Oct 25, 2011 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    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.
     
    Rukbat, Oct 25, 2011 IP
  8. Javver

    Javver Active Member

    Messages:
    72
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #8
    i mean a javascript that terminates the running program like iexplorer.exe using an html button with a js script inside
     
    Javver, Jan 8, 2012 IP
  9. Jasminder Singh

    Jasminder Singh Peon

    Messages:
    63
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Not possible i think.
     
    Jasminder Singh, Jan 8, 2012 IP
  10. JohnnySchultz

    JohnnySchultz Peon

    Messages:
    277
    Likes Received:
    4
    Best Answers:
    7
    Trophy Points:
    0
    #10

    no you cannot.. you cannot control anything that's beyond your browser.
     
    JohnnySchultz, Jan 12, 2012 IP
  11. NothingLikeThis

    NothingLikeThis Member

    Messages:
    113
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #11
    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
     
    NothingLikeThis, Feb 2, 2012 IP
  12. Buxom_Bold

    Buxom_Bold Peon

    Messages:
    140
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    no sufficient knowledge of this
     
    Buxom_Bold, Feb 3, 2012 IP