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

381
Vistas
Use chrome.scripting.insertCSS to inject CSS at document_start with Manifest v3 for a Chrome extension?

It used to be possible on Manifest v2 with chrome.tabs.insertCSS to inject CSS with runAt: document_start in the details of the object when injecting from the background page

https://developer.chrome.com/docs/extensions/reference/tabs/#method-insertCSS

This appears to have been removed with Manifest v3's chrome.scripting.insertCSS and there doesn't seem to be a runAt option available anymore for CSS from a background page.

https://developer.chrome.com/docs/extensions/reference/scripting/#method-insertCSS

It now seems to default to document_idle

Is there another way of doing it? Putting the CSS file in the manifest file isn't really an option as it needs to create the CSS in the background page.

The new chrome.scripting API does let content scripts be injected at document_start but not CSS.

Thanks for any help with this.

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