I\'ve loaded this sample extension from Chrome docs which uses the commands API.
manifest.json
{
\"name\": \"Sample Extension Commands extension\",
\"d
I was running into the same issue and these suggestions didn't help. Here's what I figured out: since you declared the script with the listener in the background: {}
section, it logs to a background page. You can see that log specifically by clicking "Inspect background page" right below the extension at the chrome://extensions
. that's where the listener logs to.
Commenter rsanchez provides the correct answer:
Are you working with an unpacked extension? You need to remove and re-add the extension for suggested shorcut keys to be considered.