更新 'jumpserver/luna.user.js'
This commit is contained in:
parent
50b3df8c5a
commit
51f382891b
@ -1,7 +1,7 @@
|
||||
// ==UserScript==
|
||||
// @name LUNA辅助扩展
|
||||
// @namespace https://miaowoo.cc/
|
||||
// @version 0.1.7
|
||||
// @version 0.1.8
|
||||
// @description Jumpserver Web终端 扩展
|
||||
// @author MiaoWoo
|
||||
// @match https://jump.miaowoo.cc/luna/*
|
||||
@ -27,7 +27,7 @@
|
||||
}
|
||||
window.onresize = adjust
|
||||
adjust()
|
||||
for (const element of ['#assetsTree_2_span', '#assetsTree_4_span', '#assetsTree_6_span', '#assetsTree_9_span']) {
|
||||
for (const element of ['#assetsTree_2_span', '#assetsTree_4_span', '#assetsTree_5_span', '#assetsTree_7_span']) {
|
||||
let target = undefined
|
||||
while ((target = document.querySelector(element)) == undefined) {
|
||||
await sleep(50)
|
||||
|
Loading…
Reference in New Issue
Block a user