Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

210
Views
Chrome Command API is not working for Google Chrome Extension

In my manifest.json I am trying to open a new tab when I press "CTRL+SHIFT+Z" but the background.js file does not even log the event.

"toggle-feature-foo":{
  "suggested_key":{
    "default": "Ctrl+Shift+Z"
  },
  "description": "Toggle feature foo",
  "global": true
}

I have a listener in my background.js but nothing logs in my background.js console.

chrome.commands.onCommand.addListener((command) => {
  console.log("HELLO");
  console.log(`Command: ${command}`);
});

I am following the API documentation from google: https://developer.chrome.com/docs/extensions/reference/commands/

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!