File size: 286 Bytes
a76a881
 
 
 
1
2
3
4
5
// 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);