Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

135
Visualizações
editing chrome extensions problem with corrupted files

I have been recently working on a project to make a simple download renamer and it worked. However, i just need to append its code to my download manager extension (Ant download manager). When i try to change the background script edge gives error : 'extension might be corrupted' and a repair option with no option to let it work. I tried removing the update_url and replacing it with any other in the manifest.json (editing other files than the background script doesn't elect the error) but still gave the same error when i edited background script.

NOTE: when i load the unpacked source code of the extension, it doesn't function properly.

I thought of changing the path of native host in json manifest to a custom C++ host that would receive the stdin and then send the modified data as stdout to the original native host but this would be a lengthy solution and encounter a lot of errors.

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

id field in the manifest.json belongs to a verified extension and browsers check installation against that in their database against possible corruption by any means.

your edit will be seen as corruption even if you change the update URL because of this id.

  • make a copy of the extension folder. find it in browser's own extensions folder. check internet for where that location be.
  • remove extension from browser
  • now edit codes for your needs
  • edit manifest.json and remove app specific things like this id. some may have hash values etc.
  • enable developer mode in the browser and install from the folder you used. by "install" I mean browser use that folder. it will not copy content into browser's extensions folder. so keep it in somewhere like ~/myextensions, or c:\workspace\myextensions

also check for a _metadata folder and the content inside. there might be related identifiers you need to remove in there.

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda