MlgChloe
PD🧩 Plasmo Developers
•Created by MlgChloe on 3/4/2024 in #👾extension
How can I open the side panel programmatically?
I am interested in opening the side panel programmatically by messaging the background script from the content script. However, I am not seeing any documentation on how to do that through Plasmo. I see the Chrome API has
chrome.sidePanel.open({ windowId: tab.windowId });
(https://developer.chrome.com/docs/extensions/reference/api/sidePanel#user-interaction) however, this doesn't work which I am guessing because Plasmo handles the extension.
Any help is appreciated! :)2 replies