Send message from popup to cs and back
I have something like:
content.ts
popup.svelte
but I keep getting on the popup
9 Replies
The annoying part is that the content script does get the message
It's only the
sendResponse
part that's causing the issuethat happens bc your handler is not returning true
didn't solve it
add async to it too
just see if that does anytng lol
I'm already using
async
🙃
do this:
basically
you must return true without making it stuck at getVideoAndChannel
You know what
I did something different, though added a race condition
Basically, the
content.ts
calls scripts from functions.ts
anyway, and I store in functions.ts
global variables, one of which is channelId
So I can just return it as it updates automatically
Even
doesn't work
@louis Any idea what to do?
I believe I solved the issue by manually reloading