Extensão do Chrome Catch atinger
// manifest.Json
"commands": {
"push-to-talk": {
"suggested_key": {
"default": "Ctrl+Shift+1"
},
"description": "Activate push-to-talk",
"global": true
}
},
// Background:
chrome.commands.onCommand.addListener(function(command) {
if(command == "push-to-talk"){
// Do whatever you want, e.g. bring focus to browser,
// pass commands to page with content scripts etc.
}
});
Old-fashioned Ocelot