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