处理浏览器后退:
window.history.go(1);
监听组合键:
if(event.ctrlKey && event.which == 81) { // Ctrl+Q
window.history.go(-1);
}
注:event.ctrlKey--Ctrl键 event.which == 81 --Q键
event.shiftKey Shift组合键
event.altKey Alt组合键