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

233
Views
Intentando inyectar un script content.js en mi extensión de Chrome (permisos correctos agregados)

Estoy tratando de inyectar un script content.js en mi extensión de Chrome a través de mi archivo background.js. Agregué el permiso "scripting" y "activeTab pero todavía dice:

- "Error de tipo no capturado: no se pueden leer las propiedades de undefined (leyendo 'executeScript')"

 //manifest.json { "name": "WeWatch", "version": "1.0", "manifest_version": 3, "permissions": [ "tabs", "scripting","activeTab" ], "background": { "service_worker": "background.js" }, "action":{ "default_icon":{ "16":"pics/logo.png", "48":"pics/logo.png", "128":"pics/logo.png" }, "default_popup": "htmls/dif_popup.html", "default_title": "WeWatch$" }

}

++++++++++++++++++++++++++++++++++++++++++++++

 //background.js function room_process(){ chrome.scriptng.executeScript( { target:{tabId: room[3]}, //room[3]=tabId files:["content.js"] } );

}

about 4 years ago · Santiago Trujillo
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!