更新 'WebIDE/enhance.user.js'
This commit is contained in:
parent
85c547b56a
commit
eeee574233
@ -1,11 +1,11 @@
|
||||
// ==UserScript==
|
||||
// @name WebIDE增强脚本
|
||||
// @namespace http://ide.yumc.pw/
|
||||
// @version 0.6
|
||||
// @version 0.7
|
||||
// @description Coding WebIDE 增强脚本
|
||||
// @author MiaoWoo
|
||||
// @match http*://ide.yumc.pw/ws/*
|
||||
// @match http*://ide.coding.net/ws/*
|
||||
// @match http*://*.coding.net/ws/*
|
||||
// @grant none
|
||||
// ==/UserScript==
|
||||
|
||||
@ -68,7 +68,7 @@
|
||||
case 87:
|
||||
// Alt + W 关闭Tab标签页
|
||||
var activeTab = document.getElementsByClassName('tab-label active')[0];
|
||||
if (activeTab) {
|
||||
if (activeTab && activeTab.childNodes[2]) {
|
||||
activeTab.childNodes[2].childNodes[0].click();
|
||||
}
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user