ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
~~~ // 监听键盘 window.addEventListener('keydown', function(e) { if ( // CMD + Alt + I (Chrome, Firefox, Safari) e.metaKey == true && e.altKey == true && e.keyCode == 73 || // CMD + Alt + J (Chrome) e.metaKey == true && e.altKey == true && e.keyCode == 74 || // CMD + Alt + C (Chrome) e.metaKey == true && e.altKey == true && e.keyCode == 67 || // CMD + Shift + C (Chrome) e.metaKey == true && e.shiftKey == true && e.keyCode == 67 || // Ctrl + Shift + I (Chrome, Firefox, Safari, Edge) e.ctrlKey == true && e.shiftKey == true && e.keyCode == 73 || // Ctrl + Shift + J (Chrome, Edge) e.ctrlKey == true && e.shiftKey == true && e.keyCode == 74 || // Ctrl + Shift + C (Chrome, Edge) e.ctrlKey == true && e.shiftKey == true && e.keyCode == 67 || // F12 (Chome, Firefox, Edge) e.keyCode == 123 || // CMD + Alt + U, Ctrl + U (View source: Chrome, Firefox, Safari, Edge) e.metaKey == true && e.altKey == true && e.keyCode == 85 || e.ctrlKey == true && e.keyCode == 85 ) { gotoHome(); } }); // 跳转到首页 function gotoHome() { window.location.href = "/home/" } ~~~