fix: 修复未检测Alt的问题
This commit is contained in:
parent
eeee574233
commit
a6b868be71
@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name WebIDE增强脚本
|
||||
// @namespace http://ide.yumc.pw/
|
||||
// @version 0.7
|
||||
// @version 0.8
|
||||
// @description Coding WebIDE 增强脚本
|
||||
// @author MiaoWoo
|
||||
// @match http*://ide.yumc.pw/ws/*
|
||||
@ -64,6 +64,7 @@
|
||||
}
|
||||
document.onkeydown = function() {
|
||||
var e = window.event;
|
||||
if (!e.altKey) { return; }
|
||||
switch (e.keyCode) {
|
||||
case 87:
|
||||
// Alt + W 关闭Tab标签页
|
||||
|
Loading…
Reference in New Issue
Block a user