Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

239
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!