RHGPT
RHGPT
PD🧩 Plasmo Developers
Created by RHGPT on 6/11/2024 in #👟framework
How can I override the extension action behaviour to show a CSUI instead.
background.ts
chrome.action.onClicked.addListener((tab) => {
chrome.sidePanel.open({ windowId: tab.windowId });
});
chrome.action.onClicked.addListener((tab) => {
chrome.sidePanel.open({ windowId: tab.windowId });
});
This is not working. Do I have to override any action in manifest ?
2 replies