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

117
Views
cómo usar API externas en el manifiesto de extensión v3

Estoy creando una extensión de Twitter y estoy usando algunas API externas. Usé el manifiesto v2 antes y voy a actualizar al manifiesto v3. El problema es sobre content_security_policy. Estaba usando muchas API externas. es un archivo de manifiesto v2.

 { "short_name": "Twitter PAY Extension", "name": "Twitter PAY Extension", "version": "1.1", "manifest_version": 2, "background": { "scripts": ["app/const.js","app/jquery.js","app/inject.js","app/bg.js"] }, "browser_action": { "default_icon": { "128": "ext.png", "16": "ext.png", "48": "ext.png" }, "default_title": "Twitter EXT" }, "description": "Twitter EXT", "icons": { "128": "ext.png", "16": "ext.png", "48": "ext.png" }, "content_scripts" : [ { "matches": [ "https://twitter.com/*" ], "css": ["/css/root.css","/static/css/content.css","/css/modal.css"], "js": ["/static/js/content.js"] } ], "permissions": ["<all_urls>"], "web_accessible_resources":[ "/static/css/content.css", "/static/media/*","/app/*" ], "content_security_policy": "script-src 'self' https://unpkg.com https://api.devnet.solana.com https://aframe.io https://cdn.jsdelivr.net/ https://solarity.muhash.com/api/ 'unsafe-inline' 'unsafe-eval'" }

¿Cómo puedo usar APIS externas en el manifiesto v3?

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!