添加 'jumpserver/luna.user.js'
This commit is contained in:
parent
8cabf1b74c
commit
334c1e981a
21
jumpserver/luna.user.js
Normal file
21
jumpserver/luna.user.js
Normal file
@ -0,0 +1,21 @@
|
||||
// ==UserScript==
|
||||
// @name LUNA辅助扩展
|
||||
// @namespace https://miaowoo.cc/
|
||||
// @version 0.1
|
||||
// @description Jumpserver Web终端 扩展
|
||||
// @author MiaoWoo
|
||||
// @match https://jump.miaowoo.cc/luna/*
|
||||
// @grant none
|
||||
// ==/UserScript==
|
||||
|
||||
(function() {
|
||||
'use strict';
|
||||
document.querySelector('.left-side').style.maxWidth = '10.5%'
|
||||
document.querySelector('.content').style.maxWidth = '89.5%'
|
||||
setTimeout(function(){
|
||||
document.querySelector('#assetsTree_4_switch').click()
|
||||
setTimeout(function(){
|
||||
document.querySelector('#assetsTree_6_switch').click()
|
||||
}, 500)
|
||||
}, 500)
|
||||
})();
|
Loading…
Reference in New Issue
Block a user