function common2_onkeydown(f){var d=f.keyCode;var c=typeof f.modifiers=="undefined"?f.ctrlKey:f.modifiers&Event.CONTROL_MASK;var b=typeof f.modifiers=="undefined"?f.altKey:f.modifiers&Event.ALT_MASK;var a=typeof f.modifiers=="undefined"?f.shiftKey:f.modifiers&Event.SHIFT_MASK;chrome.extension.sendRequest({type:"checkkeypress",code:d,press_ctrl:c,press_alt:b,press_shift:a},function(e){})}document.addEventListener("keydown",common2_onkeydown);