Closed QC2168 closed 7 months ago
6.0.1
// background chrome.action.onClicked.addListener((tab) => { sendMessage('openDrawer',null,'content-script') }) // content-script onMessage('openDrawer',()=>{ isOpen.value = !isOpen.value })
But, I obtain the error
Uncaught (in promise) TypeError: When sending messages from background page, use @tabId syntax to target specific tab
I want content-script to pick up the signal normally
No response
I want to notify content-script when I click the plug-in icon
Version
6.0.1
Current Behavior
But, I obtain the error
Expected Behavior
I want content-script to pick up the signal normally
Steps To Reproduce
Anything else?
No response