Not grokking message passing
I'm trying to click a button in a popup and get the current url of the active tab. I can get a content.ts that does this onload, but I'm unsure how to use plasmo to do this onclick of a popup button.
I've not slept so I've probably missed something but putting "relay" in my content.ts and passing "sendviarelay" didn't work.
2 Replies