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

149
Views
¿Cómo haces una extensión de Chrome que carga la página que escribiste?

Estoy haciendo una extensión de Chrome, pero cuando trato de obtener información del usuario y, posteriormente, cargo la página, arroja un error:

 Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' blob: filesystem:". Either the 'unsafe-inline' keyword, a hash ('sha256-FXypLyAT7wJfhWBTVrCbeUAS8Y801HSs7d9LQUHi6aQ='), or a nonce ('nonce-...') is required to enable inline execution.

ventana emergente.html:

 <!doctype html> <html> <head> <script> function connect() { console.log(document.getElementById('url').value); var urlValue = document.getElementById('url').value; chrome.tabs.update({ url: urlValue }); } </script> </head> <body> <input type="url" name="url" id="url" placeholder="http://google.com" required></input> <button onclick="connect()">Connect</button> </body> </html>

manifiesto.json:

 { "manifest_version": 2, "name": "extension", "description": "extension", "version": "1.0", "browser_action": { "default_icon": "icon.png", "default_popup": "popup.html" }, "permissions": [ "activeTab" ] }
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!