src/browser/background/commands.js
chrome.commands.onCommand.addListener(function (command) {
(pages || []).forEach(page => {
page.postMessage({method: command, args: []});
});
});
chrome.commands.onCommand.addListener(function (command) {
(pages || []).forEach(page => {
page.postMessage({method: command, args: []});
});
});