更新 'jumpserver/luna.user.js'
This commit is contained in:
parent
9768b79385
commit
e4c11143aa
@ -1,7 +1,7 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name LUNA辅助扩展
|
// @name LUNA辅助扩展
|
||||||
// @namespace https://miaowoo.cc/
|
// @namespace https://miaowoo.cc/
|
||||||
// @version 0.1
|
// @version 0.1.1
|
||||||
// @description Jumpserver Web终端 扩展
|
// @description Jumpserver Web终端 扩展
|
||||||
// @author MiaoWoo
|
// @author MiaoWoo
|
||||||
// @match https://jump.miaowoo.cc/luna/*
|
// @match https://jump.miaowoo.cc/luna/*
|
||||||
@ -10,12 +10,14 @@
|
|||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
'use strict';
|
'use strict';
|
||||||
|
var version = document.querySelector('.footer-version')
|
||||||
|
version.innerHTML = version.innerHTML.replace('Version', '')
|
||||||
document.querySelector('.left-side').style.maxWidth = '10.5%'
|
document.querySelector('.left-side').style.maxWidth = '10.5%'
|
||||||
document.querySelector('.content').style.maxWidth = '89.5%'
|
document.querySelector('.content').style.maxWidth = '89.5%'
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
document.querySelector('#assetsTree_4_switch').click()
|
document.querySelector('#assetsTree_4_switch').click()
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
document.querySelector('#assetsTree_6_switch').click()
|
document.querySelector('#assetsTree_6_switch').click()
|
||||||
}, 500)
|
}, 300)
|
||||||
}, 500)
|
}, 300)
|
||||||
})();
|
})();
|
Loading…
Reference in New Issue
Block a user