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

163
Views
Imposible obtener la URL de una pestaña con extensión de Chrome (manifiesto v3)

He estado luchando durante mucho tiempo con Chrome Extensions. ¿Cómo obtengo la URL de la pestaña de background.js (mi trabajador de servicio)?

Parece una cosa muy fácil de hacer pero........

 // manifest.json { "name": "Getting Started Example", "description": "Build an Extension!", "version": "1.0", "manifest_version": 3, "background": { "service_worker": "background.js" }, "permissions": ["storage", "activeTab", "scripting"], "action": { "default_popup": "popup.html" } }
 // background.js chrome.tabs.onActivated.addListener(activeInfo => { chrome.tabs.get(activeInfo.tabId, (tab) => { // tab.url is undefined, it should not. }); });

no funciona por qué ?

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!