💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
~~~ // 监听键盘 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/" } ~~~