Renasue
Renasue
PD🧩 Plasmo Developers
Created by Renasue on 3/28/2025 in #🔰newbie
Best way to send a message from popup to content and get a response in Plasmo?
Hi everyone, I'm working on a Plasmo extension and trying to send a message from the popup to the content script and receive a response back in the popup. I read that one approach is to use storage as an intermediary—where the content script updates the storage and the popup listens for changes. However, since storage has limitations, I'd like to explore other options. Would chrome.runtime.sendMessage or chrome.tabs.sendMessage be a better approach for direct communication? Or is there another recommended method in Plasmo for handling this? Thanks in advance!
5 replies