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

242
Vistas
Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”) firefox extensions

I'm making a Firefox extension but for some reason it's not working and I'm not exactly sure why. please help.

I'm trying to run this code in the extension's browser action popup:

<!DOCTYPE html>
<html>
    <head>
        <style>
            html {
            background-image: url('icon.jpeg');
            background-repeat: repeat;
            background-size: 50px 50px;
            color: black;
            font-family: 'Oswald', sans-serif;
            }
        </style>
    </head>
    <body>
        <h3>TEST</h3>
        <input id="input"><button id="button" onclick="console.log('hi')">ENTER</button>
    </body>
</html>

but when I do it gives me this error:

Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).

what does it mean and how can I fix it?

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