Among Us
unread,Apr 21, 2023, 1:46:23 PM4/21/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Chromium Extensions, PhistucK, Chromium Extensions, Among Us
Hi,
Thanks for the response.
Instead im attempting as follows:
a) Content.js tells background.js to open the popup.html in a new window (done)
b) Popup sends message to background.js to ask content.js to send it some data (done)
c) background.js sends message to content.js and retrieves the desired data (ERROR: Unchecked runtime.lastError: Could not establish connection. Receiving end does not exist)
Issue now is that since the new popup and background.js are running in the new window, i cant send the message to the content.js on the tab that it is in directly. How can i get the find the window that content.js ran in such that it can successfully receive the message from background.js running in the new window?
Thanks