MCPcopy Create free account
hub / github.com/XIU2/UserScript / fileMore

Function fileMore

Lanzou-Enhanced.user.js:296–303  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

294
295 // 自动显示更多文件(后台页)
296 function fileMore() {
297 let filemore = mainframe.document.getElementById('filemore'); // 寻找 [显示更多文件] 按钮
298 if (filemore && filemore.style.display === 'block') { // 判断按钮是否存在且可见
299 if (filemore.children[0]) { // 判断按钮元素下第一个元素是否存在
300 filemore.children[0].click(); // 点击 [显示更多文件] 按钮
301 }
302 }
303 }
304
305
306 // 自动显示更多文件(分享链接列表页)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected