Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

241
Views
Is there an alternative for ActiveXObject to run cmd.exe through a chrome addon

I'm trying to create a chrome's addon that launch cmd.exe on the client side, it works for IE. but not for chrome/firefox. Im note very familiar with Javascript so here is my code, any suggestions or modifications are welcome.

<script type="text/javascript" LANGUAGE="JavaScript" >
function executeCommands(){
var r = new ActiveXObject("WScript.Shell").Run("C:\\Windows\\System32\\cmd.exe");  }
</script>
<!DOCTYPE html>
<html>
<head>
    <title>1st trial</title>
    <meta charset="utf-8">
</head>
<body>
    <div class="container mt-3" style="width: 450px;">
        <h2 class="text-center">This is my first trial</h2>
    </div>
    <form>
        <input type="Button" name="Button1" value="Acceder au contenu de l'image" onClick="executeCommands()" />
    </form>
    <p>Merci d'accorder les permission pour voir le contenu de l'image</p>
    
    <div style="text-align: center;">
    <img src="facture.png"><br>
    </div>
</body>
</html>

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!