Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

246
Vistas
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
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda