kenster
PD🧩 Plasmo Developers
•Created by kenster on 11/18/2024 in #👾extension
Side panel and CSUI interactions
I'm trying to trigger open/close the side panel from content script UI where I have a button rendered on top of the webpage. Clicking on it means to toggle the side panel. I tried calling
chrome.sidePanel.open()
from my content script but it didn't work. Then I tried to do it via sending it to background script and calling chrome.sidePanel.open()
from there - didn't work as well. I assume there was some misconfiguration or an error that I overlooked? It was throwing an error:
But I managed to fix something that stopped this error from appearing ever again - still didn't work. Any thoughts?2 replies