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

110
Views
No se puede usar prompt() o alert() en la ventana abierta con chrome.identity.launchWebAuthFlow()

Estoy tratando de implementar la autenticación en mi extensión de Chrome. Estoy usando la API de identidad de Chrome con chrome.identity.launchWebAuthFlow pero la ventana abierta no muestra ninguna de mis alertas o avisos. Aquí está mi manifiesto

 { "manifest_version": 2, "name": "MyApp", "version": "1.0.0", "description": "My cool app", "short_name": "MyApp", "permissions": [ "activeTab", "declarativeContent", "storage", "<all_urls>", "bookmarks", "identity", "https://auth.server.com/*" ], "content_scripts": [ { "matches": [ "<all_urls>" ], "css": [ "style.css" ], "js": [ "main.js" ] } ], "background": { "scripts": [ "main.js" ] }, "browser_action": { "default_title": "MyApp", "default_popup": "index.html" } }

mi codigo js

 function init() { alert("Hello World from WebAuthFlow Page"); } init();

Me pregunto si la ventana abierta para ese propósito restringe las API de ventana/navegador a las que tenemos acceso.

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!