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

141
Visualizações
is it possible to use javascript modules in browser extensions with a version 3 manifest.json file

I tried making my service worker file a module. It did not like that. You could set up a background page to load a JavaScript module using version 2 of manifest.json. But version 3 does not allow background pages (which does sound like a hack to be honest).

Is there a way to load up Javascript in the background without having to have all it code have to be crammed into just one file?

I can inject multiple js files into a page... I want something similar for the background process. It doesn't have to be a js module, that's just the only way I see it could possibly be done. What if I want to call functions in some library from my background.js ?

I think you can get what I'm trying to do.

Any thoughts?

about 4 years ago · Santiago Trujillo
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