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

148
Vistas
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 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