Vons / sdk /typescript /extension /background.mjs
haebom's picture
Update v1.1 publications and Vons branding
a76a881 verified
Raw History Blame Contribute Delete
286 Bytes
// The side panel owns inference; this worker never reads or modifies a page.
const configurePanel = () => chrome.sidePanel.setPanelBehavior({ openPanelOnActionClick: true });
chrome.runtime.onInstalled.addListener(configurePanel);
chrome.runtime.onStartup.addListener(configurePanel);