Skip to content

Commit 99b6b2a

Browse files
committed
新增 [调整描述(话说)编辑框初始大小] 对新建文件夹、文件添加描述的支持
1 parent e37881b commit 99b6b2a

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

Lanzou-Enhanced.user.js

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// ==UserScript==
22
// @name 蓝奏云网盘增强
3-
// @version 1.1.3
3+
// @version 1.1.4
44
// @author X.I.U
5-
// @description 刷新不返回根目录、右键文件显示菜单、自动显示更多文件、自动打开分享链接、自动复制分享链接、调整话说编辑框初始大小
5+
// @description 刷新不返回根目录、右键文件显示菜单、自动显示更多文件、自动打开分享链接、自动复制分享链接、调整描述(话说)编辑框初始大小
66
// @match *://*.lanzous.com/*
77
// @match *://*.lanzoux.com/*
88
// @match *://*.lanzoui.com/*
@@ -201,6 +201,14 @@
201201
if(folderdescdes){ // 判断话说(描述)元素是否存在
202202
folderdescdes.style.cssText="margin: 15px 0px; width: 666px; height: 150px;"
203203
}
204+
let folderdescdes2 = mainframe.document.getElementById("fol_credes"); // 寻找话说(描述)编辑框
205+
if(folderdescdes2){ // 判断话说(描述)元素是否存在
206+
folderdescdes2.style.cssText="margin: 15px 0px; width: 666px; height: 150px;"
207+
}
208+
let folderdescdes3 = mainframe.document.getElementById("file_desc"); // 寻找话说(描述)编辑框
209+
if(folderdescdes3){ // 判断话说(描述)元素是否存在
210+
folderdescdes3.style.cssText="margin: 15px 0px; width: 666px; height: 150px;"
211+
}
204212
}
205213

206214

0 commit comments

Comments
 (0)