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

225
Views
Content-Security-Policy con 'unsafe-inline' no funciona

En mi código de extensión de Chrome, necesito inyectar una etiqueta <script> con código, pero aparece este error:

 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self'"

Así que agregué content_security_policy a mi archivo manifest.json , pero ahora aparece otro error:

ingrese la descripción de la imagen aquí

Mi manifiesto es el siguiente:

 { "manifest_version": 3, "name": "...", "description": "...", "version": "1.1", "author": "...", "icons": { "48": "favicon48.png", "256": "favicon256.png" }, "permissions": [ ], "content_scripts": [ { "matches": [ "http://skribbl.io/*", "https://skribbl.io/*" ], "js": [ "words.js", "content.js" ], "run_at": "document_end" } ], "content_security_policy": { "sandbox": "script-src 'self' 'unsafe-inline'" } }
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!