Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
RHGPT
Posts
Comments
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