更新 'jumpserver/luna.user.js'
This commit is contained in:
parent
aea85dd6b1
commit
c400b9613a
@ -1,29 +1,33 @@
|
||||
// ==UserScript==
|
||||
// @name LUNA辅助扩展
|
||||
// @namespace https://miaowoo.cc/
|
||||
// @version 0.1.2
|
||||
// @version 0.1.3
|
||||
// @description Jumpserver Web终端 扩展
|
||||
// @author MiaoWoo
|
||||
// @match https://jump.miaowoo.cc/luna/*
|
||||
// @grant none
|
||||
// ==/UserScript==
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
(function () {
|
||||
'use strict'
|
||||
var version = document.querySelector('.footer-version')
|
||||
version.innerHTML = version.innerHTML.replace('Version', '')
|
||||
function adjust() {
|
||||
document.querySelector('.left-side').style.maxWidth = '11.5%'
|
||||
document.querySelector('.content').style.maxWidth = '88.5%'
|
||||
setTimeout(function(){
|
||||
}
|
||||
window.onresize = adjust
|
||||
setTimeout(function () {
|
||||
document.querySelector('#myAssets_3_span').click()
|
||||
setTimeout(function(){
|
||||
setTimeout(function () {
|
||||
document.querySelector('#myAssets_4_span').click()
|
||||
setTimeout(function(){
|
||||
setTimeout(function () {
|
||||
document.querySelector('#myAssets_6_span').click()
|
||||
setTimeout(function(){
|
||||
setTimeout(function () {
|
||||
document.querySelector('#myAssets_12_span').click()
|
||||
}, 300)
|
||||
}, 300)
|
||||
}, 300)
|
||||
}, 300)
|
||||
})();
|
||||
adjust()
|
||||
})()
|
||||
|
Loading…
Reference in New Issue
Block a user