diff --git a/jumpserver/luna.user.js b/jumpserver/luna.user.js index ab1597c..88b08fa 100644 --- a/jumpserver/luna.user.js +++ b/jumpserver/luna.user.js @@ -1,7 +1,7 @@ // ==UserScript== // @name LUNA辅助扩展 // @namespace https://miaowoo.cc/ -// @version 0.1.6 +// @version 0.1.7 // @description Jumpserver Web终端 扩展 // @author MiaoWoo // @match https://jump.miaowoo.cc/luna/* @@ -22,10 +22,12 @@ var content = document.querySelector('.content') content.style.maxWidth = '88.5%' content.style.flex = '0 0 calc(88.5% - 0px)' + document.getElementById('batchCommandDiv').remove() + document.getElementById('winContainer').style.height = "calc(100% - 30px)" } window.onresize = adjust adjust() - for (const element of ['#myAssets_3_span', '#myAssets_5_span', '#myAssets_7_span', '#myAssets_10_span']) { + for (const element of ['#assetsTree_2_span', '#assetsTree_4_span', '#assetsTree_6_span', '#assetsTree_9_span']) { let target = undefined while ((target = document.querySelector(element)) == undefined) { await sleep(50)