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

436
Views
Al hacer la extensión de Chrome, sigo recibiendo este error: Error no detectado (en promesa): no se pudo establecer la conexión. El extremo receptor no existe

Al hacer una extensión de Chrome, sigo recibiendo este error

 Uncaught (in promise) Error: Could not establish connection. Receiving end does not exist.

Junto con

 background.js:0 (anonymous function)

¿Alguien sabe como podría solucionar esto? Literalmente tengo como 3 líneas en mis dos archivos.

Este es mi archivo background.js

 chrome.tabs.onUpdated.addListener((tabId, tab) => { if (tab.url && tab.url.includes("linkedin.com/in")) { chrome.tabs.sendMessage(tabId, {type: "MAIN", profile: "test"}); } });

y este es mi archivo ContentScript.js

 (() => { chrome.runtime.onMessage.addListener((obj, sender, response) => { //const { type, profile } = obj; response = {line1 : "hello"} }); })();

Cualquier ayuda sería muy apreciada :)

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!