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 });
});


This is not working. Do I have to override any action in manifest ?
Was this page helpful?