From 0a42eebebff93ecf0463884aa9b8706857668c44 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Fri, 1 Jul 2022 01:49:57 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'jumpserver/luna.user.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jumpserver/luna.user.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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)