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

248
Vistas
uncompress.js not loaded on local browser. How to fix?

I tried the code from uncompress.js. But I do not understand why the js need to load the format and after that reactive the button. Can anyone simplelize the code so that I can use it locally without blob, promise or async. I just need to test compresd a file with browser.

loadArchiveFormats(['rar', 'zip', 'tar'], function() {
    fileInput.onchange = function() {
        // Just return if there is no file selected
        if (fileInput.files.length === 0) {
            entryList.innerHTML = 'No file selected';
            return;
        }
        // Get the selected file
        let file = fileInput.files[0];

        let password = filePassword.value; 
    // Open the file as an archive
    archiveOpenFile(file, password, function(archive, err) {
        if (archive) {
            console.info('Uncompressing ' + archive.archive_type + ' ...');
            entryList.innerHTML = '';
            onArchiveLoaded(archive);
        } else {
            entryList.innerHTML = '<span style="color: red">' + err + '</span>';
        }
    });
};

fileInput.disabled = false;

}); '''

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