I was wondering how you would access the default context menu item for your chrome extension (which is greyed out in my case) which I want to use to redirect to my chrome:extension page onclick.
background.js
chrome.contextMenus.onClicked.addListener((info, tab) => {
if (info.menuItemId === 'MONEN') {
console.log('My context menu item was clicked!');
}
});
manifest.json
...
"background": {
"service_worker": "background.js"
}, ...